[Haskell-cafe] Re: Threads with high CPU usage

wman 666wman at gmail.com
Mon Dec 22 21:56:32 EST 2008


Thanks to you all for inspiration.

My web app (which otherwise ran ok) was getting stuck while getting harassed
by ab (apache-benchmark) after receiving some 800+ requests in short
succession (not less, never gotten to 900, what was weird that running like
500 reqs - pause - 500 reqs ... went ok).

After compiling with -threaded and running with +RTS -N2 it handles 10k+
requests (with 10 concurrent request running at once) without missing a
beat.

Well, at least I double checked everything else ;-)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081223/2d3dfa21/attachment.htm


More information about the Haskell-Cafe mailing list