AnyCable
mrsk
AnyCable | mrsk | |
---|---|---|
12 | 26 | |
1,883 | 6,294 | |
1.2% | - | |
7.5 | 9.4 | |
about 1 month ago | 8 months ago | |
Ruby | TeX | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AnyCable
-
Stream Updates to Your Users with LiteCable for Ruby on Rails
LiteCable is tailored for vertical scaling by a tight integration of components. If you extract maximum performance from the SQLite engine, the limits of this approach are pushed a lot further. Once you observe that your latencies start to explode, though, I would suggest researching options like AnyCable, which inherently provide better strategies for horizontal scaling.
- Show HN: AnyCable – real-time for Next.js, open source alternative to PaaS
-
Deploy Anycable with MRSK
Here we'll deploy Anycable wih MRSK.
-
Using Tailscale on Lambda for a Live Development Proxy
So far, everything is working great with our new LambdaCable gem. Eventually it will be a drop-in adapter for ActionCable and join the ranks of other popular alternatives like AnyCable. To bring the project to completion faster, I needed feedback loops that were much faster than deploying code to the cloud. I needed a development proxy! One where my Rails application would receive events from both Lambda's Function URLs and the WebSocket events from API Gateway. Illustrated below with a demo video.
-
AnyCable v1.3: embedded NATS, StatsD, and more
AnyCable v1.3 has been just released. The major highlights are:
-
Faster RuboCop runs for Rails apps
I've been using this technique for a long time for gems development—to speed up CI RuboCop runs (by installing only the linter dependencies). Here is my typical rubocop.gemfile:
-
Any performance/memory issue with Ruby 3.x compared to 2.7?
It does, but the precompiled binaries are only for < 3.1: https://rubygems.org/gems/grpc/versions/1.43.1-x86-linux
-
Action cable or AJAX? Performance and solution - what to choose?
Action cable is probably what you're looking for. If you start having performance issues, AnyCable is a more performatic option that requires almost no changes in your ruby code.
-
Kubing Rails: stressless Kubernetes deployments with Kuby
I decided to give it a try for the AnyCable demo application, which requires deploying not only a Rails app, but also additional services for AnyCable.
-
Async Ruby
I think what's being talked about here is the back end implementation for ActionCable. By default it uses ruby threads to push over open web sockets. There's at least one production quality drop in implementation (https://anycable.io/) that address the default scalability issues you'll have with ActionCable. The async support would seem to allow one to go much further with default rails before needing to move to something more performant.
mrsk
-
Deploy Anycable with MRSK
Here we'll deploy Anycable wih MRSK.
-
Fly.io Postgres cluster went down for 3 days, no word from them about it
Honestly these days I am leaning towards this approach: https://github.com/mrsked/mrsk/
It's all just docker.
-
The Curse of Scalable Technology
Did you consider MRSK[1], k3s[2], or dokku[3]? They are all significantly simpler to operate than Kubernetes, curious to hear your take.
[1] https://github.com/mrsked/mrsk
-
How to cache MRSK deployments in CI
https://github.com/mrsked/mrsk/pull/159 Closed PR about --cache-to option in MRSK
-
Thoughts on MSRK?
Yes, that thing with the setup is misleading in the docs. I'll make a PR now. There's this issue about it: https://github.com/mrsked/mrsk/issues/301
-
Rails Foundation announces first-ever conference!
god or bad, dhh is doing noise and people know about rails. just look at there https://github.com/mrsked/mrsk
-
MRSK vs. Fly.io
I don't think there's a writeup out there, but mrsk just uses docker under the hood. So, if you have a CMD in your Dockerfile, it will use that.
If you have an image that can run multiple things, like a rails app that can run the app process for web traffic by default, but it can also run job workers with the right command, you can provide the cmd in the mrsk config. You can see this in the jobs role in the example: https://github.com/mrsked/mrsk#using-different-roles-for-ser....
-
Looking to use Docker & Docker Compose in production and need advice.
You may want to checkout MRSK if you are going to be using docker compose in production on a single VPS https://github.com/mrsked/mrsk
-
Deploying with MRSK
"MRSK basically is Capistrano for Containers, without the need to carefully prepare servers in advance" https://github.com/mrsked/mrsk
-
Need some advice on how to deploy images to our vending machines
https://github.com/mrsked/mrsk might be interesting to you.
What are some alternatives?
Action Cable Client - A ruby client for interacting with Rails' ActionCable. -- Maintainers Wanted.
awesome-compose - Awesome Docker Compose samples
Faye - Simple pub/sub messaging for the web
Dokku - A docker-powered PaaS that helps you build and manage the lifecycle of applications
Websocket-Rails - Plug and play websocket support for ruby on rails.
kubero - A free and self-hosted Heroku PaaS alternative for Kubernetes that implements GitOps
anycable-go - AnyCable real-time server
docker-phoenix-example - A production ready example Phoenix app that's using Docker and Docker Compose.
Rails Realtime - Adding Real-Time To Your RESTful Rails App
lamby - 🐑🛤 Simple Rails & AWS Lambda Integration
falcon - A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
deploy - Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style