Session Management, Rate Limiting & Caching using Redis
Modern distributed systems — whether fintech APIs, e-commerce platforms, or AI-powered services — share a fundamental challenge: every replica, micros…
Tech news from the best sources
Modern distributed systems — whether fintech APIs, e-commerce platforms, or AI-powered services — share a fundamental challenge: every replica, micros…
I learned one of my most important distributed-systems lessons the hard way. We were working on a payment flow connected to an external payment gatewa…
When building Telegram bots with Telegraf, it is easy to expect that a media album arrives as a single message. In reality, Telegram sends every media…
1. Introduction To better understand how databases and network servers work internally, I built a Redis-inspired in-memory database in Go. This projec…
Caching is one of those things that sounds optional until your database starts getting hammered at scale, your response times creep up, and you realis…
1. Intro — The Problem We Actually Had Building real-time systems is often presented as a distributed systems problem. Kafka, stream processors, event…
WebSocket provides low-latency, bidirectional communication between clients and servers. It is a widely used solution for building real-time systems. …
A walkthrough of building a voice AI backend — through three TTS providers, a chunking problem, Redis caching, distributed locks, and a thundering her…
So, this year I made a few resolutions — and sure, no one keeps to resolutions, but I decided to at least keep these two: first was no more tutorials,…
Filling a maintainer's "Help needed": shipping a Next.js 16 Redis cache handler Next.js 16 split caching into two distinct handler interfaces: cacheHa…
For most of the time we have been writing web applications, two different teams answered two different questions. The framework team decided what the …
The Auth Gateway sits in front of every authenticated request in the platform. Its latency isn't just its own latency — it's the floor for every servi…
JWTs have a hard problem hiding inside them: they're stateless. The whole point of a JWT is that the verifier can check a signature and make a decisio…
We had a feature in production where a single user request could run for five-plus minutes — fetch documents, chunk them, hit an LLM per chunk, synthe…