Socket.io
SocketCluster
Socket.io | SocketCluster | |
---|---|---|
831 | 9 | |
60,411 | 6,124 | |
0.4% | 0.2% | |
7.8 | 6.8 | |
18 days ago | 3 months ago | |
TypeScript | JavaScript | |
MIT License | 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.
Socket.io
- Meilleures pratiques pour créer une application Express.js
-
Top 20 Javascript Libraries on Github
Repository: Socket.io
-
Socket.io Connection Issues on localhost!
When developing web applications, you might encounter connectivity issues between your client and server when using Socket.io on localhost.
-
WebSockets
There are various libraries that let you create a ws server (similar to how express lets you create an HTTP server) https://www.npmjs.com/package/websocket https://github.com/websockets/ws https://socket.io/
-
Create a Chat with Laravel and Socket.io
Previously we created a chat with pusher. but this time we are going to do it with Socket.io. Socket.io is a NodeJS library. With it we can create our own servers. This is cheaper than using pusher server and we have more control on the code.
-
Building a GitHub activity feed with Node.js and Socket.io
The first is the script tag in the head of our HTML document that loads the Socket.IO client library. This script tag includes the Socket.IO client library that will communicate with our socket.io server from the code above.
-
Mastering Microservices: A Hands-On Tutorial with Node.js, RabbitMQ, Nginx, and Docker
Before diving into this tutorial, if you find microservices mysterious, check out my previous article for a detailed explanation. In this hands-on tutorial, we'll build a real-time chat server using Node.js, Socket.io, RabbitMQ, and Docker. Get ready for a practical journey into the world of microservices! Let's begin.
-
Node.js Roadmap: Mastering the Essentials
Socket.io Docs
-
WebSockets Unlocked: Mastering the Art of Real-Time Communication
Now we will be implementing socket logic using socket.io for building websockets. This library provides an abstraction layer on top of WebSockets, simplifying the process of creating real-time applications. For better maintainability, it is recommended to create a separate file for socket calls. To do this, navigate to the src folder, create a folder named services, and inside it, create a file named socket.ts under the services folder.
-
Socket io not working on deployed version
Hi I made a chat app using socket.io it worked fine locally but when i deployed the app on render.com socket is not working properly i have to refresh the page to see new messages please help...
SocketCluster
-
The Sound of Software
Recently, I added an AI-generated soundtrack to my open source project's home page https://socketcluster.io/
It seems unconventional at first but I distinctly remember about a decade ago when Adobe Flash was still broadly supported, many Flash websites had soundtracks. I think the reason why regular HTML websites didn't have them was because it was difficult to implement and internet was much slower so they had to be streamed in a special way.
-
Is it a good practice to store web sockets connections on redis?
If redis doesn't satisfy your requirements or you're unable to make it work using adaptor, SocketCluster is a great package for this https://socketcluster.io/
-
Why messaging is much better than REST for inter-microservice communications
Interesting how this feature set is pretty much exactly the same as offered by SocketCluster https://socketcluster.io/
-
On the Unhappiness of Software Developers
This resonates with me 100%. Every bit of unhappiness I've felt in my career so far has been caused by a bad manager. The main issue for me has been the final point you mentioned about "Imposed artificial limitations" - I cannot tell you the number of times that I've been forced to use an inefficient tool or do something in a sub-optimal or downright incorrect way (knowing that it would have to be re-written later) by a bad manager... In some companies, it was a daily occurrence; that's why I never stayed at a single company for longer than 2 years. It's almost impossible to find a company that lets me implement things correctly.
Thankfully, nobody could constrain me in my open source work. I (with the help of community members) built:
- SocketCluster (https://socketcluster.io/): A distributed pub/sub framework.
- Capitalisk (https://capitalisk.com/): A lightweight quantum-resistant blockchain which is less than 5K lines of code.
- LDEX (https://ldex.trading/): A deterministic decentralized exchange (DEX) which can work with many different blockchain protocols. It's less than 4K lines of code in total and only has 3 small third-party dependencies (including sub-dependencies).
-
Looking for real-time message solution recommendations
The two best lightweight solutions I have worked with are SocketCluster and NATS. SocketCluster is used to build out a custom backend that scales very well. NATS would be used as a central pub/sub system. If you need queueing, you'll need to add additional services like Redis.
-
How to define RPC server with SocketCluster.
In the homepage for SocketCluster it is mentioned that it is a Highly scalable pub/sub and RPC framework optimized for async/await. However in the documentation I have not found anything related to RPC. Am I interpreting anything wrong here?
-
Top WebSocket libraries for Node.js in 2022
At the time of writing, SocketCluster has almost 6k stars on GitHub and 7k downloads on npm weekly,
-
SocketCluster. The most underrated framework. Part 1: Intoduction
SocketCluster is a framework which allows you to use the WebSocket protocol the transmit between its backend API and client library. The client can be used both on a backend (E.g. a Raspberry pi) or frontend application.
What are some alternatives?
Primus - :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
deepstream.io - deepstream.io server
Centrifugo - Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.
peerjs - Simple peer-to-peer with WebRTC.
SockJS - WebSocket emulation - Node.js server
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.
Faye - Simple pub/sub messaging for the web
Mercure - đȘœ An open, easy, fast, reliable and battery-efficient solution for real-time communications
Straw - Realtime processing framework for Node.js
comfyui-mixlab-nodes - Workflow-to-APPăScreenShare&FloatingVideoăGPT & 3DăSpeechRecognition&TTS