Re:Prime Down: Amazon’s sale day turns into fail day
by yeukhon on Monday July 16, 2018 @09:05PM
(#17546508)
No load testing ever?
[ Parent
| on HN ]
Re:Prime Down: Amazon’s sale day turns into fail day
by hossbeast on Monday July 16, 2018 @09:10PM
(#17546533)
Good luck generating Prime Day load artificially.
Re:Prime Down: Amazon’s sale day turns into fail day
by greenleafjacob on Monday July 16, 2018 @11:43PM
(#17547138)
At Uber we invested in synthetic load tools that create fake riders and drivers, match them, etc and test our entire dispatch system end to end to arbitrary amounts of online driver and riders. I don’t see why they couldn’t do the same with carts, adding products to carts, etc
Re:Prime Down: Amazon’s sale day turns into fail day
by wiredone on Tuesday July 17, 2018 @12:30AM
(#17547334)
They do. But I'm guessing you don't scale up 1M+ servers for your Uber canary traffic tests - these are some of the scales Amazon undergoes in these events. The scale is unlike almost any other web property around.
Re:Prime Down: Amazon’s sale day turns into fail day
by BinaryIdiot on Tuesday July 17, 2018 @01:50AM
(#17547573)
> But I'm guessing you don't scale up 1M+ servers
Do they really need 1 million servers? Many of my friends who work at other tech companies need such few servers in comparison even with significantly high traffic that just screams massive inefficiencies...which seems wrong.
But I've never worked at Amazon so I wouldn't know.
Re:Prime Down: Amazon’s sale day turns into fail day
by convivialdingo on Wednesday July 18, 2018 @12:30AM
(#17555590)
At one of my previous companies we managed about 100 servers for peaks of about 30 million users.
But we didn’t handle free-form text search like Amazon. I can imagine that would necessitate a huge scaling up of compute and data.
Re:Prime Down: Amazon’s sale day turns into fail day
by deegles on Tuesday July 17, 2018 @01:28PM
(#17551412)
Judging by all the error pages after launch, they needed more!
Re:Prime Down: Amazon’s sale day turns into fail day
by greenleafjacob on Tuesday July 17, 2018 @01:35AM
(#17547532)
I’m not sure how it’s relevant. If you have the infrastructure to send 1000 concurrent users you can probably send 1M concurrent users. We only test small integer multiples of our peak traffic, and if your absolute number of servers to service that is in the millions then it would make absolute sense to be routinely running that capacity test. If that means “scale up 1M+ servers” then that is what you have to do, otherwise how can you be sure?
Re:Prime Down: Amazon’s sale day turns into fail day
by HankB99 on Monday July 16, 2018 @10:17PM
(#17546809)
Could you do something like that from another cloud service? I suppose the difference would be whether 10K requests from one IP address would be the same as 10K requests coming from 10K IP addresses. The further you move from the actual production load, the higher risk that the test doesn't test everything. For example if the network could only handle connections from 5k hosts then the former could pass while the latter failed miserably.
Re:Prime Down: Amazon’s sale day turns into fail day
by pageald on Monday July 16, 2018 @10:34PM
(#17546863)
Simulating millions of users should be well within the capabilities of a company as large as Amazon. Off the shelf load testing tools like Locust can create thousands of fake users with one worker.
Re:Prime Down: Amazon’s sale day turns into fail day
by sitkack on Monday July 16, 2018 @10:14PM
(#17546799)
Please, generating load is always easier than servicing it.
Re:Prime Down: Amazon’s sale day turns into fail day
by yeukhon on Tuesday July 17, 2018 @07:51PM
(#17554537)
Probably can find a hotspot and load test on the hospot.
Re:Prime Down: Amazon’s sale day turns into fail day
by jjirsa on Monday July 16, 2018 @11:14PM
(#17547030)
(◔_◔)
Re:Prime Down: Amazon’s sale day turns into fail day
by jtchang on Tuesday July 17, 2018 @01:10AM
(#17547461)
It's actually pretty trivial. Getting the right parameters for the load will be hard and making sure you are loading it properly. Think about DDOS attacks. Generating the load is rarely the issue.