MOFAKH
.
COM
Profile
Topics
Recent
25 notes
System design — notes
+
Topics
C#
5
.NET
4
Docker
4
SQL
4
Networking
4
System design
4
System design — notes
Why I start with a modular monolith
Jun 27, 2026 · 8 min
Idempotent message consumers
outline
Caching strategies and invalidation
outline
Rate limiting: token bucket vs sliding window
outline
← Back to profile
System design
Caching strategies and invalidation
unwritten
—
Outline
Note to self
Not written yet. This is the outline I am working from — it will be filled in as I go through the topic.
Cache-aside, read-through, write-through, write-behind
Invalidation: TTL, event-driven eviction, versioned keys
Stampedes and how a single-flight lock stops them
In-memory vs distributed vs hybrid cache in .NET
Previous
Idempotent message consumers
Next
Rate limiting: token bucket vs sliding window