Re: Disconnect database connection after idle timeout
Perrin Harkins <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CAC0_be1aecMCtGbgkdOcqL-bhbDx8_mFGJnN7B-R9WoDGT20=w@mail.gmail.com> |
On Thu, Nov 13, 2014 at 2:41 PM, Xinhuan Zheng <[email protected]> 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