News for hackers. Stuff that matters.
Re:What I've Learned So Far as a Programmer by velebak on Tuesday August 01, 2017 @09:57AM (#14900612)
Always build scalable web presences.
Re:What I've Learned So Far as a Programmer by majewsky on Tuesday August 01, 2017 @10:08AM (#14900732)
I hope to once make the frontpage on HN. Not for the fame or anything, just to check how scalable my blog really is. :)
Re:What I've Learned So Far as a Programmer by sunnyam on Tuesday August 01, 2017 @10:59AM (#14901300)
Do you know of any way of testing your website to see how many concurrent users it can handle?
Re:What I've Learned So Far as a Programmer by shakna on Tuesday August 01, 2017 @12:55PM (#14902804)
Siege [0], is my go-to. Easy to add to CI, because its on most platforms, and has decent output configs. You can vary headers and pages to hit, and how long connections get held open, or just reject them. And of course, it has great concurrency.

It can bring down most servers that aren't configured to prevent DOS attacks, like naive nginx or Apache configs. Usually somewhere between 5-10mins.

[0] https://www.joedog.org/siege-home/

Re:What I've Learned So Far as a Programmer by shorsher on Tuesday August 01, 2017 @11:10AM (#14901468)
Check out something like locust[0]. It's a web load testing framework in python.

[0]:http://locust.io/

Re:What I've Learned So Far as a Programmer by Mikushi on Tuesday August 01, 2017 @11:11AM (#14901479)
http://locust.io/ for example
Re:What I've Learned So Far as a Programmer by autokad on Tuesday August 01, 2017 @12:25PM (#14902427)
a long long long time ago (~2009) i used jmeter. it spawns aws instances and pegs your website in ways of your choosing. by now I am sure they got something even more advanced
Re:What I've Learned So Far as a Programmer by mikulas_florek on Tuesday August 01, 2017 @11:18AM (#14901571)
When I was on the front page of HN, IIRC it meant about 5k visits in an hour. How can such a low number kill a webpage... Or do other on the front page experience much higher traffic?
Re:What I've Learned So Far as a Programmer by petters on Tuesday August 01, 2017 @12:53PM (#14902781)
I also got to the front page and saw similar, low numbers that were trivial to handle. I suspect they can get much higher.
Re:What I've Learned So Far as a Programmer by mikulas_florek on Wednesday August 02, 2017 @08:34AM (#14909996)
I doubt they are higher judging by the number of comments and votes.