Please note: this blog has been migrated to a new location at https://jakesgordon.com. All new writing will be published over there, existing content has been left here for reference, but will no longer be updated (as of Nov 2023) Listen on a socket (e.g. a web server) Subscribe to a queue (e.g. a resque worker) Poll a DB job table (e.g. a DelayedJob) Much of the time you will use an appropriate 3
![Daemonizing Ruby Processes](https://cdn-ak-scissors.b.st-hatena.com/image/square/b6c52c429d73c9ab6a02b6f84afa22c7c21b934b/height=288;version=1;width=512/https%3A%2F%2Fcodeincomplete.com%2Fimages%2Fbrand.e0292570a36e5568dcf7f87a7bb5cc72443280f97a42b68acd6b3899339da569.png)