Re:Build a Web 2.0-like application in haskell, with HAppS.
by delano on Sunday December 14, 2008 @03:46PM
(#397637)
This story is going from bad to worse. The site was up again and I made it to page 5 looking for code examples (I was pretty interested to see some Haskell). The closest I found was a shell call for find. Page 6, "Server Error". The site is down again.
So yeah, load test and do whatever it takes to ensure you're ready for traffic.
Re:Build a Web 2.0-like application in haskell, with HAppS.
by tphyahoo on Sunday December 14, 2008 @04:01PM
(#397648)
This will be the first time I'm doing load testing so gimme some time to get it right :)
Re:Build a Web 2.0-like application in haskell, with HAppS.
by delano on Sunday December 14, 2008 @05:19PM
(#397706)
Ah okay. Try Tsung, the Grinder, or JMeter if you have extra machines. For less heavy-duty testing try httperf. Siege and Apache bench are okay for basic testing. And always use a separate machine to generate load.
Re:Build a Web 2.0-like application in haskell, with HAppS.
by tphyahoo on Monday December 15, 2008 @10:09AM
(#398382)
I think I finally fixed this problem.
http://groups.google.com/group/HAppS/browse_thread/thread/cf...
Basically it was a lazy io issue in haskell, fix was using a strict version of readFile for templates.
Hope it stays up now!
But how ever solid one might think one's app is, there's no reason not to make one's front page static or at least have apache cache it.