Distributed locking with AWS ElastiCache

It’s been a long time since we published an article about how to integrate AWS SWF in your microservice in order to have a mechanism for distributed locking. Distributed locking is a feature necessary in certain situation when one and only one entity from a mass has to perform a given task like generate a […]

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 […]