> BitByteStack
home databases systems design backend devops networking security about
~/posts/systems-design/
top post [systems design] 2 posts total

Designing a Rate Limiter from Scratch

Token bucket, sliding window, fixed window — every algorithm explained with trade-offs. Plus how Redis makes distributed rate limiting trivially correct.

1 min read May 25, 2026
2 posts page 1 of 1 8+ min reading
topics all databases systems design backend devops networking security
~/systems-design/designing-a-rate-limiter.md
$ cat designing-a-rate-limiter.md
Designing a Rate Limiter from Scratch
#
Designing a Rate Limiter from Scratch
systems design 1 min read

Token bucket, sliding window, fixed window — every algorithm explained with trade-offs. Plus how Redis makes…

May 25, 2026
~/systems-design/consistent-hashing-explained.md
$ cat consistent-hashing-explained.md
#
Consistent Hashing, Explained Visually
systems design 7 min read

When you add or remove a node from a cluster, consistent hashing ensures only K/n keys need to move — not all of them.…

May 10, 2026
Systems Design
2 posts · 8+ min reading
All Topics
Databases
2
Systems Design
2
Backend
1
DevOps
1
Networking
1
Security
1
Recent Posts
How TCP Really Works
2m
Designing a Rate Limiter from Scratch
1m
B-Tree vs LSM-Tree: The Index Trade-off
7m
Dockerfile Best Practices You're Probably Ignoring
5m
Consistent Hashing, Explained Visually
7m
Tags
performance distributed-systems security api authentication b-tree backend best-practices consistent-hashing containers databases devops docker fundamentals go indexing
BitByteStack

Deep dives for developers who want to understand the stack.

systems design networking databases backend devops security algorithms career
navigate
  • latest posts
  • systems design
  • networking
  • databases
  • backend
  • devops
  • about
info
  • rss feed
  • search
  • contact
$ uptime
2026 · ● all systems nominal
© 2026 BitByteStack