Re:How we store 400M phone numbers with fast lookup
by wtallis on Sunday July 19, 2015 @08:07PM
(#9913368)
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.
[ Parent
| on HN ]
Re:How we store 400M phone numbers with fast lookup
by fleitz on Monday July 20, 2015 @12:03PM
(#9916945)
Exactly: 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.