SlideShare a Scribd company logo
Infinispan
    Manik Surtani
    Founder and project lead, Infinispan
    Red Hat, Inc.




1      INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Agenda

    Cloud computing and data grids
    And why you should care
    Introducing Infinispan
    And its relationship to JBoss Cache
    The path ahead for Infinispan
    Featureset and roadmap




2          INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Clouds are here, clouds are now.

    And will become mainstream
       Whether public or private
       Except for niche deployments
    Why?
       Cost: Piecemeal pricing, economies of scale, TCO
       Manageability: Fast provisioning, implicit backups
       Cope with load
           Elasticity – scale out, scale back in again
           Lack of single point of failure



3          INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Why now? The perfect storm.

    Enablers (technical):
       Mature virtualization
       Fast and cheap bandwidth
    Drivers (financial):
       Current state of world
        economies?




4          INFINISPAN | Manik Surtani | twitter.com/maniksurtani
So why should I care?

    The platform I use will still be
    relevant
       Java, Java EE
       Python, Ruby, .NET
       … Whatever!
    The OS I use will still be relevant
       Linux
       Solaris
       ...



5            INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Databases on the cloud

    Databases and clouds don't like each other
       Traditional mechanisms of data storage won't work
       Clouds are inherently stateless and ephemeral
    Scalability is crucial
       Databases still are bottlenecks
    Clouds need to be self-healing
       Databases are single points of failure




6          INFINISPAN | Manik Surtani | twitter.com/maniksurtani
How do people deal with this?

    Hacks to get databases on the cloud
       E.g., MySQL on EC2
          EBS? S3? Snapshots for backups?
       Amazon RDS
       FathomDB




7         INFINISPAN | Manik Surtani | twitter.com/maniksurtani
How do people deal with this?

    Data grid solutions
       Amazon SimpleDB
       Infinispan
       … many other commercial and OSS offerings
    NoSQL solutions
       Google DataStore service
       MongoDB, CouchDB
       … etc.




8         INFINISPAN | Manik Surtani | twitter.com/maniksurtani
In-memory Data Grids = Speed!

    Low latency
       Accessing memory orders of magnitude faster than disk
        seek
    Far greater concurrency
       Memory handles concurrent hardware threads better than
        disk access




9         INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Introducing Infinispan




10   INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Infinispan and JBoss Cache

 Scalable data grid platform
 open source - LGPL
 Based on some JBoss Cache code ... but mostly all-new
 JBoss Cache ...
 ... is a clustered caching library
 ... exposes a tree-structured API
 Infinispan...
 ... is a data grid platform
     ... has a Map-like API - compatible with JSR-107


11       INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Infinispan != JBoss Cache 4

 New Architecture
 Internal data container design completely different
 Cutting edge algorithms
 New APIs
 APIs completely different
 Not backward-compatible
 Although an code-level compatibility layer is available
 New Expectations
 Designed for a wider scope of purpose



12       INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Greater scalability

 Internal structures more memory efficient
 Data organized in Map-like structures
 As opposed to a tree
 Making better use of CAS
 minimizing synchronized blocks, mutexes
 optimized for multicore
 Containers are naturally ordered
 makes eviction much more efficient
 Uses JBoss Marshalling
 smaller payloads + poolable streams = faster remote calls

13      INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Borrowed from JBoss Cache

 JTA transactions
 Replicated data structure
 Eviction, cache persistence
 Notifications and eventing API
 JMX reporting
 MVCC locking
 Non-blocking state transfer techniques
 Querying and indexing


14     INFINISPAN | Manik Surtani | twitter.com/maniksurtani
New in Infinispan

 Consistent hash based data distribution
 Much simpler Map API (JSR-107 compliant)‫‏‬
 JPA-like API
 Client/server module
 memcached compatibility
 HotRod - binary protocol to support “smart clients”
 REST API
 REST-* caching spec effort




15      INFINISPAN | Manik Surtani | twitter.com/maniksurtani
New in Infinispan

 Ability to be consumed by non-JVM platforms
 JOPR based GUI management console
 Distributed execution
 Map/reduce programming model made easy!
 Familiar, standard fork/join API




16       INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Why is Infinispan sexy?

 1. Transparent horizontal scalability
 Elastic in both directions
 2. Fast, low latency data access
 3. Ability to address a very large heap
 4. Cloud-ready datastore
 5. Not just for Java
 6. Active, welcoming and democratic developer
   community
 7. Free and doesn't suck!

