Thursday, June 15, 2017

Elastic Cache

What is Elastic Cache


Elastic Cache is a web service that helps in improving web application performance. Allowing you to retrieve the data from fast managed-in cache instead of relying on DB every time.

Advantages of Elastic Cache

a) Reduces load on DB's
b) speed up application response

c) Using this we can save money by offloading some DB activities.

Features of Elastic Cache

a)  Elastic cache has Automatic failure deduction and recovery
b) No minimum fee and no upfront cost  is charged and charges are based on demand usage
c) Free tier is available for testing with a limit of 750 micro node hours for a year.
d) Can be launched in multi AZ

Available Elastic cache engines

As of now Two types of open source engine's are available 
a) Memcached
b) Redis

Redis - adavnced tracking, counting session management and tracking.
memached - simple caching

How to Connect

Note the endpoint of cache cluster in Elastic cache home page.

Can connect from EC2 running on same VPC. Default port for redis 6379
To ineract use telent
telnet <cache name> port name
then can run redis commands

No comments:

Post a Comment