perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <phark...@gmail.com>
Subject Re: Disconnect database connection after idle timeout
Date Thu, 13 Nov 2014 21:54:05 GMT
On Thu, Nov 13, 2014 at 2:41 PM, Xinhuan Zheng <xzheng@christianbook.com>
wrote:

> From the description of the document, the “proxy” server acts much like a
> memcache but it appears the difference is the “proxy” understands the HTTP
> protocol while memcache does not.


Not exactly. While it is possible to do some caching in a proxy like this,
the more important thing it does is buffering the content, and possibly
serving static requests for JavaScript and images. That frees up the
mod_perl processes to move on to another request. This is the same process
model used by most other systems, like FastCGI or nginx + Starman.


> Would you think this “proxy” server sitting in front of the front end
> server but behind the load balancer?


Yes, it goes between your load balancer and your mod_perl server.

- Perrin

Mime
View raw message