SlideShare a Scribd company logo
Introducing Infinispan




• Mircea Markus
• Senior Software Engineer
• Red Hat, Inc
Mircea Markus



• R&D Engineer, Red Hat Inc.
• Twitter: @mirceamarkus
• Blog: mirceamarkus.blogspot.com
Agenda


• What is Infinispan
• API
• Key features
• Three use cases
• The path ahead
What is Infinispan?


•   Distributed, in memory, data structure
•   Highly available
•   Elastic
•   Open source
Distributed data structure
High availability

• Memory is volatile
• Make redundant copies
  • Total replication (Replication Mode)
  • Partial replication (Distribution Mode)
• Topology changes
  • Node will crash!
  • Re-arrange state
Elasticity
• Expect
  • Node additions
  • Node removals
• Topology changes
  • are totally consistent
  • do not "stop the world"
API

•   Key-value store
•   java.util.concurrent.ConcurrentHashMap
•   JSR-107 compliant
•   CDI support
Key features

•   Transactions
•   Persistence
•   Map/Reduce
•   Querying
Transactions

• JTA transactions support
  • XA or Synchronization based enlistment
  • recovery!
• Local transactions (batching)
• Transactional modes
  • optimistic
  • pessimistic
Persistence/Cache Store

• Used for
  • durability
  • increased storage
  • warm caches
• Various implementations
  • jdbc, bdbje, file, cloud, remote/infinispan, cassandra
• Extensible
Map/Reduce example
Map/Reduce
Map/Reduce
Querying



• What’s in C7?


• Where is the white king?
Querying



• Based on Hibernate Search/Lucene
• Objects in the grid are indexed
  • index management
Use cases


• Local cache
• Cluster of caches
• Autonomous data store
  • access protocols
Local cache
Features of a local cache
•   Eviction
•   Expiry
•   Write through, write behind
•   Preloading
•   Notifications
•   Statistics
Local cache not good enough...
Cluster of caches
Some limitations still

• Client is affected by cache topology changes
• Shared resources
• Tier management
  • incompatible JVM tuning
  • security
  • garbage collection
• Non-JVM clients
Cache servers
Client/Server protocols

• REST
• Memcached
• Hotrod
  • proprietary
  • java, python, ruby
The path ahead
• 5.2
  • transactions performance
  • non-blocking state transfer
  • hotrod enhancements
• 6+
  • X-datacenter replication
  • eventual consistency
  • continuous queries
Thank you!

•   infinispan.blogspot.com
•   @infinispan
•   mirceamarkus.blogspot.com
•   @mirceamarkus

More Related Content

PPTX
Infinispan, a distributed in-memory key/value data grid and cache
PPTX
Oracle OpenWo2014 review part 03 three_paa_s_database
PDF
Things Every Oracle DBA Needs To Know About The Hadoop Ecosystem
PPTX
Overview of some popular distributed databases
PDF
Capacity planning for your data stores
PDF
Best practices for MySQL/MariaDB Server/Percona Server High Availability
PDF
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
PDF
The Complete MariaDB Server tutorial
Infinispan, a distributed in-memory key/value data grid and cache
Oracle OpenWo2014 review part 03 three_paa_s_database
Things Every Oracle DBA Needs To Know About The Hadoop Ecosystem
Overview of some popular distributed databases
Capacity planning for your data stores
Best practices for MySQL/MariaDB Server/Percona Server High Availability
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Complete MariaDB Server tutorial

What's hot (20)

PDF
MariaDB 10: The Complete Tutorial
PDF
Things Every Oracle DBA Needs to Know about the Hadoop Ecosystem
PPT
Scaling MySQL using Fabric
PDF
Exploring Oracle Multitenant in Oracle Database 12c
PPTX
Slash n: Tech Talk Track 2 – Website Architecture-Mistakes & Learnings - Sidd...
PDF
My first moments with MongoDB
PDF
PelletServer: REST and Semantic Technologies
PDF
Why MariaDB?
PDF
MariaDB Server Compatibility with MySQL
PPTX
Geode introduction
PPT
MySQL HA Percona cluster @ MySQL meetup Mumbai
PDF
MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB Meetup
PPTX
High density deployments using weblogic multitenancy
PDF
Best practices for MySQL High Availability Tutorial
PDF
Blackray @ SAPO CodeBits 2009
PDF
Stardog talk-dc-march-17
PDF
MySQL Storage Engines
PDF
Lessons from database failures
PDF
Big data for cio 2015
PDF
Distributions from the view a package
MariaDB 10: The Complete Tutorial
Things Every Oracle DBA Needs to Know about the Hadoop Ecosystem
Scaling MySQL using Fabric
Exploring Oracle Multitenant in Oracle Database 12c
Slash n: Tech Talk Track 2 – Website Architecture-Mistakes & Learnings - Sidd...
My first moments with MongoDB
PelletServer: REST and Semantic Technologies
Why MariaDB?
MariaDB Server Compatibility with MySQL
Geode introduction
MySQL HA Percona cluster @ MySQL meetup Mumbai
MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB Meetup
High density deployments using weblogic multitenancy
Best practices for MySQL High Availability Tutorial
Blackray @ SAPO CodeBits 2009
Stardog talk-dc-march-17
MySQL Storage Engines
Lessons from database failures
Big data for cio 2015
Distributions from the view a package
Ad

Viewers also liked (20)

