Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Data caching and data grids
Search
Galder Zamarreño
October 03, 2011
Technology
0
55
Data caching and data grids
Galder Zamarreño
October 03, 2011
Tweet
Share
More Decks by Galder Zamarreño
See All by Galder Zamarreño
Principles and Patterns for Streaming Data Analysis
galderz
0
100
Streaming Data Analysis with Kubernetes
galderz
0
2.5k
The Rough Guide to Java RPC Frameworks
galderz
1
7k
Streaming Data Analysis with Kubernetes
galderz
1
420
Streaming Data Workshop @ Codemotion Madrid
galderz
0
1.4k
Streaming Data : ni pierdas el tren, ni esperes en balde
galderz
0
3k
Data grids : descubre qué esconden los datos
galderz
0
3.1k
Streaming Data Workhop @ Devoxx
galderz
0
370
Streaming Data Analysis with Kubernetes
galderz
0
2.1k
Other Decks in Technology
See All in Technology
AlmaLinux + KVM + Cockpit で始めるお手軽仮想化基盤 ~ 開発環境などでの利用を想定して ~
koedoyoshida
0
110
シニアソフトウェアエンジニアになるためには
kworkdev
PRO
3
180
20251219 OpenIDファウンデーション・ジャパン紹介 / OpenID Foundation Japan Intro
oidfj
0
160
Microsoft Agent 365 についてゆっくりじっくり理解する!
skmkzyk
0
380
re:Invent2025 コンテナ系アップデート振り返り(+CloudWatchログのアップデート紹介)
masukawa
0
390
AI時代の新規LLMプロダクト開発: Findy Insightsを3ヶ月で立ち上げた舞台裏と振り返り
dakuon
0
210
1人1サービス開発しているチームでのClaudeCodeの使い方
noayaoshiro
2
410
AIの長期記憶と短期記憶の違いについてAgentCoreを例に深掘ってみた
yakumo
4
440
NIKKEI Tech Talk #41: セキュア・バイ・デザインからクラウド管理を考える
sekido
PRO
0
160
S3を正しく理解するための内部構造の読解
nrinetcom
PRO
2
170
MariaDB Connector/C のcaching_sha2_passwordプラグインの仕様について
boro1234
0
780
初めてのDatabricks AI/BI Genie
taka_aki
0
210
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Invisible Side of Design
smashingmag
302
51k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Building an army of robots
kneath
306
46k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
4 Signs Your Business is Dying
shpigford
186
22k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
310
Building Adaptive Systems
keathley
44
2.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Transcript
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!