Http vs fcgi vs fcgi+unix

This is my first post in this forum so please bear with me. Maybe this is more of a general proxy question, but I hope you have some experience and have come across this as well.

Please note that I do not require help setting up a reverse proxy.

I’ve noticed that gitea allows me to set a bunch of different protocols: http, https, fcgi, http+unix, fcgi+unix.

I am wondering if you have any experience with performance differences when setting up a reverse proxy (in my case Apache) using:

  • http
  • fcgi
  • fcgi+unix

In theory fcgi+unix should be the most performant, because it doesn’t have the overhead for TCP, but I don’t know if this protocol gets the same love as http (in gitea).

But maybe a socket has other limitations that I am not aware of.

What’s your take on this?

I am also ok with moving this topic to #uncategorized