Resin Cache is an implementation of the Memcached protocol and supports all features of Memcached plus the added benefit of elasticity and persistence. Data is replicated and persisted in the Triad hub servers and not limited to RAM storage size but instead the host OS hard disk. Built-in Resin elasticity capability allows for decreased load on the RDBM servers when new Resin Memcached nodes are added as compared to traditional Memcached. Using optimized native access with memory-mapped files, its efficiency is similar to that of OS virtual memory. Proper RAM cache size can yield comparable or even better performance than Memcached daemon.
Memcached is a published wire protocol for high-performance, distributed memory object caching systems. It increases dynamic web applications performance speed by reducing database load.
Resin Cache features:
- Larger cache size – based on host OS disks and not RAM size
- Automatic data persistence
- Triple redundancy backed by Triad servers
- Interface with JCache
- Garbage Collection-less (GC-less) in-memory cache
- Cache dynamically updated in cloud environment
- Memcached wire protocol support
“Resin’s Memcached support is fast, durable and fully elastic, allowing for the addition or removal of nodes as needed without getting extra hits to your database,” said Scott Ferguson, Software Architect at Caucho® Technology. “We also provide a JCache interface, so you can have characteristics of an infinite cache or fine grain controls and configuration of caches, as per JCache (JSR 107, which we track closely). If you use JCache, we have implemented a GC-less in-memory cache; if the item is in this first level cache then the performance can be 1000x faster than going to the memcached tier. This is an easy setup that provides in-memory speeds backed by a memcached tier. What this means is Resin’s Memcached support can function as a drop-in replacement for Memcached solutions and is strongly suitable for cloud deployment,” Ferguson added.