| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
High-performance TCP/UNIX proxy with Zstd compression, with Node.js bindings.
Optimized for a low count (< 100) of medium-lived connections (~ 3 minutes) with high-throughput (~ 500Mbps) and low-latency requirements (< 1ms). It uses io_uring on Linux with fixed buffers to transmit without any syscall.
An optional zero-copy send mode can be enabled, but it requires Linux 6 and seems to crash on ARM.
$ zstd-proxy --listen=9001 --connect=9002 --compress=listen$ zstd-proxy --listen=9002 --connect=9003 --compress=connectimport { zstdProxy } from 'zstd-proxy'
createServer({ pauseOnConnect: true })
.on('connection', server => {
const client: Socket = connect(9002)
.on('connect', () => zstdProxy({ compress: server, to: client }))
})
.listen(9001)import { zstdProxy } from 'zstd-proxy'
createServer({ pauseOnConnect: true })
.on('connection', server => {
const client: Socket = connect(9003)
.on('connect', () => zstdProxy({ compress: client, to: server }))
})
.listen(9002)| Back | FazBrowse Home | New Git URL |