jonataslaw / jonataslaw/get_server
Redis support for isolates instances
- Dominant language
- Dart
- Stars
- 484
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Using the isolate method to handle more requests with all CPU si a very good solution when we require to handle many user. This is a problem when we use the WebSocket, because as we know the websocket server need that all client must be connected to the same socket to dispatch messages to other clients.
Let's think about when we need to send a message to all connected clients or in a room. With a single server instance all work fine but if we isolate each instance to run with multiple CPUs this does not work.
Until now I have used NestJS as a backend for my applications, where there is an Adapter that solves just this problem using Redis.
Do you have planned a solution for that?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.