[RailsClub Moscow 2016] AnyCable

52cc8a838bf44a589d2572833b2dd1b9?s=47 Vlad Dem
October 22, 2016

[RailsClub Moscow 2016] AnyCable

ActionCable is one of the most attractive new features in Rails 5. WebSockets out of the box – sounds pretty cool, doesn't it? Or maybe the proper question is "Is it really so good?"

Consider pros: easy configuration, application logic access through channels, JS client that just works.

And what about pros?

In my opinion, there is the only one problem (despite bugs, of course) – Ruby itself, the language that I'm fond of, but I'm not considering it as a technology for writing scalable concurrent applications. At least, not yet.

That's why I'm not going to use ActionCable in production.

Can we find a way out? Can we use the good parts of ActionCable with the power of Erlang/Golang/Whatever-you-like altogether?

My answer is "Yes, we can". And here comes AnyCable.

This presentation demonstrates the proof of concept, shows some benchmarks and shares my thoughts about the future of the idea.

Video [RU]: https://www.youtube.com/watch?v=-k7GQKuBevY
Github: https://github.com/anycable/anycable


Vlad Dem

October 22, 2016