News for hackers. Stuff that matters.
Re:Show HN: 100 LOC Ruby forward proxy using only standard l... by redis_mlc on Monday January 18, 2021 @03:57AM (#25819696)
A reverse proxy waits for a request from another server and responds to the calling server. You can think of a reverse proxy as the "deep backend" in a web stack.

One of the first and most powerful reverse proxies was mod_perl running under httpd. Typically 5 or 6 mod_perl instances can handle requests from 300 normal httpd children.

So when somebody says "forward proxy" they usually mean "not a reverse proxy."

Re:Show HN: 100 LOC Ruby forward proxy using only standard l... by tyingq on Monday January 18, 2021 @08:59AM (#25821813)
Mod_perl doesn't feel like a reverse proxy to me, it's just executing Perl in the Apache process directly. Fastcgi, on the other hand, is passing requests to persistently running standalone Perl instances, over a pipe, Unix domain socket, or tcp connection. Which feels more like a reverse proxy.
Re:Show HN: 100 LOC Ruby forward proxy using only standard l... by mapgrep on Monday January 18, 2021 @09:12AM (#25821939)
Mod_perl would more accurately be called a “commonly reverse proxied app server.” Typical setup was to have another Apache instance in front of it handling static requests and reverse proxying app requests.