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 - Insight
- Edit
| ← Previous | Next → |
| Functional Strength Training 🏋️ | Functional Strength Training 🏋️ |