Re:Building a Shop with Sub-Second Page Loads: Lessons Learned
by greglindahl on Sunday October 23, 2016 @02:58PM
(#12774859)
One wonders about the irony of carefully avoiding bad stuff (like GC) when serving pages, and then using a test rig that has potential GC delays to test performance.
[ Parent
| on HN ]
Re:Building a Shop with Sub-Second Page Loads: Lessons Learned
by erikwitt on Sunday October 23, 2016 @03:21PM
(#12774980)
You have a point there. I found jMeter, however, really easy to use. I could simply let it monitor my browser (via a proxy) while i clicked through the website and the checkout process to record the requests of an average user. Then I configured the checkout process to only be executed in 20% of the cases to simulate the conversion rate. Even executing the test distributed over 20 servers wasn't that hard.
Which tools would you use to generate this amount of traffic?
Re:Building a Shop with Sub-Second Page Loads: Lessons Learned
by greglindahl on Sunday October 23, 2016 @03:37PM
(#12775054)
In a previous life we started with ApacheBench, and then wrote our own async perl benchmarker because we wanted to generate steady hits-per-second instead of ApacheBench's N concurrent requests at a time. By now there's probably a tool out there that does what our custom tool did.
Re:Building a Shop with Sub-Second Page Loads: Lessons Learned
by greglindahl on Sunday October 23, 2016 @05:34PM
(#12775537)
That looks pretty good -- not only does it have a "requests per second" generator, which I wanted, but it also presents 50/90/99/99.9 percentile results, which are a must. (Website latencies are not a normal distribution so it's inappropriate to compute standard deviation.)