You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Especially when using a proxy server (Caddy/Nginx), unix sockets can lead to significant performance improvements since all the extra HTTP + port setup goes away. In my tests, I saw a 2x performance improvement between the TCP port and Unix socket implementation, with Unix sockets being faster.
The text was updated successfully, but these errors were encountered:
Bun natively supports serving over a unix socket: https://bun.sh/docs/api/http#unix-domain-sockets
Especially when using a proxy server (Caddy/Nginx), unix sockets can lead to significant performance improvements since all the extra HTTP + port setup goes away. In my tests, I saw a 2x performance improvement between the TCP port and Unix socket implementation, with Unix sockets being faster.
The text was updated successfully, but these errors were encountered: