News for hackers. Stuff that matters.
Re:HireFire - The Heroku Worker Manager by bengl3rt on Wednesday May 25, 2011 @07:18PM (#2585954)
How fast do Heroku workers come up and start crunching? I'd consider porting my worker code to Ruby (right now it's in Clojure) if it meant I could bring it up in seconds.

And they're billed per minute or per second?

Re:HireFire - The Heroku Worker Manager by meskyanichi on Wednesday May 25, 2011 @11:57PM (#2586544)
Heroku Workers are pro-rated to the second, just like Dyno's. So the second you shut it down, the timer stops ticking.

The time it takes to boot a worker mostly depends on your ruby application. The heavier it is, the longer it takes to boot up. Heroku spawns them fast, I think instantly because they are spawned from a compiled slug which is generated each time you push your app to Heroku.

The HireFire checkup interval takes at most 60 seconds, and less if more resources are available on HireFire's servers.

Re:HireFire - The Heroku Worker Manager by bengl3rt on Thursday May 26, 2011 @02:07AM (#2586792)
And presumably if I ran the HireFire open source library I could check even more frequently..?
Re:HireFire - The Heroku Worker Manager by meskyanichi on Thursday May 26, 2011 @03:46AM (#2586971)
The open source library checks immediately when job gets enqueued, but this is because it does a post-create API request to Heroku every time it does it. Problem is that doing an API on reqests is terribly slow, which is one of the reasons that led me to create a hosted service out of it.

See the HireFireApp homepage's text for more information, or check out it's knowledge base.

Re:HireFire - The Heroku Worker Manager by bengl3rt on Wednesday May 25, 2011 @07:20PM (#2585958)
I should add that I'm also looking into the "boot time" of dotcloud workers - if it's comparable, or better, I would love a similar tool :)
Re:HireFire - The Heroku Worker Manager by meskyanichi on Thursday May 26, 2011 @12:00AM (#2586553)
I haven't checked out DotCloud's workers. I have a beta account for their service though. But have not yet taken the time to fully check them out.