Professional Documents
Culture Documents
Ted Kirby
WebSphere eXtreme Scale Technical Evangelist
Memory Hierarchy
Data must get to CPU local memory to be processed.
machine machine
20ms
Disk
Over network 2 ms 2 x 10-3 sec 100,000
Net: Put data in memory. Exploit network for capacity and availability.
Cache
Keep a copy of high-use data in a chunk of memory called a cache.
20ms
*On cache miss, put data from disk in cache,
hoping for cache hit next time.
Disk
JVM
JVM Cache
JVM
D, E, F
App App
App App Cache
Server Logic
Server Logic A
machine machine
JVM JVM
Cache Cache
eXtreme Scale data grid
JVM JVM
1,000s
Cache Cache
WAY bigger cache
London Shanghai
3 Use Cases
Platform for building
Form of in-memory database powerful XTP/Data Grid
Manage application state applications
Very powerful cache
Scales from simple in- Scales to 1000’s of servers
process topologies to Sometimes referred to as
powerful distributed Distributed Application
topologies. State Management.
Application Session
– Application uses eXtreme Scale APIs to manipulate the shared session
– Works even when web apps use different domain names
Benefits
• Automatic “drop-in” eXtreme
Challenges
Scale cache without invasive
• Web sites that need better management HTTP Session coding changes
and automatic fail-over of Web sessions – Replication • Higher availability and
usually Commerce or retail-related sites
performance for revenue-
producing applications
Benefits
• Better performance: turbo-charge
Challenges WAS caching layer via eXtreme
• Web applications that use (WAS) Dynamic “Drop-In” extension Scale “Drop-In” cache with no
Cache service and need better for Dynamic Cache coding changes
performance and scalability of their • Better scalability: Entire eXtreme
caching investment
Service Provider Scale grid is now your WAS cache
• More efficient: Single seamless
network cache to store data
Grid ORM
App Grid
Grid
ORM
ORM Oracle
Benefit Summary
Caching
–Improved response time
–Reduced load on DB
Partitioning
–Smashes the scaling barrier
–Allows elasticity for linear scaling, predictable response
times
Next Steps
The Getting Started with WebSphere eXtreme Scale Wiki
http://bit.ly/eXtremeScaleStart -- First page is an annotated bibliography
Download WebSphere eXtreme Scale for free and build a trial app
http://bit.ly/eXtremeScaleTrial