PDF
Infinispan
PDF
Infinispan Data Grid Platform
PDF
Infinispan - Distribuição de Dados com Java
ODP
JBoss Brings More Power to your Business Processes (PTJUG)
PDF
metrics - performance monitoring or business value optimization?
PDF
MySQL
PDF
An Introduction to Play 2 Framework
PDF
JMockit & Hamcrest
PDF
Apache Camel
PDF
What's Coming in Java EE 8
PDF
Introducing Java 8
ODP
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
PDF
Infinispan – the open source data grid platform by Mircea Markus
PDF
What's New in Infinispan 6.0
PDF
Infinispan,Lucene,Hibername OGM
PDF
Why RESTful Design for the Cloud is Best
PDF
Using JPA applications in the era of NoSQL: Introducing Hibernate OGM
PDF
London JBUG April 2015 - Performance Tuning Apps with WildFly Application Server
PDF
Microservices
PDF
CDI: How do I ?
Infinispan
Infinispan Data Grid Platform
Infinispan - Distribuição de Dados com Java
JBoss Brings More Power to your Business Processes (PTJUG)
metrics - performance monitoring or business value optimization?
MySQL
An Introduction to Play 2 Framework
JMockit & Hamcrest
Apache Camel
What's Coming in Java EE 8
Introducing Java 8
An OpenShift Primer for Developers to get your Code into the Cloud (PTJUG)
Infinispan – the open source data grid platform by Mircea Markus
What's New in Infinispan 6.0
Infinispan,Lucene,Hibername OGM
Why RESTful Design for the Cloud is Best
Using JPA applications in the era of NoSQL: Introducing Hibernate OGM
London JBUG April 2015 - Performance Tuning Apps with WildFly Application Server
Microservices
CDI: How do I ?
Ad

Similar to Introducing Infinispan (20)

KEY
Infinispan, Data Grids, NoSQL, Cloud Storage and JSR 347
PDF
Outside The Box With Apache Cassnadra
PDF
The Cassandra Distributed Database
KEY
Escalando Aplicaciones Web
ODP
Infinispan and Enterprise Data Grid
ODP
Infinispan @ JBUG Milano
PDF
Riak at Posterous
PDF
A memcached implementation in Java
PDF
Voldemort Nosql
PDF
Introducing Hibernate OGM: porting JPA applications to NoSQL, Sanne Grinovero...
KEY
Nosql-columbia-feb2011
PDF
On Rails with Apache Cassandra
DOC
No sql exploration keyvaluestore
PDF
Cassandra Talk: Austin JUG
PPTX
Intro to NoSQL
KEY
Infinspan: In-memory data grid meets NoSQL
PDF
A walk down NOSQL Lane in the cloud
ODP
JBUG.be Infinispan
PDF
Getting to know the Grid - Goto Aarhus 2013
PDF
Infinispan - Galder Zamarreno - October 2010
Infinispan, Data Grids, NoSQL, Cloud Storage and JSR 347
Outside The Box With Apache Cassnadra
The Cassandra Distributed Database
Escalando Aplicaciones Web
Infinispan and Enterprise Data Grid
Infinispan @ JBUG Milano
Riak at Posterous
A memcached implementation in Java
Voldemort Nosql
Introducing Hibernate OGM: porting JPA applications to NoSQL, Sanne Grinovero...
Nosql-columbia-feb2011
On Rails with Apache Cassandra
No sql exploration keyvaluestore
Cassandra Talk: Austin JUG
Intro to NoSQL
Infinspan: In-memory data grid meets NoSQL
A walk down NOSQL Lane in the cloud
JBUG.be Infinispan
Getting to know the Grid - Goto Aarhus 2013
Infinispan - Galder Zamarreno - October 2010

More from PT.JUG (13)

PDF
Overview of Eclipse technologies
PDF
Putting Hypermedia Back in REST with JAX-RS
PDF
Useful Design Patterns for Enterprise Applications with Java
PDF
Flame Graphs, uma (boa) alternativa para profiling de apps Java
PDF
To SOA or not to SOA
PPTX
Introduction to Grails Framework
ODP
Apresentação LifeRay
PPT
Oracle Java Strategy Lg V3
PDF
Scripting na JVM
PDF
The tale of the Fénix architecture
PDF
Lightweight Grids With Terracotta
PDF
Google Web Toolkit
PDF
Developers Java: O que as empresas dizem que precisam mesmo mesmo
Overview of Eclipse technologies
Putting Hypermedia Back in REST with JAX-RS
Useful Design Patterns for Enterprise Applications with Java
Flame Graphs, uma (boa) alternativa para profiling de apps Java
To SOA or not to SOA
Introduction to Grails Framework
Apresentação LifeRay
Oracle Java Strategy Lg V3
Scripting na JVM
The tale of the Fénix architecture
Lightweight Grids With Terracotta
Google Web Toolkit
Developers Java: O que as empresas dizem que precisam mesmo mesmo

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Modernizing your data center with Dell and AMD
PDF
Approach and Philosophy of On baking technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
The AUB Centre for AI in Media Proposal.docx
Empathic Computing: Creating Shared Understanding
Per capita expenditure prediction using model stacking based on satellite ima...
Modernizing your data center with Dell and AMD
Approach and Philosophy of On baking technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
Digital-Transformation-Roadmap-for-Companies.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Dropbox Q2 2025 Financial Results & Investor Presentation
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
NewMind AI Weekly Chronicles - August'25 Week I
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

Introducing Infinispan