e3dio

Results 76 comments of e3dio

Not required I keep Maps/Sets of sockets

You can use [OpenTelemetry](https://github.com/open-telemetry/opentelemetry-js) with any library you want, there is no auto config you need to set it up. You going to leave this issue open? Are you still...

I would try to help but I am confused what exactly you are asking, what do you mean "without letting pubsub on the side" ?

Your options are add more threads and/or add more servers, you can test to determine what combination is best for your app, you are suggesting you want single thread because...

Ok so your question is how to send messages between instances/servers, yes that is something you need to set up, not really that hard, broadcast to each other server what...

This is how you graceful close app + websockets: ```javascript import { App, us_listen_socket_close } from 'uWebSockets.js'; const wsMap = new Map(); let id = 0; const port = 8002;...

Linux has no issue with close and re-open on same port in same process, looks like does not work in Windows, recommend running Linux if you need that

Hey its the lead dev from the ws library :) I think he was referring to the uws library ws.send function tho

Node.js has Process forks with Cluster and Threading with Worker_Threads, neither of these work currently with uWS.js on Windows and I guess MacOS, only works on Linux, though they work...

Probably just requires some effort to add for each platform, Windows has these IO Ports https://docs.microsoft.com/en-us/windows/win32/fileio/i-o-completion-ports