Ruby on Rails + EventMachine?

I heard that you need to use non-blocking code throughout the application in order to be able to use the true power of EventMachine.

Does this mean that I cannot run Ruby on Rails with EventMachine?

+3
source share
3 answers

Not at all. Thin runs on EventMachine (and Rack, MongrelParser among several others). Rails applications work fine fine.

+1
source

, , , eventmachine RoR, Async Rails Project https://github.com/igrigorik/async-rails , RoR App. , , , , .

+3

Source: https://habr.com/ru/post/1765926/


All Articles