Tag: backend
All the articles with the tag "backend".
Nginx in front of two Node.js apps: proxy headers, failover, 429 and a cache HIT
One Nginx 1.31.6 container and two Node.js app instances in Docker Compose. Every config file, the headers the app receives, a stopped backend costing exactly one slow request, rate limiting with 429, gzip at 8x, a cache HIT in under a millisecond and TLS 1.3 with HTTP/2, with every command to repeat it.
Watching Kafka work: batches, log segments and an idle fourth consumer
Kafka 4.3.1 in one container, 3,000 keyed messages and three partitions. The segment files on disk, 900 messages stored in two batches, keys that always land in the same partition, a consumer that gets nothing, and every command to repeat it.