I have a ASP.NET web application on IIS, that caches a lot of data to built-in ASP.NET cache. I want to move caching to Redis and use AWS ElastiCache Redis for that, because all currently my servers don't share their cache. They are hosted on EC2 already. I need to understand, whether I won't get performance decreasing by moving cache from basically same server, I host my application, to some network instance of AWS ElastiCache? I read that AWS Redis itself has a 'sub-millisecod latency', however I didn't get, if it is said about network latency too or what conditions must be met to gain this latency.
Here is my circumstances:
- 2 app servers on IIS EC2 WinServer2008R2 under load balancing
- Need to cache thousands of various objects as JSON, can be up to 1M symbols
- All servers can be set up in the same region
So here are a the questions:
- Is AWS ElastiCache Redis appropiate solution?
- What should I do in order to minimize latency to Redis?
Thank you in advance.