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,300 points

2 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+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
• 56,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,730 points

Related Questions In AWS

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,240 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.