1

I want to implement AWS redis session in Angular app to store login token in session key that can be used across pods, I am using sessionStorage currently but need to use AWS redis session Can anyone please suggest how to do that?

tiya
  • 117
  • 1
  • 3
  • 14

1 Answers1

0

Sample Java code to connect to Elasticache can be found here: https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/AutoDiscovery.Using.ModifyApp.Java.html It shows how to use Memcache but you can modify the code to use Redis as per your needs.

As far as the Angular is concerned. Generally Redis is not used with frontend technologies. Redis is used as cache layer for DB or other integrations. You can use to cache the API calls data by your Angular application.

Hussain Mansoor
  • 2,934
  • 2
  • 27
  • 40