←
AnyCable298 posts
AnyCable avatar

AnyCable

@any_cable

Build lightning fast, reliable real-time applications! By @palkan_tula and @evilmartians.

◷ Joined December 2016▧ 46 Photos and videos
Evil Martians avatar
⟳ AnyCable retweeted
Evil Martians@evilmartians·Jun 24

We compared five ways to run WebSocket servers for Node.js: @SocketIO. uWebSockets.js, and AnyCable (OSS and Pro). Here’s how @inazarova caught our own load generator lying, and how to keep your WebSocket benchmark numbers honest. evilmartians.com/chronicles/…

Irina Nazarova avatar
⟳ AnyCable retweeted
Irina Nazarova@inazarova·Jun 17

I wanted to test WebSockets for Node.js on production-grade questions: round-trip latency, deliverability when clients drop and reconnect (unsteady wifi), surviving a deploy (reconnect avalanche), and RAM per connection. I got a Railway CLI and started testing: @SocketIO, @uWebSockets and @any_cable on the same box (32 vCPU / 32 GB). It wasn't easy: literally months passed as I was figuring things out and resolving limitations of the testing setup. I ended up running 30-50 VMs to emulate the client side! That's why I'm so glad to present the report anycable.io/compare/nodejs-w… Findings: 1. Default Socket.io and uWS are both at-most-once. Under WiFi jitter at 10K clients (TCP drop every \~15s, \~2s offline), Socket.io delivered 85% and uWS 87%. 2. Embedded WS servers sever every connection on deploy. A rolling deploy on embedded Socket.io froze every user for 2s+ when their node restarted. CSR doesn’t save you, because the state surviving doesn’t stop the socket from dropping. The fix is architectural: run the WS layer as its own service - I know many will disagree but otherwise your users get UI freezing on every deploy - even rolling. 3. uWS is the raw-efficiency king, and it isn’t close. 1M idle connections at \~5.4KB each. For bare transport with nothing else, hard to beat. But it comes at a cost: no guaranteed delivery mode. Where AnyCable wins and loses: it holds 100% under jitter, runs its WS layer as a separate Go process, so deploys don’t touch connections and recovers connections on its own deployments. AnyCable leads on throughput tail latency. But uWS crushes it on RAM per connection (5.4KB vs 18KB), and in the in-memory jitter test Socket.io + CSR has a shorter replay tail at p99 than we do. Methodology and code are in the repo. If something looks wrong, please open an issue. I want to make it right: github.com/anycable/nodejs-w…

Post attachmentPost attachment
Balkan Ruby avatar
⟳ AnyCable retweeted
Balkan Ruby@BalkanRuby·May 15

”A service is only as operable as its least operable part.”

Post attachment
Evil Martians avatar
⟳ AnyCable retweeted
Evil Martians@evilmartians·Feb 13

We get our industry news from @Any_Cable's Broadcast. Issue #33 came with the sad news that Heroku is no longer taking on new business and is moving into maintenance mode. Heroku users can keep running things as usual for now, but it might be a good time to start looking at alternatives. You can read the full newsletter here: blog.anycable.io/p/any-cable…

Post attachment
Irina Nazarova avatar
⟳ AnyCable retweeted
Irina Nazarova@inazarova·Jan 22

At @any_cable we've been building reliable real-time infrastructure for our customers for, jeez, 10 years now! And we support Durable Streams by Electric: it's an open standard, which means you are not vendor-locked when you run the cloud version!

1/Hosted durable streams is live on Electric Cloud! Persistent, resumable event streams over HTTP. Reads served from CDN, tested to 1M concurrent connections. 240K writes/second. 5M writes/month free.

Irina Nazarova avatar
⟳ AnyCable retweeted
Irina Nazarova@inazarova·Jan 3

Here’s the second edition of @palkan_tula ‘s Layered Design for Ruby on @rails applications, fresh off the press and delivered minutes ago 🥳🥳🥳

2:32
Irina Nazarova avatar
⟳ AnyCable retweeted
Irina Nazarova@inazarova·27 Dec 2025

My favorite talk!! @jpcamara used Yjs and @any_cable to build a collaborative text editor in a Rails app, and it was super fun trying it out live with other folks during his talk.

My @sfrubyconf talk on real-time collaboration with AnyCable, YJS and Rails is up! I felt really happy with how it came out - let me know what you think because I can't watch myself talk 😂 youtu.be/J68QOBLEItY?si=BFi0…