News for hackers. Stuff that matters.
Re:Hurl by codexon on Saturday May 01, 2010 @05:47PM (#1311296)
I don't think you'll see it fixed any time soon.

Using a fork per request is the easy way out. The problem as you've all seen, is that memory will be used up very very quickly.

The solution is to rewrite the app to use an event loop like select or epoll, or to queue the requests in a message queue: doable, but worth the effort? I doubt it, since the website looks like a hobby rather than a commercial product.

Re:Hurl by jackowayed on Saturday May 01, 2010 @06:22PM (#1311336)
Forking could fix the fork problem.

That is, if someone forks hurl (http://github.com/defunkt/hurl) and rewrites it to use one of the fixes you referred to above, I'm sure they'd merge that in and deploy that.

Doing it with Resque would make a lot of sense since hurl uses Redis already.

Re:Hurl by codexon on Saturday May 01, 2010 @06:49PM (#1311381)
Well sure, if someone does the work for them.

I'm saying that's probably why Chris and Leah haven't fixed it already and probably for many days to come.

Re:Hurl by jackowayed on Saturday May 01, 2010 @06:50PM (#1311384)
Yeah, I know. I just wanted to point out that we're not totally helpless here like we would be with closed-source software, and maybe encourage someone to fix it :)
Re:Hurl by codexon on Saturday May 01, 2010 @06:57PM (#1311395)
And I just wanted to point out that this isn't a simple 2-3 line fix so people won't get their hopes up trying to see if it's ready every few hours.
Re:Hurl by jteo on Sunday May 02, 2010 @02:32AM (#1312087)
Sounds like a great usecase for Node.js. =)