SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Galder Zamarreño
 Infinispan Core Developer
      JBoss by Red Hat
JBUG Belgium, 9th July 2009
Who am I?

Core developer for Infinispan and JBoss Cache
Contributor and com itter on JBoss AS,
                   m
 JGroups, Hibernate, JBoss Portal, etc.
Agenda

W is Infinispan?
 hat
Relationship w JBoss Cache
              ith
Newfeatures
Demo
What is Infinispan?

Highly scalable data grid platform
  100% open source licensed (LGPL)
  Based on som JBoss Cache code
              e
JBoss Cache = Tree structured cache
  Replicated using JGroups
  Supports JTA, evictions, cache stores, etc.
NewJSR-107(JCACHE) compatible API
  Cache extends Map
  Tree adapter API available for legacy apps
More scalable than JBoss Cache

Internal structures m m ory efficient
                     ore em
  Tree --> Flat concurrent map
  Eviction queue --> Ordered container
Marshalling based on JBoss Marshalling
  Smaller payloads + Poolable streams
Early benchmarks
  Significant performance improvements
Memory Consumption Comparison

Test: Put 2 million serial objs into cache
JBoss Cache 3.1: W 2gb, 1 m
                  ith      illion objs
Memory Consumption Comparison (2)

Infinispan 4.0.0.Alpha4: W 700m 2 m
                          ith  b,  illion
  objs
...borrowing best bits from JBoss Cache

Multiversion Concurrency Control (MVCC)
  Newlocking strategy in JBoss Cache 3.0
  Readers never locked!
  Writers w on copy of cache entry
           ork
Non-blocking state transfer
  Senders generate state without stopping
  Crucial when state is large
New features - distributed cache

Consistent hash based distribution
  W allowus to scale to bigger clusters
   ill
Lightweight, L1 cache for efficient reads
  On writes, L1 invalidated
Dynam rebalancing
     ic
Pluggable consistent hashing algorithms
Already available in 4.0.0.Alpha5!
New features - asynchronous API

putAsync(), putIfAbsentAsync()
  Do not block, return a j.u.c.Future
  Future.get() blocks till call completes
Best of both sync and async worlds
  Future.get() provides sync guarantees
  Greater parallelism
Already available in 4.0.0.Alpha5!
New features - Eager locking

By default: locks acquired at com it tim
                                 m      e
  Problematic if updating a shared counter
New Acquiring locks eagerly in cluster
   :
  Explicit: via API
     cache.lock(k) // acquire cluster wide lock on k

  Implicit: via configuration
     Each m odification implicitly acquires cluster w lock if not
                                                     ide
      already held.
Already available in 4.0.0.Alpha5!
New features - client/server module

Server module = cache wrapper over TCP
Client module = cache proxy
Highly pluggable!
  Transport: XNIO, Netty, etc.
  Protocols: m cached, custom etc.
              em             ,
Failover and load balancing
Usable w current m cached clients
        ith       em
Drop-in replacem m cached servers
                ent em
New features - fine-grained model

Successor to POJO Cache
JPA-like interface: persist, find, remove...
W not rely on AOP, javassist...etc
 ill
  M robust and easier to use/debug
   ore
New features - Others

Query module
  Execute Lucene queries against cache
  Based on JBoss Cache - Searchable
Distributed executors
  Runnable/Callable executed on data set
  Moves code, not data, around cluster
The End

Demo
Questions?

Weitere ähnliche Inhalte

Was ist angesagt?

OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
ScyllaDB
 

Was ist angesagt? (19)

Parllelizaion
ParllelizaionParllelizaion
Parllelizaion
 
XPDDS17: PVH Dom0: The Road so Far - Roger Pau Monné, Citrix
XPDDS17: PVH Dom0: The Road so Far - Roger Pau Monné, CitrixXPDDS17: PVH Dom0: The Road so Far - Roger Pau Monné, Citrix
XPDDS17: PVH Dom0: The Road so Far - Roger Pau Monné, Citrix
 
RADOS improvements and roadmap - Greg Farnum, Josh Durgin, Kefu Chai
RADOS improvements and roadmap - Greg Farnum, Josh Durgin, Kefu ChaiRADOS improvements and roadmap - Greg Farnum, Josh Durgin, Kefu Chai
RADOS improvements and roadmap - Greg Farnum, Josh Durgin, Kefu Chai
 
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
OSv Unikernel — Optimizing Guest OS to Run Stateless and Serverless Apps in t...
 
XPDDS17: Recent and Ongoing Xen Related Work in the Linux Kernel - Jürgen Gr...
XPDDS17:  Recent and Ongoing Xen Related Work in the Linux Kernel - Jürgen Gr...XPDDS17:  Recent and Ongoing Xen Related Work in the Linux Kernel - Jürgen Gr...
XPDDS17: Recent and Ongoing Xen Related Work in the Linux Kernel - Jürgen Gr...
 
Red Hat Storage Server For AWS
Red Hat Storage Server For AWSRed Hat Storage Server For AWS
Red Hat Storage Server For AWS
 
CephFS Update
CephFS UpdateCephFS Update
CephFS Update
 
XPDDS17: Xen Test Lab: The Installation and Our Plans - Ian Jackson, Citrix
XPDDS17: Xen Test Lab: The Installation and Our Plans - Ian Jackson, CitrixXPDDS17: Xen Test Lab: The Installation and Our Plans - Ian Jackson, Citrix
XPDDS17: Xen Test Lab: The Installation and Our Plans - Ian Jackson, Citrix
 
Cncf meetup kubespray
Cncf meetup kubesprayCncf meetup kubespray
Cncf meetup kubespray
 
Seastore: Next Generation Backing Store for Ceph
Seastore: Next Generation Backing Store for CephSeastore: Next Generation Backing Store for Ceph
Seastore: Next Generation Backing Store for Ceph
 
Troubleshooting XLConnect - OutofMemoryError(java) GC overhead limit exceeded
Troubleshooting XLConnect - OutofMemoryError(java) GC overhead limit exceededTroubleshooting XLConnect - OutofMemoryError(java) GC overhead limit exceeded
Troubleshooting XLConnect - OutofMemoryError(java) GC overhead limit exceeded
 
mogpres
mogpresmogpres
mogpres
 
RabbitMQ in PHP
RabbitMQ in PHPRabbitMQ in PHP
RabbitMQ in PHP
 
Unikraft: Fast, Specialized Unikernels the Easy Way
Unikraft: Fast, Specialized Unikernels the Easy WayUnikraft: Fast, Specialized Unikernels the Easy Way
Unikraft: Fast, Specialized Unikernels the Easy Way
 
Automatic Operation Bot for Ceph - You Ji
Automatic Operation Bot for Ceph - You JiAutomatic Operation Bot for Ceph - You Ji
Automatic Operation Bot for Ceph - You Ji
 
Proxmox for DevOps
Proxmox for DevOpsProxmox for DevOps
Proxmox for DevOps
 
Selecting the right persistent storage options for apps in containers Open So...
Selecting the right persistent storage options for apps in containers Open So...Selecting the right persistent storage options for apps in containers Open So...
Selecting the right persistent storage options for apps in containers Open So...
 
VMworld 2013: Capacity Jail Break: vSphere 5 Space Reclamation Nuts and Bolts
VMworld 2013: Capacity Jail Break: vSphere 5 Space Reclamation Nuts and Bolts VMworld 2013: Capacity Jail Break: vSphere 5 Space Reclamation Nuts and Bolts
VMworld 2013: Capacity Jail Break: vSphere 5 Space Reclamation Nuts and Bolts
 
XPDDS18: NVDIMM Overview - George Dunlap, Citrix
XPDDS18: NVDIMM Overview - George Dunlap, Citrix XPDDS18: NVDIMM Overview - George Dunlap, Citrix
XPDDS18: NVDIMM Overview - George Dunlap, Citrix
 

Andere mochten auch (7)

JBUG.Jbpm.2009
JBUG.Jbpm.2009JBUG.Jbpm.2009
JBUG.Jbpm.2009
 
JBUG.be jBPM4
JBUG.be jBPM4JBUG.be jBPM4
JBUG.be jBPM4
 
Grand Forks Central's Omnibus 2009
Grand Forks Central's Omnibus 2009Grand Forks Central's Omnibus 2009
Grand Forks Central's Omnibus 2009
 
Virtual Assistance Made Easy
Virtual Assistance Made EasyVirtual Assistance Made Easy
Virtual Assistance Made Easy
 
Kris Verlaenen on jBPM5 at JBUG.be
Kris Verlaenen on jBPM5 at JBUG.beKris Verlaenen on jBPM5 at JBUG.be
Kris Verlaenen on jBPM5 at JBUG.be
 
Cultivating Creativity to Cut Competition
Cultivating Creativity to Cut CompetitionCultivating Creativity to Cut Competition
Cultivating Creativity to Cut Competition
 
Kabir Khan on AS6 at JBUG.be
Kabir Khan on AS6 at JBUG.be Kabir Khan on AS6 at JBUG.be
Kabir Khan on AS6 at JBUG.be
 

Ähnlich wie JBUG.be Infinispan

Clustered Architecture Patterns Delivering Scalability And Availability
Clustered Architecture Patterns Delivering Scalability And AvailabilityClustered Architecture Patterns Delivering Scalability And Availability
Clustered Architecture Patterns Delivering Scalability And Availability
ConSanFrancisco123
 
Jug Lugano - Scale over the limits
Jug Lugano - Scale over the limitsJug Lugano - Scale over the limits
Jug Lugano - Scale over the limits
Davide Carnevali
 
Turning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformTurning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platform
OpenStack_Online
 

Ähnlich wie JBUG.be Infinispan (20)

Luxun a Persistent Messaging System Tailored for Big Data Collecting & Analytics
Luxun a Persistent Messaging System Tailored for Big Data Collecting & AnalyticsLuxun a Persistent Messaging System Tailored for Big Data Collecting & Analytics
Luxun a Persistent Messaging System Tailored for Big Data Collecting & Analytics
 
Clustered Architecture Patterns Delivering Scalability And Availability
Clustered Architecture Patterns Delivering Scalability And AvailabilityClustered Architecture Patterns Delivering Scalability And Availability
Clustered Architecture Patterns Delivering Scalability And Availability
 
Heapoff memory wtf
Heapoff memory wtfHeapoff memory wtf
Heapoff memory wtf
 
Docker Chennai Meetup - OpenEBS Overview
Docker Chennai Meetup - OpenEBS OverviewDocker Chennai Meetup - OpenEBS Overview
Docker Chennai Meetup - OpenEBS Overview
 
OpenEBS - Containerized Storage for Containers
OpenEBS  - Containerized Storage for ContainersOpenEBS  - Containerized Storage for Containers
OpenEBS - Containerized Storage for Containers
 
Open vStorage Road show 2015 Q1
Open vStorage Road show 2015 Q1Open vStorage Road show 2015 Q1
Open vStorage Road show 2015 Q1
 
Containerized Storage for Containers- Kubernetes LA Meetup , July 2017
Containerized Storage for Containers- Kubernetes LA Meetup , July 2017Containerized Storage for Containers- Kubernetes LA Meetup , July 2017
Containerized Storage for Containers- Kubernetes LA Meetup , July 2017
 
Ispn
IspnIspn
Ispn
 
Containerized Storage for Containers Meetup #3
Containerized Storage for Containers Meetup #3Containerized Storage for Containers Meetup #3
Containerized Storage for Containers Meetup #3
 
Containerized Storage for Containers - Meetup #3
Containerized Storage for Containers - Meetup #3Containerized Storage for Containers - Meetup #3
Containerized Storage for Containers - Meetup #3
 
인메모리 클러스터링 아키텍처
인메모리 클러스터링 아키텍처인메모리 클러스터링 아키텍처
인메모리 클러스터링 아키텍처
 
"JBoss clustering solutions Mission Critical Enterprise" by Mircea Markus @ e...
"JBoss clustering solutions Mission Critical Enterprise" by Mircea Markus @ e..."JBoss clustering solutions Mission Critical Enterprise" by Mircea Markus @ e...
"JBoss clustering solutions Mission Critical Enterprise" by Mircea Markus @ e...
 
Learning from ZFS to Scale Storage on and under Containers
Learning from ZFS to Scale Storage on and under ContainersLearning from ZFS to Scale Storage on and under Containers
Learning from ZFS to Scale Storage on and under Containers
 
Road show 2015 triangle meetup
Road show 2015 triangle meetupRoad show 2015 triangle meetup
Road show 2015 triangle meetup
 
