Sr Solution Specialist at Nokia·
Needs advice
on
EhcacheEhcache
and
RedisRedis

Hello, I am working on designing the API application for Mobile. We are going to use SpringBoot + Zuul Proxy for API Access Layer and API Services again Spring Boot with REST services exposed. Can you please help me to understand the implementation of REST Caching with ETag or Http Headers cache and how it is different from EhCache for Database side. So if you need to handle caching from REST and Database side, please advise me to get some idea of strategy in implementing it. Thank you so much in advance.

Also for the Java app, which is easy to implement whether Redis or Ehcache, I am new to Redis.

Regards, Dada

READ LESS
2 upvotes·10.3K views
Replies (1)
Development Manager at molk·
Recommends
on
Redis

Redis and Ehcache are server-side caches. Ehcache is used to cache data within a Java application. Redis runs in it's own environment so it survives OOM JVM crashes. You can use Redis with a multitude of languages.

https://db-engines.com/en/system/Ehcache%3BRedis

ETAGS and HTTP Headers are mainly used by the client side user agent to cache resources locally.

READ MORE
1 upvote·9.3K views
Avatar of Dadakhalandar S

Dadakhalandar S

Sr Solution Specialist at Nokia