17       INFINISPAN | Manik Surtani | twitter.com/maniksurtani
To sum things up...

 Clouds are becoming mainstream
 Developers need to think about challenges involved
 DBs and clouds pose many challenges
 Data grids offer a good alternative
 Infinispan, a new open source data grid
 Viable cloud data store
 Not just for clouds: remove bottlenecks and single points
   of failure in non-cloud environments too




18      INFINISPAN | Manik Surtani | twitter.com/maniksurtani
How can you participate?

 Download and try it out!
 Report bugs in code, even docs, wikis, etc.
 Suggest new features!
 Test with your own use cases
 We love to hear how people use our stuff!!
 Lend a hand with development
 Open and democratic dev process
 Helps prioritize features you want!




19       INFINISPAN | Manik Surtani | twitter.com/maniksurtani
Questions?

 http://www.infinispan.org
 http://blog.infinispan.org
 http://twitter.com/infinispan - #infinispan
 IRC #infinispan on FreeNode




20      INFINISPAN | Manik Surtani | twitter.com/maniksurtani

More Related Content

PDF
Infinispan Data Grid Platform
PDF
Introducing Infinispan
PDF
Infinispan - Distribuição de Dados com Java
PDF
Infinispan,Lucene,Hibername OGM
PDF
Infinispan – the open source data grid platform by Mircea Markus
PDF
What's New in Infinispan 6.0
PDF
Why RESTful Design for the Cloud is Best
PDF
London JBUG April 2015 - Performance Tuning Apps with WildFly Application Server
Infinispan Data Grid Platform
Introducing Infinispan
Infinispan - Distribuição de Dados com Java
Infinispan,Lucene,Hibername OGM
Infinispan – the open source data grid platform by Mircea Markus
What's New in Infinispan 6.0
Why RESTful Design for the Cloud is Best
London JBUG April 2015 - Performance Tuning Apps with WildFly Application Server

Similar to Infinispan (20)

PDF
PDF
Hacking Infinispan: the new open source data grid meets NoSQL
KEY
Infinspan: In-memory data grid meets NoSQL
PDF
Infinispan - Galder Zamarreno - October 2010
KEY
Infinispan, Data Grids, NoSQL, Cloud Storage and JSR 347
PPTX
The Big Data Stack
PDF
Redis vs Infinispan | DevNation Tech Talk
PPTX
JasperWorld 2012: Reinventing Data Management by Max Schireson
PPTX
Software architecture for data applications
PDF
Big Data Architecture Workshop - Vahid Amiri
PDF
SQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, Egypt
PPTX
Trivento summercamp masterclass 9/9/2016
PDF
Using JPA applications in the era of NoSQL: Introducing Hibernate OGM
PDF
TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...
PDF
Brian Oliver Pimp My Data Grid
PDF
Outside The Box With Apache Cassnadra
PPTX
Big Data_Architecture.pptx
PDF
Architecting Applications With Multiple Open Source Big Data Technologies
KEY
What ya gonna do?
 
PDF
A General Purpose Extensible Scanning Query Architecture for Ad Hoc Analytics
Hacking Infinispan: the new open source data grid meets NoSQL
Infinspan: In-memory data grid meets NoSQL
Infinispan - Galder Zamarreno - October 2010
Infinispan, Data Grids, NoSQL, Cloud Storage and JSR 347
The Big Data Stack
Redis vs Infinispan | DevNation Tech Talk
JasperWorld 2012: Reinventing Data Management by Max Schireson
Software architecture for data applications
Big Data Architecture Workshop - Vahid Amiri
SQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, Egypt
Trivento summercamp masterclass 9/9/2016
Using JPA applications in the era of NoSQL: Introducing Hibernate OGM
TDC2017 | São Paulo - Trilha Java EE How we figured out we had a SRE team at ...
Brian Oliver Pimp My Data Grid
Outside The Box With Apache Cassnadra
Big Data_Architecture.pptx
Architecting Applications With Multiple Open Source Big Data Technologies
What ya gonna do?
 
A General Purpose Extensible Scanning Query Architecture for Ad Hoc Analytics
Ad

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Cloud computing and distributed systems.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Big Data Technologies - Introduction.pptx
PPT
Teaching material agriculture food technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
A Presentation on Artificial Intelligence
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Chapter 3 Spatial Domain Image Processing.pdf
Cloud computing and distributed systems.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Machine learning based COVID-19 study performance prediction
Big Data Technologies - Introduction.pptx
Teaching material agriculture food technology
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
NewMind AI Monthly Chronicles - July 2025
Understanding_Digital_Forensics_Presentation.pptx
Review of recent advances in non-invasive hemoglobin estimation
A Presentation on Artificial Intelligence
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Ad

