We have implemented caching with AWS ElastiCache + redis with both Encryption in-transit and Encryption at-rest enabled using Spring-data-redis and Lettuce with SSL.
Spring 4.3.12.RELEASE Spring-data-redis 1.8.8.RELEASE aws-java-sdk 1.11.228 Lettuce (Redis java Client) 4.4.2.Final
Code for Implementation is provided here. We are caching data retrieved from SQL queries. The application runs very slow with above implementation in comparison to when caching is not implemented. Appreciate any help, to improve performance.
Thanks, Raj