Loading…
0+ curated questions with the same answer shape every time: quick recap, deep dive, pitfalls, and follow-ups. Coverage includes .
Redis with Go interview questions cover both the go-redis/v9 client and the patterns built on top of it for Go services. This module covers the go-redis v9 client (NewClient, NewClusterClient for Redis Cluster, connection pool configuration, context-aware commands), pipelining for batching commands in a single round trip, Lua scripting with Eval for atomic multi-key operations (the canonical use case: atomic rate limit counter increment + expiry), the Pub/Sub API (Subscribe, Receive, the goroutine-per-subscription pattern), Redis Streams as a lightweight Kafka alternative for Go services (XADD, XREADGROUP, consumer groups), implementing a distributed lock with SET NX EX and the Redlock algorithm trade-offs, and rate limiting with the token bucket pattern using a Lua script. The scenario question is always 'how would you implement a distributed rate limiter for a Go microservice using Redis?'
Full catalog
Topics are ordered for learning. Within each topic, rows are numbered 1–0 globally so you always know where you are. Collapse topics if you want a lighter view — use Expand all when you need the full list again.
Numbers 1–0 follow the order we recommend — click any row to open the full answer, or use the sticky Next link at the bottom of each page to go Q1 → Q0.