you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 2 years ago (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 2 years ago (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments