SlideShare a Scribd company logo
Dynacache vs Memcached  - Caching Technologies for Java Applications
Technologies General object cache attributes
Memcached
DistributedMap (part of Dynacache)
General Object Cache Characteristics An object cache is a Key-Value lookup table  Similar to a java.util.Hashtable Have configurable maximum sizes May be configured number of cache entries or memory size
Objects typically discarded on least-recently-used policy when cache is full Some caches may offer other algorithms Have configurable lifetimes per cache entry

More Related Content

PDF
Caching technology comparison
PDF
Nginx caching
PPT
Drupal caching
PDF
Caching your rails application
PDF
Web Performance Part 3 "Server-side tips"
PDF
Next Generation DevOps in Drupal: DrupalCamp London 2014
PDF
Optimising for Performance
ODP
Caching Strategies
Caching technology comparison
Nginx caching
Drupal caching
Caching your rails application
Web Performance Part 3 "Server-side tips"
Next Generation DevOps in Drupal: DrupalCamp London 2014
Optimising for Performance
Caching Strategies

What's hot (19)

PDF
PPTX
OSGifying the repository
PPTX
Monitoring Oracle SOA Suite
PDF
Pulsar - flexible pub-sub for internet scale
PDF
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
PDF
Store
PPT
Efficient Shared Data in Perl
PPTX
Web server architecture
PDF
Apache2 BootCamp : Understanding Apache Internals
PDF
Skalowalna architektura na przykładzie soccerway.com
PDF
Roshan Bhattarai: Scaling WordPress for high traffic sites
PPTX
Scaling wordpress for high traffic
PDF
Azure Redis Cache
PDF
ASP.NET Scalability - DDD7
PDF
Maginatics Cloud Storage Platform
PPTX
D Y N A C A C H E Wxs
PPTX
Repository performance tuning
PPTX
Caching in asp.net mvc
PDF
A PHP library for Ontopia-CMS Integration
OSGifying the repository
Monitoring Oracle SOA Suite
Pulsar - flexible pub-sub for internet scale
"Clouds on the Horizon Get Ready for Drizzle" by David Axmark @ eLiberatica 2009
Store
Efficient Shared Data in Perl
Web server architecture
Apache2 BootCamp : Understanding Apache Internals
Skalowalna architektura na przykładzie soccerway.com
Roshan Bhattarai: Scaling WordPress for high traffic sites
Scaling wordpress for high traffic
Azure Redis Cache
ASP.NET Scalability - DDD7
Maginatics Cloud Storage Platform
D Y N A C A C H E Wxs
Repository performance tuning
Caching in asp.net mvc
A PHP library for Ontopia-CMS Integration
Ad

Viewers also liked (20)

PDF
Scalable, Available and Reliable Cloud Applications with PaaS and Microservices
PDF
Web Sphere Problem Determination Ext
PPTX
D Y N A C A C H E Wxs
PPTX
2012 04-09-v2-tdp-1167-cdi-bestpractices-final
PDF
1812 icap-v1.3 0430
PPTX
Taking the Application Server to Web Scale with Netflix Open Source Software
DOC
Web sphere application server performance tuning workshop
ODP
Caching technology comparison
PDF
Concierge: Bringing OSGi (Back) to Embedded Devices
PDF
A Deep Dive into the Liberty Buildpack on IBM BlueMix
ODP
Debugging Native heap OOM - JavaOne 2013
ODP
Windows Debugging Tools - JavaOne 2013
PPTX
Node Summit 2016: Web App Architectures
PDF
WebSphere Technical University: Top WebSphere Problem Determination Features
PDF
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
PDF
Migrate Heroku & OpenShift Applications to IBM BlueMix
PDF
Liberty dynacache ffw_iea_ste
PDF
Three Key Concepts for Understanding JSR-352: Batch Programming for the Java ...
PDF
O'Reilly Software Architecture Conf: Cloud Economics
PPT
First Failure Data Capture for your enterprise application with WebSphere App...
Scalable, Available and Reliable Cloud Applications with PaaS and Microservices
Web Sphere Problem Determination Ext
D Y N A C A C H E Wxs
2012 04-09-v2-tdp-1167-cdi-bestpractices-final
1812 icap-v1.3 0430
Taking the Application Server to Web Scale with Netflix Open Source Software
Web sphere application server performance tuning workshop
Caching technology comparison
Concierge: Bringing OSGi (Back) to Embedded Devices
A Deep Dive into the Liberty Buildpack on IBM BlueMix
Debugging Native heap OOM - JavaOne 2013
Windows Debugging Tools - JavaOne 2013
Node Summit 2016: Web App Architectures
WebSphere Technical University: Top WebSphere Problem Determination Features
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Migrate Heroku & OpenShift Applications to IBM BlueMix
Liberty dynacache ffw_iea_ste
Three Key Concepts for Understanding JSR-352: Batch Programming for the Java ...
O'Reilly Software Architecture Conf: Cloud Economics
First Failure Data Capture for your enterprise application with WebSphere App...
Ad

Similar to Caching technology comparison (20)

