Tunnel to your Redis cluster

A while ago, we wrote a post describing how to protect your service with a throttling mechanism. That mechanism uses Redis database to synchronize statistics between service’s hosts. Redis is offered by AWS as part of AWS ElastiCache Service. If you remember, we promised you that we’ll describe how to connect to an AWS Redis […]

Sending messages through AWS ElastiCache

A while ago we published an article to demo how to use AWS ElastiCache as a data store for a throttling mechanism. AWS ElastiCache is the “in cloud” version of Redis framework: an in-memory key-value datastore, distributed across multiple nodes, that offers sub-milliseconds latency. In this post we are going to present another use case […]

Limit accepted requests using AWS ElastiCache

Let’s say you build an awesome service that exposes several APIs. We know: your service is scalable, robust and so on. But it cannot handle traffic spikes (5-10x) without being overscaled. And if it can, this is very expensive. A solution could be to reject calls that exceeds some limits, like calls from an IP […]