Noria: Dynamic, partially-stateful data-flow for high-perf web applications
micahlerner.com
micahlerner.com
The speeds achieved are impressive but you do not get consistency.
I've gotten this wrong so many times, and because it only bites you in read-after-write scenarios, it can be difficult to catch with types + tests
feels like there are a bunch of patterns in client-server protocols that should be 'as declarative as the schema', but aren't currently. caching, sync, field transformation, batching rules, multi-RPC flows like oauth
[1] https://blogcabin.37signals.com/posts/3113-how-key-based-cac...
The other side is not true though, but that will just cause a cache miss if the keys are timestamped.