I'm possibly looking for an alternative to node.js - some really nice things about it are setTimeout() and setInterval().
I found that Sinatra has a plugin called Synchrony which looks like something I might actually use.
Is it reasonable to just make a new thread and have it do a busywait or something?