websockets/ws
View on GitHub ↗ ★ 22,821 JavaScript
Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
13 mentions on Hacker News by 12 people: 1 story, 12 comments · first 2015-07-15 · latest 2024-11-23
20082026
-
…with node bindings) outperforms the raw C++ uWebSockets implementation. It's also interesting that https://github.com/websockets/ws does not appear in this study, given that in the node ecosystem it is ~3x more likely to be used (not a…
comment by simpaticoder · 2024-11-23 · in An Analysis of the Performance of WebSockets in Various Programming Languages (2021) -
…decisions -- it feels really nice to use, if a bit limiting sometimes. I use the 'ws' package ( https://github.com/websockets/ws ) to implement a WebSocket server which is used to help the peers get connected over WebRTC. Once peers are…
comment by feross · 2020-06-03 · in Show HN: Virus Cafe – Make a friend in 2 minutes -
…work better than it does on WebSockets[0], because I haven't had much luck with that. [0]: https://github.com/websockets/ws/issues/492
comment by anderspitman · 2020-04-30 · in WebWormHole: Send files quickly using WebRTC -
…and routing. I think you could get a long way using HTTP/2 and server-sent events. [0]: https://github.com/websockets/ws/issues/492 EDIT: added link to bufferedAmount issue
comment by anderspitman · 2020-04-23 · in Cap'n Proto 0.8: Streaming flow control, HTTP-over-RPC, fibers -
…SequelizeJS - https://sequelize.org/master/ Slonik - https://github.com/gajus/slonik WS - https://github.com/websockets/ws Socket.io - https://socket.io/
comment by truth_seeker · 2019-09-10 · in Running GitHub on Rails 6.0 -
▲ 1
Node.js WebSocket Crashes Server – Dev Won't Pull Patch: Who Is Right?story by marknadal · 2019-07-12 · 0 comments
-
Which must be doubly frustrating since they have a copy of https://github.com/websockets/ws in the node_modules folder, and that has the appropriate license text (MIT in that case)
comment by dsp1234 · 2017-04-25 · in Tell HN: Discord is violating open source licenses -
…as lightweight as uws because ws is built on top of `net.Socket` but I think you hit this ws issue https://github.com/websockets/ws/issues/804 in the WebTorrent tracker. I think ws will use 3/4 times more memory than uws with…
comment by lpinca · 2017-02-04 · in More than one million requests per second in Node.js -
…there aren't many existing native HTTP modules for NodeJS. Found websockets/was as an alternative https://github.com/websockets/ws It would be a fun experiment to implement a native HTTP module in Rust using Neon.…
comment by jterry · 2017-02-04 · in More than one million requests per second in Node.js -
If possible, consider leaving socket.io. If you can, check out https://github.com/websockets/ws .
comment by angersock · 2015-09-17 · in Node v4.1.0 -
I use [ws]( https://github.com/websockets/ws ). I've never had any trouble with it, and it benchmarks well. Of course, there's no fallback there; just websockets. I haven't seen a websocket+fallback lib that seems like it will work well.…
comment by thedufer · 2015-07-16 · in Socket.IO P2P -
…[2] https://github.com/faye/faye-websocket-node [3] http://faye.jcoglan.com/ [4] https://github.com/websockets/ws [5] https://github.com/primus/primus
comment by leggetter · 2015-07-15 · in Socket.IO P2P -
We use ws( https://github.com/websockets/ws ) in prod. Clean, fast, and simple. Plus it supports browsify using native implementation but wraps it to fit the server side api.
comment by efbenson · 2015-07-15 · in Socket.IO P2P