webtransport VS stimulus_reflex

Compare webtransport vs stimulus_reflex and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
webtransport stimulus_reflex
11 45
799 2,198
1.4% 0.9%
9.1 7.5
8 days ago 12 days ago
Bikeshed Ruby
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

webtransport

Posts with mentions or reviews of webtransport. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-16.
  • WebGPU – All of the cores, none of the canvas
    7 projects | news.ycombinator.com | 16 Jul 2023
  • Firefox 114 released
    2 projects | /r/linux | 6 Jun 2023
    WebTransport is now enabled by default and will be going to release with 114. As the original Explainer notes, it enables multiple use-cases that are hard or impossible to handle without it, especially for Gaming and live streaming. It covers cases that are problematic for alternative mechanisms, such as WebSockets. Built on top of HTTP3 (HTTP2 support will be coming later). The current implementation in Firefox is passing 505 out of 565 Web-Platform Tests.
  • Librespeed - a Foss speedtest
    2 projects | /r/linux | 25 Oct 2022
    Sort of. The browser will re-use the connection if you have a bunch of resources in the HTML. When rendering it sees that it needs 2 images and 3 javascript files from the same server, so it pipelines all of those. But for requests initiated from javascript, you're going to get a new connection for each one unless you're using a library that implements the long-polling hack. SocketIO can use the long-polling hack as a fallback if websockets is not supported. HTTP/2 (formerly SPDY) gets part of the way to replacing websockets, but it's not a synchronous link. Only the client can send messages to the server and the server can only respond to those message (with websockets, either side can send messages once the connection is open). FWIW, less than 50% of websites use HTTP/2. HTTP/3's webtransport looks like it could replace websockets, but it also looks like it'll live along side websockets.
  • The WebSocket Handbook
    14 projects | news.ycombinator.com | 11 Jan 2022
    If it's streaming data like dashboard statistics the new WebTransport API might be a much better base: https://github.com/w3c/webtransport/blob/main/explainer.md
    14 projects | news.ycombinator.com | 11 Jan 2022
  • We Got to LiveView
    19 projects | news.ycombinator.com | 22 Sep 2021
    Are you guys looking into the Web Transport protocol for the future? Right now you have to tunnel the websocket connections over http2 and it will probably be the same for http3 afaik.

    I know there is this work in progress (https://w3c.github.io/webtransport/) and websockets are probably fine for a long time but sooner or later (unless there is an update to websockets) it will probably be faster to just do normal http requests and listen on server sent events.

    What are your thoughts for Liveview for the future? Will it forever stay on websockets or would you be open to change the underlying technology if / when new stuff becomes available?

  • The History and Future of Socket-level Multiplexing
    3 projects | dev.to | 6 May 2021
    It's taken nearly 10 years for QUIC to be refined and adopted in the wild and we're basically there. There's even a new browser API in the works called WebTransport.
  • Show HN: PSX Party – Online Multiplayer Playstation 1 Emulator Using WebRTC
    6 projects | news.ycombinator.com | 30 Dec 2020
    tl;dr using WebRTC just for realtime client<->server data sucks, but WebTransport[1] is coming soon to serve that exact usecase with an easy API

    WebRTC has data channels, which are currently the only way to achieve unreliable and unordered real-time communication (UDP-style) between the browser and other browsers or a server. This is pretty essential for any networked application where latency is critical, like voice and video and fast-paced multiplayer games.

    As other commenters have noted, it's a royal pain in the ass to set up WebRTC if all you want is UDP-style communication between a server and browser, since you need to wrangle half a dozen other protocols in the process.

    However! A new API, WebTransport[1], is actively being developed that will offer a WebSockets-like (read: super simple to set up) API for UDP-style communication. I am extremely excited about it and its potential for real-time browser-based multiplayer games (which I'm working on).

    https://github.com/w3c/webtransport

stimulus_reflex

Posts with mentions or reviews of stimulus_reflex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-29.
  • Coming to grips with JS: a Rubyist's deep dive
    16 projects | dev.to | 29 Dec 2023
    Then there are stack-specific libraries: StimulusReflex for Rails, Phoenix LiveView, Laravel Livewire, Unicorn and Tetra for Django, Blazor for .NET, … and the list goes on.
  • Почему я программирую на Ruby
    11 projects | dev.to | 20 Oct 2023
  • RailsWorld 2023: Hotwire Edition
    3 projects | dev.to | 8 Oct 2023
    Morphing and the concept to do refreshes after broadcast are hardly new. Stimulus Reflex has employed morphing to update the page for years, and CableReady::Updatable, which allows listening to model requests for refreshes, has also been around for a while. But I am excited to see these concepts being adopted in Turbo and becoming more mainstream.
  • Unicorn – A full-stack web framework for Django
    7 projects | news.ycombinator.com | 2 Aug 2023
    Stimulus Reflex (Ruby), which predates Hotwire, also deserves a mention, though most of its momentum seemed to stall when Hotwire was announced.

    https://docs.stimulusreflex.com/

  • Is there Ruby LiveView Framework?
    5 projects | /r/ruby | 11 Jul 2023
    Hi there, not crazy experienced on the topic but after some research i made for personal reasons i found https://mayu.live/ whick looks interesting (and as mentioned already https://docs.stimulusreflex.com/, seems to be close to Liveview)
  • Rails 7 - Turbo Frame and Turbo Stream
    2 projects | /r/rails | 21 Apr 2023
    StimulusReflex Docs pretty easy to use and release 3.5.0 is coming soon.
  • Announcing elm-express
    4 projects | dev.to | 18 Apr 2023
    However, the timing may be a little off. In some ways, it feels like the "Express" way of developing for the backend is dying. We are seeing tools that blur the line between backend and frontend, trying to unify how we develop web applications. Tools like Phoenix LiveView, StimulusReflex, Laravel Livewire, Remix, Next.js, and many others are being developed.
  • A powerful search feature with what Rails provides out of the box
    6 projects | dev.to | 19 Jan 2023
    Reading the article and the source code, I learned a ton of stuff, as always. In his implementation, Louis is using StimulusReflex (built on top of Stimulus) to achieve this. I was curious about several points:
  • The Ultimate Search for Rails - Episode 1
    8 projects | dev.to | 16 Jan 2023
    First things first: on the frontend, we’ll use StimulusReflex (a.k.a SR) to build a super reactive and friendly search experience with very little code, and little to no JavaScript. For those unfamiliar:
    8 projects | dev.to | 16 Jan 2023
    Now that we know that our backend is working as it should, let’s wire up our stuff. I’m gonna skip on Stimulus Reflex setup and configuration and dive right in. You can easily follow the official setup or, if you use import-maps, follow @julianrubisch’s article on the topic. I also know that leastbad has been working on an automatic installer that detects your configuration and sets everything up for you if you care to try it before the next version of SR gets released.

What are some alternatives?

When comparing webtransport and stimulus_reflex you can also consider the following projects:

hotwire-rails - Use Hotwire in your Ruby on Rails app

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

turbo - The speed of a single-page web application without having to write any JavaScript

phoenix-liveview-counter-tutorial - 🤯 beginners tutorial building a real time counter in Phoenix 1.7.7 + LiveView 0.19 ⚡️ Learn the fundamentals from first principals so you can make something amazing! 🚀

jsbundling-rails - Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.

Mercure - 🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications

datagram - In-progress version of draft-ietf-quic-datagram

hotwire-livereload - Live reload gem for Hotwire Rails apps.

Stimulus - A modest JavaScript framework for the HTML you already have

geckos.io - 🦎 Real-time client/server communication over UDP using WebRTC and Node.js http://geckos.io

ggpo - Good Game, Peace Out Rollback Network SDK