Hacker News new | past | comments | ask | show | jobs | submit login

1. It's optional.

"rake environment resque:work" will give you access to the whole rails environment, so you can write normal rails code. But it of course uses a bunch of memory.

If you're doing something quick and dirty and don't need the rails model (sending out a password email or whatever), you can just run "rake resque:work" and avoid the overhead of the whole rails environment.




The line `task "resque:setup" => :environment` in the rake file does the same thing. That way it will load the env on Heroku.


Yes, of course, I guess I was just trying to say that rails is optional, not required, and that resque is a pretty nice general purpose job queue.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: