Spring data with AWS ElastiCache

+1 vote

Can we use @Repository interface with AWS ElastiCache?

I can probably always have spring-data-redis (assuming the underlying Cache is Redis) and use @Repository but that will not be using the ElastiCache APIs, which also means I'll lose the abstraction that the ElastiCache API will provide otherwise from the underlying data store.

Jul 27, 2018 in AWS by bug_seeker
• 15,550 points

2 answers to this question.

+1 vote

AWS ElastiCache APIs don't expose any abstraction for underlying service Provider.

Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale a distributed cache in the cloud.

answered Jul 27, 2018 by Priyaj
• 58,140 points
0 votes

Caching in a cloud environment is useful for applications to reduce the latency and to save database round trips. Reducing database round trips can significantly reduce the requirements for the database instance. The Spring Framework provides, since version 3.1, a unified Cache abstraction to allow declarative caching in applications analogous to the declarative transactions.

Spring Cloud AWS integrates the Amazon ElastiCache service into the Spring unified caching abstraction providing a cache manager based on the memcached and Redis protocols. The caching support for Spring Cloud AWS provides its own memcached implementation for ElastiCache and uses Spring Data Redis for Redis caches.

answered Sep 3, 2018 by findingbugs
• 4,790 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
10 answers
+1 vote
2 answers

Starting with an AWS Instance with API and AUTHPARAMS

The API is usually much easier to ...READ MORE

answered Apr 17, 2018 in AWS by Cloud gunner
• 4,650 points
Send OTP
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP