Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby on Rails + EventMachine?

I've heard that you have to use non-blocking code throughout the application to be able to harness true power of EventMachine.

Does this mean I can't run Ruby on Rails with EventMachine?

like image 576
never_had_a_name Avatar asked May 10 '26 20:05

never_had_a_name


1 Answers

I know this question is a bit old, but for anyone interested in using eventmachine and RoR, I'd highly recommend checking out Ilya Grigorik's Async Rails Project https://github.com/igrigorik/async-rails he and a few other people have done a great job creating an example fully event RoR App. Plus there is a lot of resources that he links to, to learn more about what's really going on behind the scenes.

like image 77
Chris Hein Avatar answered May 13 '26 17:05

Chris Hein



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!