352
you are viewing a single comment's thread
view the rest of the comments
[-] 30p87@feddit.de 5 points 2 weeks ago

I wish everything would just default to a unix socket in /run, with only nginx managing http and stream reverse sockets.

[-] verstra@programming.dev 4 points 2 weeks ago

Wait, but if you have, for example an HTTP API and you listen on a unix socket in for incoming requests, this is quite a lot of overhead in parsing HTTP headers. It is not much, but also cannot be the recommended solution on how to do network applications.

[-] WaterWaiver@aussie.zone 1 points 2 weeks ago

Replacing a TCP socket with a UNIX socket doesn't affect the amount of headers you have to parse.

this post was submitted on 24 Jun 2024
352 points (96.8% liked)

Programmer Humor

18388 readers
594 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS