Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Data caching and data grids
Search
Galder Zamarreño
October 03, 2011
Technology
74
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Data caching and data grids
Galder Zamarreño
October 03, 2011
Transcript
57 slides
None
None
Data Grids and Data Caching ! Galder Zamarreño Senior Software
Engineer Red Hat, Inc ! 3rd October 2011, Soft Shake
Galder Zamarreño • R&D Engineer, Red Hat Inc. • Infinispan
developer • 5+ years exp. with distributed data systems • Twitter: @galderz • Blog: zamarreno.com
Agenda • What is Infinispan? • Infinispan as in-memory cache
• Infinispan as in-memory data grid • Data-as-a-Service with Infinispan • Who uses Infinispan?
Introducing
What is Infinispan? An in-memory, highly available, elastic, and open
source (LGPL) data grid platform
Infinispan can be used as...
Local in-memory cache Boost performance caching data which is hard
to calculate or expensive to retrieve
ConcurrentHashMap ? Infinispan provides greater concurrency with MVCC, has built-in
eviction...etc
Local cache example
A local cache might not be enough...
Clustered caches Scale up your application and maintain cache consistency
Consistency in a clustered cache...
Invalidation
Invalidation
Invalidation
Cache-oriented operations...
putForExternalRead() put() putForExternalRead() Use for updating state Use to cache
state read from external source Regular lock acquisition timeout Fail-fast Could throw an exception Fails quietly Could cause existing transaction to fail Will never affect existing transactions
Accessing Infinispan caches
Embedded Access
Infinispan is not just a cache!
In-memory data grid It’s a Fast, Available, Distributed, Elastic data
store, not just a cache!
Invalidation won’t work for data grids!
Data distribution
Replication
Distribution • With number of copies = 2
How is data distributed??
Consistent Hashing
Solving unequal distribution
Virtual Nodes
Accessing Infinispan data grid
Remote Access •Via protocols : •REST •Hot Rod
Hot Rod clients
Infinispan as cloud data store
Traditional 3-tier App
Typical IaaS App
Traditional PaaS App
Where’s your data stored??
Clouds are ephemeral!!
State
Virtualizing Data Some public services exist (i.e. Amazon RDS), but
not all cloud deployments are public!
Build your own Data-as-a-Service!
Characteristics of DaaS Elastic, scalable and highly available!
DaaS with Infinispan
Architecture Manage and Monitor
Who uses Infinispan?
As a cache... Hibernate 2nd level cache, Torquebox Rails cache...
As a temporary store... Http session cache & EJB SFSB
cache, in JBoss AS7
As data grid... Real-time trading app of a well known
stock exchange
What’s next?
Towards EDG Solidifying Infinispan towards integration with Red Hat’s Enterprise
Data Grid
Plus more data grid... Enhancing Hot Rod protocol, Hibernate Object/Grid
Mapper ...etc
Summary Infinispan as fast powerful local cache that can be
clustered!
Summary But also a F.A.D.E. data grid, accessible in embedded
or remote fashion
Summary Build your own Infinispan based Data-as-a-Service in your private
cloud!
Questions infinispan.org - @infinispan ! speakerrate.com/galder ! More on data
grids at 5pm!
More Decks by Galder Zamarreño
See All by Galder Zamarreño
Principles and Patterns for Streaming Data Analysis
galderz
0
150
Streaming Data Analysis with Kubernetes
galderz
0
2.7k
The Rough Guide to Java RPC Frameworks
galderz
1
7.2k
Streaming Data Analysis with Kubernetes
galderz
1
470
Streaming Data Workshop @ Codemotion Madrid
galderz
0
1.5k
Streaming Data : ni pierdas el tren, ni esperes en balde
galderz
0
3.3k
Data grids : descubre qué esconden los datos
galderz
0
3.3k
Streaming Data Workhop @ Devoxx
galderz
0
420
Streaming Data Analysis with Kubernetes
galderz
0
2.2k
Other Decks in Technology
See All in Technology
大江戸Ruby会議でデータベース クライアントの話をするのは 間違っているだろうか
yahonda
1
120
並列度を下げたら速くなった — go build の重複コンパイルを実測で見る
tomoaki25
2
1.2k
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
660
AWSを利用する上で知っておきたい名前解決の話 2026
nagisa53
5
3.4k
SREのためのFinOps入門
muziyoshiz
3
1.4k
The Author Pays
hiccupps
0
170
顧客合意を取りながら進めるAWSコスト削減の実践
optim
0
160
AI Agent 時代のデータ基盤: ClickHouse で実現する 超高速分析とコスト削減の両立
jozono
0
230
[JAWS Festa 2026]一番いい仕事は、請求書に現れない / jawsfesta2026
sh_fk2
2
470
The future of architectural work
ufried
0
200
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
200
Kiro 入門 (1 つのエージェントを、どの画面からでも) | 目指せ Kiro マスター 01
inariku
PRO
6
1.6k
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
The Invisible Side of Design
smashingmag
301
52k
Embracing the Ebb and Flow
colly
88
5.2k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
480
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
Code Review Best Practice
trishagee
74
20k
Making Projects Easy
brettharned
120
6.9k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
330
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k