Infinispan

  • 1. Infinispan Manik Surtani Founder and project lead, Infinispan Red Hat, Inc. 1 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 2. Agenda Cloud computing and data grids And why you should care Introducing Infinispan And its relationship to JBoss Cache The path ahead for Infinispan Featureset and roadmap 2 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 3. Clouds are here, clouds are now. And will become mainstream Whether public or private Except for niche deployments Why? Cost: Piecemeal pricing, economies of scale, TCO Manageability: Fast provisioning, implicit backups Cope with load Elasticity – scale out, scale back in again Lack of single point of failure 3 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 4. Why now? The perfect storm. Enablers (technical): Mature virtualization Fast and cheap bandwidth Drivers (financial): Current state of world economies? 4 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 5. So why should I care? The platform I use will still be relevant Java, Java EE Python, Ruby, .NET … Whatever! The OS I use will still be relevant Linux Solaris ... 5 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 6. Databases on the cloud Databases and clouds don't like each other Traditional mechanisms of data storage won't work Clouds are inherently stateless and ephemeral Scalability is crucial Databases still are bottlenecks Clouds need to be self-healing Databases are single points of failure 6 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 7. How do people deal with this? Hacks to get databases on the cloud E.g., MySQL on EC2 EBS? S3? Snapshots for backups? Amazon RDS FathomDB 7 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 8. How do people deal with this? Data grid solutions Amazon SimpleDB Infinispan … many other commercial and OSS offerings NoSQL solutions Google DataStore service MongoDB, CouchDB … etc. 8 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 9. In-memory Data Grids = Speed! Low latency Accessing memory orders of magnitude faster than disk seek Far greater concurrency Memory handles concurrent hardware threads better than disk access 9 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 10. Introducing Infinispan 10 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 11. Infinispan and JBoss Cache Scalable data grid platform open source - LGPL Based on some JBoss Cache code ... but mostly all-new JBoss Cache ... ... is a clustered caching library ... exposes a tree-structured API Infinispan... ... is a data grid platform ... has a Map-like API - compatible with JSR-107 11 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 12. Infinispan != JBoss Cache 4 New Architecture Internal data container design completely different Cutting edge algorithms New APIs APIs completely different Not backward-compatible Although an code-level compatibility layer is available New Expectations Designed for a wider scope of purpose 12 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 13. Greater scalability Internal structures more memory efficient Data organized in Map-like structures As opposed to a tree Making better use of CAS minimizing synchronized blocks, mutexes optimized for multicore Containers are naturally ordered makes eviction much more efficient Uses JBoss Marshalling smaller payloads + poolable streams = faster remote calls 13 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 14. Borrowed from JBoss Cache JTA transactions Replicated data structure Eviction, cache persistence Notifications and eventing API JMX reporting MVCC locking Non-blocking state transfer techniques Querying and indexing 14 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 15. New in Infinispan Consistent hash based data distribution Much simpler Map API (JSR-107 compliant)‫‏‬ JPA-like API Client/server module memcached compatibility HotRod - binary protocol to support “smart clients” REST API REST-* caching spec effort 15 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 16. New in Infinispan Ability to be consumed by non-JVM platforms JOPR based GUI management console Distributed execution Map/reduce programming model made easy! Familiar, standard fork/join API 16 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 17. Why is Infinispan sexy? 1. Transparent horizontal scalability Elastic in both directions 2. Fast, low latency data access 3. Ability to address a very large heap 4. Cloud-ready datastore 5. Not just for Java 6. Active, welcoming and democratic developer community 7. Free and doesn't suck! 17 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 18. To sum things up... Clouds are becoming mainstream Developers need to think about challenges involved DBs and clouds pose many challenges Data grids offer a good alternative Infinispan, a new open source data grid Viable cloud data store Not just for clouds: remove bottlenecks and single points of failure in non-cloud environments too 18 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 19. How can you participate? Download and try it out! Report bugs in code, even docs, wikis, etc. Suggest new features! Test with your own use cases We love to hear how people use our stuff!! Lend a hand with development Open and democratic dev process Helps prioritize features you want! 19 INFINISPAN | Manik Surtani | twitter.com/maniksurtani
  • 20. Questions? http://www.infinispan.org http://blog.infinispan.org http://twitter.com/infinispan - #infinispan IRC #infinispan on FreeNode 20 INFINISPAN | Manik Surtani | twitter.com/maniksurtani