News for hackers. Stuff that matters.
Re:Cache made consistent: Meta’s cache invalidation solution by reitzensteinm on Wednesday June 08, 2022 @07:08PM (#31675605)
"Finally, we are building a high-level consistency API for distributed systems — think of C++’s std::memory_order, but for distributed systems."

Will you be writing this up as well? It's very ambitious!

Re:Cache made consistent: Meta’s cache invalidation solution by uvdn7 on Wednesday June 08, 2022 @07:27PM (#31675798)
I am glad you caught that! I am personally very very excited about this. Because if you think about it, distributed systems and cache coherence problems on a multi-core system are essentially the same thing.

If C++'s memory model can abstract away multiple cachelines, why can't we steal the idea and abstract away distributed system details? The single keyword of distributed systems is "order". And that's exactly what `std::memory_order` captures, which is not a coincidence.

You can DM me and I would love to chat. I am @uvdn7 on twitter.