3 ms·
And realistically, there's nothing you can do with phone numbers that even needs the full speed of RAM. A fast SSD can do enough random reads to load the entire
by wtallis 11y ago
And realistically, there's nothing you can do with phone numbers that even needs the full speed of RAM. A fast SSD can do enough random reads to load the entire database in under 20 minutes, and nobody actually needs to know the status of all 400M numbers in the same 20 minutes because they can't all be dialed that quickly.
- nulltype 11y agoYeah, looking at the graph in the article is really weird. Wait, you can query 10k phone numbers per second with a single crappy linode machine, why does it need to be faster than that?
- fleitz 11y agoExactly: https://github.com/twitter/fatcache https://github.com/twitter/fatcache A single fatcache can do close to 100K set/sec for 100 bytes item sizes. A single fatcache can do close to 4.5K get/sec for 100 byte item sizes. All the 8 fatcache instances in aggregate do 32K get/sec to a single 600 GB SSD.