~/talk

Solving Tricky Coordination Problems in Stateless .NET Services

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [frontend-architecture]
slides:none on file

Shows a concrete solution to cache stampedes: use Redis Pub/Sub plus a short-lived distributed lock (SET NX with expiry) so one instance computes a heavy result, publishes a notification, and waiting instances return the cached value instead of duplicating work. Provides an ASP.NET Core demo using IDistributedCache, async code and System.Collections.Concurrent, plus C# and Go implementations on GitHub (MemoryOak/redis-memo). Includes externally managed jobs, timeouts and lease semantics; demo proves only one computation runs and others receive the result via pub/sub.

AI-written summary · about

  1. 0:00Start
  2. 0:46Inter-Service Communication
  3. 17:13Cache Stampede
  4. 18:49Concurrency Locks
  5. 26:42Redis
  6. 29:56Code and Demo
  7. 31:25Usage Interface
  8. 36:17Get Resource
  9. 38:20Set Up a Notification
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.