# WebSocket servers in JavaScript: Node.js, Bun and Deno in 2026

DevFeed: [WebSocket servers in JavaScript: Node.js, Bun and Deno in 2026](<https://devfeed.tech/articles/websocket-servers-in-javascript-node-js-bun-and-deno-in-2026-84487.md>)

Original publisher: [Read original article](<https://lemire.me/blog/2026/10/10/websocket-servers-in-javascript-node-js-bun-and-deno-in-2026/>)

Author: Daniel Lemire

Published: 2026-10-10T08:56:11Z

Content type: comparison

Language: en

Sources: [Daniel Lemire](<https://devfeed.tech/sources/daniel-lemire.md>)

Topics: [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Bun](<https://devfeed.tech/topics/bun.md>), [Deno](<https://devfeed.tech/topics/deno.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>)

Tags: [bun](<https://devfeed.tech/tags/bun.md>), [deno](<https://devfeed.tech/tags/deno.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

## AI overview

This benchmark compares WebSocket server performance using Node.js with uWebSockets.js, Bun's built-in server, and Deno's built-in server. In a single-core ping-pong test with C clients, Node.js reached 49,000 round trips per second, compared with 40,000 for Deno and 37,000 for Bun; the reported 99th-percentile times were 24.8, 32.0, and 46.4 microseconds, respectively.

## Source excerpt

WebSocket is a standard protocol to hook up a client and a server in a persistent manner. It is commonly used for live chat, notifications, multiplayer games, collaborative editing, and streaming dashboards. Many servers are written in JavaScript and use Node.js, Bun or Deno as an engine. A few years ago, I wrote a simple ... Continue reading WebSocket servers in JavaScript: Node.js, Bun and Deno in 2026