Hacker Newsnew | past | comments | ask | show | jobs | submit | palkan's commentslogin

AnyCable is a realtime server for reliable two-way communication focused on reliability (or delivery guarantees), performance and security. Open source, managed (https://plus.anycable.io), self-hosted Pro—pick according to your needs!

v1.5 comes with new features allowing you to use AnyCable in a standalone mode with any (or none) backend: – pub/sub streams: public and signed; – whispering: publish broadcasts from clients, w/o touching backend; useful for typing indicators, cursors, and other frontend-only features.

Check out our new demos:

1. Next.js demo w/ public streams and whispers: https://stackblitz.com/edit/anycable-pubsub 2. Rails demo using signed streams instead of channels (and whispers, too): https://github.com/anycable/anycable_rails_demo/pull/34


Yet another example of Ruby on Wasm with some distinguishing features:

- Install dependencies from RubyGems on-the-fly and cache them in your browser - Make web requests from Ruby via Faraday JS adapter

Full-featured in-browser Ruby apps are getting real!


Yeah, kind of. Client-server commands sent over WebSockets are translated into JS function calls (using HTTP as a transport); the functions could be used to send some data back, set up a subscription, or whatever. Similarly, you can broadcast messages to connected clients via HTTP.


It’s possible to use health checks for that kind of “wait-for-it”-s. Checkout the configuration here: https://evilmartians.com/chronicles/ruby-on-whales-docker-fo...

Note that it requires using Compose v2.4, not 3.x.


ugh but then you have to use polling instead of epoll. this really isn't ideal if you want to minimize startup time for a test.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: