hotsh / rstat.us

Simple microblogging network based on the ostatus protocol.
http://rstat.us/
Other
722 stars 215 forks source link

Find a way to run delayed jobs for free on heroku #816

Open carols10cents opened 10 years ago

carols10cents commented 10 years ago

Maybe with IronWorker? https://addons.heroku.com/iron_worker

wilkie commented 10 years ago

oh that looks good

carols10cents commented 9 years ago

uggghhhh except it makes you upload the code you want to run to their servers????

carols10cents commented 9 years ago

HHHHMMMMMMM

wilkie commented 9 years ago

Yeah. I've experimented in rstatus having a rake task perform a job and hooking that into the response stack somewhere. It really isn't doing much work, just work that shouldn't be done during a response. It would be nice if it occasionally does work either in a separate thread on the web dyno or after an http request is delivered. Either way, it just needs to run the rake task or directly invoke delayed_job or w/e. Essentially, for the single account case, a separate process queue is a bit silly.