Hacker GitHub

← All repos

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

Mentions per year 13 mentions · busiest year 2015 (4)
20082026
  1. …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…
  2. …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…
  3. …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
  4. …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
  5. …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
  6. ▲ 1
    Node.js WebSocket Crashes Server – Dev Won't Pull Patch: Who Is Right?
    story by marknadal · 2019-07-12 · 0 comments
  7. 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)
  8. …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…
  9. …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.…
  10. 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
  11. 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
  12. …[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
  13. 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