News for hackers. Stuff that matters.
Re:What it's like to use Haskell by implicit on Wednesday March 26, 2014 @04:17PM (#7476285)
It looks like you're right. I misspoke.

We track total threads, working or not. It works great as an indicator because it tends to stay below the number of CPU cores on the server.

Re:What it's like to use Haskell by benmos on Wednesday March 26, 2014 @04:26PM (#7476364)
I take it you mean OS-level threads then?
Re:What it's like to use Haskell by implicit on Wednesday March 26, 2014 @05:59PM (#7476946)
We track Haskell threads.

edit: Found the code. :)

We rolled our own implementation. Our WAI application action increments a counter and decrements it again whenever an HTTP request is received and completed.

It doesn't track threads created as a part of HTTP request handling, but we don't allow those actions to forkIO anyway. There hasn't been any demand for it.

Re:What it's like to use Haskell by benmos on Thursday March 27, 2014 @03:36AM (#7479080)
Ah, right, that makes sense - thanks.
Re:What it's like to use Haskell by thinkpad20 on Wednesday March 26, 2014 @06:06PM (#7476984)
... so, how? Isn't that what he was asking?