Jug Lugano - Scale over the limits
Jug Lugano - Scale over the limitsJug Lugano - Scale over the limits
Jug Lugano - Scale over the limits
 
Turning object storage into vm storage
Turning object storage into vm storageTurning object storage into vm storage
Turning object storage into vm storage
 
Containerized Storage for Containers: Why, What and How OpenEBS Works
Containerized Storage for Containers:  Why, What and How OpenEBS WorksContainerized Storage for Containers:  Why, What and How OpenEBS Works
Containerized Storage for Containers: Why, What and How OpenEBS Works
 
Turning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platformTurning OpenStack Swift into a VM storage platform
Turning OpenStack Swift into a VM storage platform
 
Hadoop Vectored IO
Hadoop Vectored IOHadoop Vectored IO
Hadoop Vectored IO
 
Streaming Movies brings you Streamlined Applications -- How Adopting Netflix ...
Streaming Movies brings you Streamlined Applications -- How Adopting Netflix ...Streaming Movies brings you Streamlined Applications -- How Adopting Netflix ...
Streaming Movies brings you Streamlined Applications -- How Adopting Netflix ...
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

JBUG.be Infinispan

  • 1. Galder Zamarreño Infinispan Core Developer JBoss by Red Hat JBUG Belgium, 9th July 2009
  • 2. Who am I? Core developer for Infinispan and JBoss Cache Contributor and com itter on JBoss AS, m JGroups, Hibernate, JBoss Portal, etc.
  • 3. Agenda W is Infinispan? hat Relationship w JBoss Cache ith Newfeatures Demo
  • 4. What is Infinispan? Highly scalable data grid platform 100% open source licensed (LGPL) Based on som JBoss Cache code e JBoss Cache = Tree structured cache Replicated using JGroups Supports JTA, evictions, cache stores, etc. NewJSR-107(JCACHE) compatible API Cache extends Map Tree adapter API available for legacy apps
  • 5. More scalable than JBoss Cache Internal structures m m ory efficient ore em Tree --> Flat concurrent map Eviction queue --> Ordered container Marshalling based on JBoss Marshalling Smaller payloads + Poolable streams Early benchmarks Significant performance improvements
  • 6. Memory Consumption Comparison Test: Put 2 million serial objs into cache JBoss Cache 3.1: W 2gb, 1 m ith illion objs
  • 7. Memory Consumption Comparison (2) Infinispan 4.0.0.Alpha4: W 700m 2 m ith b, illion objs
  • 8. ...borrowing best bits from JBoss Cache Multiversion Concurrency Control (MVCC) Newlocking strategy in JBoss Cache 3.0 Readers never locked! Writers w on copy of cache entry ork Non-blocking state transfer Senders generate state without stopping Crucial when state is large
  • 9. New features - distributed cache Consistent hash based distribution W allowus to scale to bigger clusters ill Lightweight, L1 cache for efficient reads On writes, L1 invalidated Dynam rebalancing ic Pluggable consistent hashing algorithms Already available in 4.0.0.Alpha5!
  • 10. New features - asynchronous API putAsync(), putIfAbsentAsync() Do not block, return a j.u.c.Future Future.get() blocks till call completes Best of both sync and async worlds Future.get() provides sync guarantees Greater parallelism Already available in 4.0.0.Alpha5!
  • 11. New features - Eager locking By default: locks acquired at com it tim m e Problematic if updating a shared counter New Acquiring locks eagerly in cluster : Explicit: via API cache.lock(k) // acquire cluster wide lock on k Implicit: via configuration Each m odification implicitly acquires cluster w lock if not ide already held. Already available in 4.0.0.Alpha5!
  • 12. New features - client/server module Server module = cache wrapper over TCP Client module = cache proxy Highly pluggable! Transport: XNIO, Netty, etc. Protocols: m cached, custom etc. em , Failover and load balancing Usable w current m cached clients ith em Drop-in replacem m cached servers ent em
  • 13. New features - fine-grained model Successor to POJO Cache JPA-like interface: persist, find, remove... W not rely on AOP, javassist...etc ill M robust and easier to use/debug ore
  • 14. New features - Others Query module Execute Lucene queries against cache Based on JBoss Cache - Searchable Distributed executors Runnable/Callable executed on data set Moves code, not data, around cluster