Browse files

Add note about Eventmachine with Unicorn.

  • Loading branch information...
dzello committed Mar 7, 2013
1 parent 0001c6f commit 4e7e0c8578ff0d45aa54861594de76d2b04309eb
Showing with 2 additions and 0 deletions.
  1. +2 −0
@@ -68,6 +68,8 @@ thin or goliath you're already doing this. Otherwise, you'll need to start an Ev
The best place for this is in an initializer, or anywhere that runs when your app boots up.
Here's a good blog article that explains more about this approach - [EventMachine and Passenger](
+And here's a gist that shows an example of [Eventmachine with Unicorn]( Thanks to [jonkgrimes]( for sharing this with us!
Now, in your code, replace `publish` with `publish_async`. Bind callbacks if you require them.
http = Keen.publish_async("sign_ups", { :username => "lloyd", :referred_by => "harry" })

0 comments on commit 4e7e0c8

Please sign in to comment.