Re:An Analysis of the Performance of WebSockets in Various P...
by 5Qn8mNbc2FNCiVV on Friday November 22, 2024 @11:55PM
(#42219280)
Too bad that uWebsockets was used for Node because a lot of higher level libraries are built on top of https://www.npmjs.com/package/ws
[ Parent
| on HN ]
Re:An Analysis of the Performance of WebSockets in Various P...
by windlep on Saturday November 23, 2024 @12:37AM
(#42219395)
I was able to make a uWebsockets adapter for NestJS pretty easily. It's a bit sensitive of a library to integrate though, a single write when the connection is gone and you get a segfault, which means a lot of checking before writing if you've yielded since you last checked. This was a few years ago, perhaps they fixed that.