2 ms·
Even then you can do a lot of things to spread write contention with an RDBMS. e.g. MySQL 8.0.1+ adds SKIP LOCKED modifier to SELECT ... FOR UPDATE. Then you
by karmakaze 2y ago
Even then you can do a lot of things to spread write contention with an RDBMS.
e.g. MySQL 8.0.1+ adds SKIP LOCKED modifier to SELECT ... FOR UPDATE.
Then you can increment the first available row, otherwise insert a new row. On read aggregate the values.