PDF
Caching principles-solutions
PPTX
Memcache
PPTX
Caching On Zos
PPTX
Caching In Java- Best Practises and Pitfalls
PPT
Caching for J2ee Enterprise Applications
PDF
A memcached implementation in Java
PPTX
From cache to in-memory data grid. Introduction to Hazelcast.
PPTX
Jug Lugano - Scale over the limits
PPTX
Cache Tooling
ZIP
All The Little Pieces
PDF
JCache - It's finally here
PDF
JCache (JSR107) - QCon London 2015 & JBCNConf Barcelona 2015
PDF
Caching 101: Caching on the JVM (and beyond)
PPT
Initial deck on WebSphere eXtreme Scale with WebSphere Commerce Server
PDF
Give Your Site a Boost with Memcache
PDF
JSR107 State of the Union JavaOne 2013
PDF
Dynacache in WebSphere Portal Server
KEY
Memcached: What is it and what does it do?
PDF
Mysql wp memcached
PDF
Caching objects-in-memory
Caching principles-solutions
Memcache
Caching On Zos
Caching In Java- Best Practises and Pitfalls
Caching for J2ee Enterprise Applications
A memcached implementation in Java
From cache to in-memory data grid. Introduction to Hazelcast.
Jug Lugano - Scale over the limits
Cache Tooling
All The Little Pieces
JCache - It's finally here
JCache (JSR107) - QCon London 2015 & JBCNConf Barcelona 2015
Caching 101: Caching on the JVM (and beyond)
Initial deck on WebSphere eXtreme Scale with WebSphere Commerce Server
Give Your Site a Boost with Memcache
JSR107 State of the Union JavaOne 2013
Dynacache in WebSphere Portal Server
Memcached: What is it and what does it do?
Mysql wp memcached
Caching objects-in-memory

More from Rohit Kelapure (15)

PDF
API First or Events First: Is it a Binary Choice?
PDF
External should that be a microservice
PDF
Should That Be a Microservice ?
PPTX
Travelers 360 degree health assessment of microservices on the pivotal platform
PDF
SpringOne Platform 2018 Recap in 5 minutes
PPT
Classloader leak detection in websphere application server
PDF
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
PPTX
2012 04-09-v2-tdp-1167-cdi-bestpractices-final
PPT
Performance tuningtoolkitintroduction
PDF
IBM Health Center Details
PPTX
Java EE vs Spring Framework
PPTX
Debugging java deployments_2
PPT
SIBus Tuning for production WebSphere Application Server
PDF
Wsadminlib.wasug.2011 0125-0726
PDF
Contextual Dependency Injection for Apachecon 2010
API First or Events First: Is it a Binary Choice?
External should that be a microservice
Should That Be a Microservice ?
Travelers 360 degree health assessment of microservices on the pivotal platform
SpringOne Platform 2018 Recap in 5 minutes
Classloader leak detection in websphere application server
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
2012 04-09-v2-tdp-1167-cdi-bestpractices-final
Performance tuningtoolkitintroduction
IBM Health Center Details
Java EE vs Spring Framework
Debugging java deployments_2
SIBus Tuning for production WebSphere Application Server
Wsadminlib.wasug.2011 0125-0726
Contextual Dependency Injection for Apachecon 2010

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Electronic commerce courselecture one. Pdf
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation theory and applications.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
cuic standard and advanced reporting.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Spectroscopy.pptx food analysis technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Spectral efficient network and resource selection model in 5G networks
Electronic commerce courselecture one. Pdf
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Unlocking AI with Model Context Protocol (MCP)
Encapsulation theory and applications.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Big Data Technologies - Introduction.pptx
sap open course for s4hana steps from ECC to s4
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
cuic standard and advanced reporting.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
20250228 LYD VKU AI Blended-Learning.pptx
Building Integrated photovoltaic BIPV_UPV.pdf

Caching technology comparison

  • 1. Dynacache vs Memcached - Caching Technologies for Java Applications
  • 2. Technologies General object cache attributes
  • 5. General Object Cache Characteristics An object cache is a Key-Value lookup table Similar to a java.util.Hashtable Have configurable maximum sizes May be configured number of cache entries or memory size
  • 6. Objects typically discarded on least-recently-used policy when cache is full Some caches may offer other algorithms Have configurable lifetimes per cache entry
  • 7. Overview: Memcached “ Free & open source, high-performance, distributed memory object caching system” (from memcached.org)
  • 8. Main components: memcached server – standalone server storing cached items
  • 9. memcached client software Available for multiple programming languages
  • 10. Keys & values must be transmitted over TCP/IP Cluster design: Client uses hashing algorithm to assign keys to servers
  • 11. Each key is cached on at most one server
  • 12. Explicit invalidations go only to the server which should store that key
  • 13. Overview: DistributedMap Built-in component in WAS Network Deployment Only available to Java clients Content is cached in JVM memory Cache operations are POJO calls Multiple cache instances can be created Each is treated separately for synchronization, LRU and invalidation Cluster design: Cache keys may be cached in multiple nodes
  • 14. Explicit invalidation notifies peers to discard the cache key
  • 15. Option available to push entries to peers on cache insert
  • 16. Advantages of Each Technology Dynacache Memory and disk storage for cache with ability to restrict size in terms of # of entries and # of bytes Fast cache operations The key raison d'etre for a cache
  • 17. Lookups through POJO calls - no network delays
  • 18. No serialization/ deserialization of keys and values – lower CPU consumption Mature, well-supported part of WAS Used in Connections, other ICS products
  • 19. “ We know the developers” Priority-based cache algorithm available
  • 20. Variety of tools available for Administering, Monitoring and Configuration integrated with WAS Mbean, Extended Cache Monitor Higher QOS with WebSphere eXtreme scale integration
  • 21. Leverages scalable, resilient and field tested WAS replication & HAManager infrastructure
  • 22. Comprehensive cache metrics available including mbean and PMI statistics
  • 23. Can be plugged in as an OpenJPA L2 cache Memcached Does not consume memory in Java heap This is less important as we move to 64-bit JVMs Single instance of each cache key No peer-to-peer traffic on invalidations Usable in Tomcat, WAS CE, php applications

Editor's Notes

  • #2: Last update: