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,520 points
3,721 views

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,100 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.

Get your Spring Certification today to become certified.

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

Related Questions In AWS

0 votes
1 answer

AWS DynamoDB Queries Not Showing user data unless with Admin privileges

Replace ownerfield "username" with "id"   type user @model @auth ...READ MORE

answered Feb 23, 2022 in AWS by Korak
• 5,820 points
457 views
0 votes
0 answers

Which AWS storage service assists S3 with transferring data?

As I'm building a data pipeline that ...READ MORE

4 days ago in AWS by Priyanka
• 2,280 points
15 views
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,670 points
3,823 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP