Socket.io
Mercure
Our great sponsors
- Appwrite - The open-source backend cloud platform
- SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
- Amplication - open-source Node.js backend code generator
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Sonar - Write Clean JavaScript Code. Always.
- Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
Socket.io | Mercure | |
---|---|---|
792 | 19 | |
58,958 | 3,476 | |
0.5% | - | |
8.2 | 3.2 | |
8 days ago | 4 days ago | |
TypeScript | Go | |
MIT License | GNU Affero General Public License v3.0 |
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.
Socket.io
-
Develop a Video Chat App with WebRTC, Socket.IO, Express and React.
Web Real-Time Communication (WebRTC) is a technology developed by Google in 2013 for peer-to-peer communication. WebRTC enables web browsers to capture audio, video, exchange data, and teleconferencing without plugins or intermediaries. WebRTC achieve these through APIs and protocols that interact with one another. WebRTC media streaming when used with SocKet.IO will produce an application that streams media and exchange data instantly. Socket.IO is a library that provides low latency bi-directional communication between client and server. Socket.IO was built on websocket, a communication protocol that provides a full-duplex and low latency communication between server and browser. In this article, readers will learn how to build a video chat application using WebRTC and Socket.IO. This article is for web developers who wish to develop web applications that can stream media between two peers of computers in real-time without installing any plugins.
-
Real-Time Project Management with Bryntum Gantt
In this article, you'll learn how to build a real-time project management app using React, Socket.IO, and Bryntum Gantt, a powerful tool that can help you easily set up project tasks, track their progress, and collaborate with team members.
-
A document Q&A chatbot built with Next.js + supabase + GPT
Socket.io
-
Build a real-time voting app with WebSockets, React & TypeScript 🔌⚡️
Wasp has lots of time-saving features, including WebSocket support via Socket.IO, Authentication, Database Management, and Full-stack type-safety out-of-the box.
-
Real-time data from backend to front
I could use socket.io and run my application in dev mode.... as socket.io works well in dev mode with sveltekit... but not a great option.
-
Need advice on what to learn in order to develop a multiplayer web-based game.
Considering it's a text game there is not much you really have to learn except for websockets. Now there are some differences here and there but socket.io will definitely be good enough. It has features for putting users in a specific room, that way you can scope who receives the packets!
-
How to properly scale an IO game?
socket.io had it's place but it's a bit like jQuery/Moment.js, you probably don't need it for modern apps aside from legacy/experimentation reasons.
socket.io is likely the bottleneck, if node.js is the only option switch to websockets (ws) or better uWebsockets.js pub/sub with redis pub/sub for scaling
-
Live Quiz App
How would I go about making a live quiz app similar to that of Gimkit, Kahoot, Quizziz, Quizlet live, etc? From my research, People use socket.io but I have found nothing about using it in an application like this, where one would make a quiz and have people join.
-
What's everyone working on this week (26/2023)?
It is a socket.io server implemented as a tower layer in rust so it integrates really well with anything based on tower (Axum,Warp,Hyper). Two other persons started to contribute so I'm really happy.
Mercure
-
What is the best way to write a dedicated server?
It could be implemented with STOMP, or Mercure (goes well with API-Platform, written in PHP/Symfony), you could write your own with the help of nchan and scale it via Redis. If it's a web service, the best practices for operating and scaling are well established, Godot then just becomes another client.
-
What to use to replace laravel web sockets?
You can try https://mercure.rocks/.
-
OpenAI server-sent events supported chatbot
It's worth looking at something like Mercure , which is used by API Platform
-
laravel activity feed
Pusher might be one of these systems, Mercure is another one (which you can host yourself). Mercure has good documentation and some examples in various languages, including PHP: https://mercure.rocks/docs/ecosystem/awesome#examples.
-
Golang updating the front-end with almost real-time events from the backend server
You can use Mercure https://mercure.rocks/ , Mercure uses http2.
-
Centrifugo v4 released – with own WebSocket emulation layer, optimized client protocol, unified SDK behavior, experimental HTTP/3 and WebTransport support
I actually was thinking about this when I saw https://github.com/dunglas/mercure project to become a Caddy plugin. But I did not find enough reasoning to try this with Centrifugo at that point, and still... Seems awesome from one side - tight integration with a web-server, no extra network between LB and Centrifugo. But will this be useful in practice and find its users? 🤔 That's the question I don't have an answer yet.
-
How would I automatically update how much users are signed up for each group?
Polling is kind of ok (data might change between poll events), but real-time updates are better. So If you don't mind adding an extra service, then take a look at mercure.
-
Announcing GraphQL Yoga 2.0!
Two more questions: - Am I to understand The Guild now recommends GraphQL Yoga over Helix? - Could something like Mercure be included in the recipes ? (this would be a nice solution for serverless)
-
Skipfilter
The Mercure Hub originally dealt with this issue using an in memory cache to eliminate duplicate regular expression evaluations.
-
Server-Sent Events: the alternative to WebSockets you should be using
There's also the Mercure protocol, built on top of Server-Sent Events: https://mercure.rocks/
What are some alternatives?
Primus - :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
SocketCluster - Highly scalable realtime pub/sub and RPC framework
Centrifugo - Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
peerjs - Simple peer-to-peer with WebRTC
SockJS - WebSocket emulation - Node.js server
deepstream.io - deepstream.io server
websocket - A fast, well-tested and widely used WebSocket implementation for Go.
Pusher - Ruby library for Pusher Channels HTTP API
ws - Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
Faye - Simple pub/sub messaging for the web