AnyCable or Action Cable for everybody

At RailsClub, in Moscow, Russia

Action Cable 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?” 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.

Action Cable 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 the cons?

In my opinion, there is 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 Action Cable in production.

Can we find a way out? Can we use the good parts of Action Cable 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.

Slides

In the same orbit

Explore more events

Let's solve your hard problems

Martians at a glance
18
years in business

We're experts at helping developer products grow, with a proven track record in UI design, product iterations, cost-effective scaling, and much more. We'll lay out a strategy before our engineers and designers leap into action.

If you prefer email, write to us at surrender@evilmartians.com