Valkey GLIDE


Valkey GLIDE

Want to save 95% on your inter AZ costs while decreasing latency by 49%?

Previously, I had written about how replacing your Redis ElastiCache clusters with ValKey can save you 33% on your AWS bill.

But are you still using a Redis first client to connect to Valkey?

Then you might be missing out on some native valley functionality.

You may want to check out Valkey GLIDE (General Language Independent Driver for the Enterprise).

Under the hood, it's written with RUST, but it has wrappers for popular languages like PHP and NodeJS.

What's really interesting about this is that there are settings like AZ_AFFINITY or AZ_AFFINITY_REPLICAS_AND_PRIMARY that prioritize reading from replicas in the same availability zone.

AWS published a case study stating that HotelTrader saved 95% on costs and decreased latency by 49%, primarily with this feature.

A bold boat, but quite possible if you could route your requests more efficiently.

I just wanted to put this tool/technique on your radar. Let me know if you need any help implementing it.

~Cheers