Embedded When the cache and the application co-exist within the same JVM, the
cache can be said to be operating in embedded mode. The cache lives and
dies with the application JVM. This strategy should be used when:
• Tight coupling between your application and the cache is not a concern
• The application host has enough capacity (memory) to accommodate the
demands of the cache
Client /
Server
In this setup, the application acts as the client to a standalone (remote)
caching layer. This should be leveraged when:
• The caching infrastructure and application need to evolve independently
• Multiple applications use a unified caching layer which can be scaled up
without affecting client applications.