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

Contact us

We’d love to hear from you! We’re not really all that evil, and we love discussing potential projects, intriguing ideas, and new opportunities. Complete the form below or drop us a line at surrender@evilmartians.com.

Martians at a glance
16
years in business

A product development consultancy that works with startups and established businesses, while also creating open source-based products and services