Resin Cache

maintenance

by Caucho Technology · since 2009 · also known as Resin distributed cache, Resin ClusterCache, Resin memcached

Distributed JCache and memcached-compatible key-value cache built into Caucho's Resin Pro app server.

key-valuedatabase engineproprietarylegacy

maintenance. Ships only inside Resin Pro 4.0, which now gets occasional bug-fix releases (4.0.67, November 2024). For new caches use Redis, Valkey or Hazelcast.

Overview

Resin Cache is the clustered caching layer of Caucho Technology's Resin Pro Java application server. Introduced with Resin 4.0 in 2009 as a JCache (JSR-107-style) java.util.Map extension, it replicates or shards entries across the Resin cluster's triad servers, backs HTTP session replication, and since 4.0.24 (2011) also speaks the memcached protocol as both client and server, so it can replace a memcached tier. Tiered configurations put a local in-process cache in front of a shared ClusterCache with read-through loaders and optional persistence. Resin itself is now in maintenance mode: 4.0.67, a bug-fix release, shipped in November 2024, and the cache is only relevant if you already run Resin Pro.

Strengths & trade-offs

Strengths

  • +Built into Resin Pro, so Java apps get clustered caching with no extra servers
  • +memcached-compatible server and client for drop-in replacement
  • +Tiered local plus cluster caching with read-through loaders
  • +Integrated with Resin's session replication

Trade-offs

  • −Only available inside the Resin Pro application server
  • −Resin is in maintenance mode with a shrinking user base
  • −No rich data structures, querying or cross-cluster replication

Great for

  • +Session replication for Java web apps on Resin Pro
  • +Application-level object caching within a Resin cluster
  • +Replacing a memcached tier in an existing Resin deployment

Think twice for

  • −Non-Resin stacks
  • −New caching infrastructure
  • −Durable primary storage

Capabilities

Native or official first-party support · 3 of 25 tracked

✓TTL / expiry
✓In-memory
✓Durable persistence
–Transactions
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–Pub/Sub
–Columnar storage
–Compression
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Small · ≤ 100 GB
Horizontal scaling
Native
Multi-region
No
Transactions
None
Consistency
Eventual
Schema
Schemaless
Architecture
Distributed, In memory
Query languages
JCache API, memcached protocol

Entries are replicated or sharded across the servers of one Resin cluster.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

Ecosystem

compatible withMemcached
apis & protocolsJCache (JSR-107 style) API, memcached text protocol
client languagesJava, Any memcached client

Alternatives to Resin Cache

Compare all→
RedisKey-Value84.3

The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.

resin-cache vs redis →
ValkeyKey-Value58.0

The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.

resin-cache vs valkey →
MemcachedKey-Value50.6

The original multi-threaded, dead-simple distributed memory cache for key-value blobs.

resin-cache vs memcached →
HazelcastKey-Value33.5

A Java in-memory data grid and stream processor that embeds in your app or runs as a cluster.

resin-cache vs hazelcast →
InfinispanKey-Value28.8

Red Hat's open-source distributed cache and key-value store, embeddable or as a RESP-compatible server.

resin-cache vs infinispan →
EhcacheKey-Value17.6

The standard embedded JVM cache, with heap, off-heap and disk tiers and optional Terracotta clustering.

resin-cache vs ehcache →

Resin Cache FAQ

What is Resin Cache?

Resin Cache is a key-value database by Caucho Technology, first released in 2009. Resin Cache is the clustered caching layer of Caucho Technology's Resin Pro Java application server. Introduced with Resin 4.0 in 2009 as a JCache (JSR-107-style) java.util.Map extension, it replicates or shards entries across the Resin cluster's triad servers, backs HTTP session replication, and since 4.0.24 (2011) also speaks the memcached protocol as both client and server, so it can replace a memcached tier. Tiered configurations put a local in-process cache in front of a shared ClusterCache with read-through loaders and optional persistence. Resin itself is now in maintenance mode: 4.0.67, a bug-fix release, shipped in November 2024, and the cache is only relevant if you already run Resin Pro.

Is Resin Cache open source?

No. Resin Cache is proprietary, closed-source software. License: Resin Pro commercial license.

Does Resin Cache support ACID transactions?

No. Resin Cache does not provide ACID transactions; its consistency model is eventual.

Does Resin Cache scale horizontally?

Resin Cache scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at small scale (≤ 100 GB).

How can I run Resin Cache?

You can self-host it.

What is Resin Cache best for?

Resin Cache is a strong fit for session replication for Java web apps on Resin Pro, application-level object caching within a Resin cluster and replacing a memcached tier in an existing Resin deployment. Think twice for non-Resin stacks.

What are the best alternatives to Resin Cache?

Common alternatives to Resin Cache include Redis, Valkey, Memcached, Hazelcast and Infinispan. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

Is Resin Cache still maintained?

Resin Cache is in maintenance mode. Ships only inside Resin Pro 4.0, which now gets occasional bug-fix releases (4.0.67, November 2024). For new caches use Redis, Valkey or Hazelcast.

How popular is Resin Cache?

Resin Cache has little measurable public adoption today, so it ranks near the bottom of the WhichDB Score.