HNHacker News
TopNewBestAskShowJobs

palkan

7 karma · joined August 31, 2016

Making web apps better with Evil Martians. Scaling WebSockets with AnyCable. Writing Ruby, Erlang, Golang and music.
submissionscomments
palkan··on AnyCable v1.5: socketio-like pub/sub with delivery and performance guaranteed
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

palkan··on RubRuby.dev: Ruby in the browser with Bundler and networking support
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!

palkan··on Show HN: AnyCable – real-time for Next.js, open source alternative to PaaS
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.
palkan··on Reusable development containers with Docker Compose and Dip
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.