Note on The Slotted Counter Pattern via planetscale.com
The idea here is that instead of incrementing a single row for a counter, we are now picking a slot and incrementing the count in that slot. This means instead of hammering a single row, we are spreading the updates across 100 rows and reducing the potential for contention.
Reference
- Notes
- data, optimization
- The Slotted Counter Pattern
-
Permalink to
2023.NTE.607
- Edit
← Previous | Next → |
Note on Software Disenchantment via Nikita Prokopov | Note on Entity Component System - Wikipedia via wikipedia.org |