“The Money Was There When I Checked” — Transaction Isolation Levels and the Bugs Each One Lets Through
The code was inside a transaction, and it still sold three tickets when only one was left.
9 articles tagged Database.
The code was inside a transaction, and it still sold three tickets when only one was left.
Page 1 loads in 8 ms. Page 5,000 takes four seconds, and the index is not the problem.
A data structure that is wrong on purpose, and saves your disk because of it.
Inserts fail with 'Duplicate entry 2147483647', and nobody inserted a duplicate.
A key with TTL zero can still use memory. Here is why.
Why RocksDB, Cassandra and ClickHouse write so fast, and what they pay for it later.
"Let the database handle it" works until the write rate grows a hundred times.
Your primary key decides how every insert lands in the index.
More connections usually make a slow database slower.