Commit graph

5 commits

Author SHA1 Message Date
Bartek Iwańczuk
da1bf978f0
feat: add tcpBacklog arg to Deno.listen{Tls} and Deno.serve (#30541)
This commit adds `tcpBacklog` argument to `Deno.listen`,
`Deno.listenTls` and `Deno.serve` APIs.

The argument specifies maximum number of pending connections in the
listen queue, and by default is set to 511. 

Users that expect huge bursts of traffic can customize this
option to a higher value.

Ref https://github.com/denoland/deno/pull/30471
Closes https://github.com/denoland/deno/issues/30388
2025-08-28 09:43:20 +02:00
Bartek Iwańczuk
278a83f85e
perf(ext/net): change the default TCP backlog to 512 (#30471)
This change increases default socket backlog from 128 to 512.

Towards https://github.com/denoland/deno/issues/30388.
2025-08-21 07:01:50 +00:00
Kenta Moriuchi
8fb073d7b4
chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
findmyhappy
ce4a7773cc
docs: fix some typos in comments (#23520) 2024-04-30 17:59:56 +10:00
Matt Mastracci
47061a4539
feat(ext/net): Refactor TCP socket listeners for future clustering mode (#23037)
Changes:

- Implements a TCP socket listener that will allow for round-robin
load-balancing in-process.
 - Cleans up the raw networking code to make it easier to work with.
2024-04-08 16:18:14 -06:00