A Sinatra app that uses the keen gem to publish events asynchronously