Answer the question
In order to leave comments, you need to log in
What is the difference between using EventMachine and Webmachine for api?
There are two applications, both work as api.
The first uses EventMachine, the second Webmachine.
What are the features / advantages of this or that approach?
Answer the question
In order to leave comments, you need to log in
Eventmachine uses epoll/kqueue: https://github.com/eventmachine/eventmachine/blob/... I think the only advantage is speed. But the minuses will be typed in order. I personally encountered a set of glitches and shortcomings (lack of features).
Webmachine uses celluloid, which in turn uses native threads. In theory, celluloid is much better, because. it is easier to change, all code is written in ruby and does not require compilation, unlike eventmachine. It turns out that webmachine should work in all ruby implementations (rbx, mri, jruby).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question