socksify-ruby
AnyCable
socksify-ruby | AnyCable | |
---|---|---|
1 | 12 | |
160 | 1,887 | |
- | 1.4% | |
10.0 | 7.5 | |
over 1 year ago | about 1 month ago | |
Ruby | Ruby | |
GNU General Public License v3.0 or later | 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.
socksify-ruby
-
Using Tailscale on Lambda for a Live Development Proxy
Once your container starts, taking to any device within your tailnet can be done by using the local SOCKS5 proxy. In the example below, we are using Ruby's socksify gem.
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.
What are some alternatives?
lamby - 🐑🛤 Simple Rails & AWS Lambda Integration
Action Cable Client - A ruby client for interacting with Rails' ActionCable. -- Maintainers Wanted.
Faye - Simple pub/sub messaging for the web
Websocket-Rails - Plug and play websocket support for ruby on rails.
anycable-go - AnyCable real-time server
Rails Realtime - Adding Real-Time To Your RESTful Rails App
falcon - A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
WebPush - webpush, Encryption Utilities for Web Push protocol
Lite Cable - Lightweight Action Cable implementation (Rails-free)
Slanger - Open Pusher implementation compatible with Pusher libraries
Sync - Real-time Rails Partials
Firehose - Build realtime Ruby web applications. Created by the fine folks at Poll Everywhere.