|
|
|
|
|
by ndriscoll
1040 days ago
|
|
Or you could just design your architecture to not perform trillions of database requests for hundreds of millions of sales. The listing data is almost static and should almost fit in RAM (the hot set probably does. Apparently Amazon has ~350M listings. A 24TB RAM server could give ~68kB/listing, and probably only a small fraction is hot). Since you'll need multiple servers anyway, you could shard on products and definitely fit things in RAM. 375 million sales even if condensed into 1 hour would only be 104k/second. A single db server should be able to handle the cart/checkout. Assuming ~10M page views/second, a couple racks of servers should be able to handle it. The ad/tracking infrastructure surely can't account for the 1000x disparity in resource usage. |
|