<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Try to separate your concerns as much
      as possible, as you describe, and avoid programs that want to do
      everything for you. <br>
      <br>
      For example, I happily use nginx for all sorts of simple things,
      but if you try to make it be a reverse-proxy, a cache and and an
      HA mechanism at the same time, you will find yourself like a
      customer of mine, madly trying to figure out what options
      interacted to send the Akamai budget through the roof (;-))<br>
      <br>
      --dave<br>
      <br>
      <br>
      On 21/12/17 01:15 PM, Alvin Starr via talk wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:a5e436db-25b8-e0db-7dc5-bfd190b72f97@netvel.net">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      On 12/21/2017 12:30 PM, o1bigtenor via talk wrote:<br>
      <blockquote type="cite"
cite="mid:CAPpdf598QoM7x=VBiqs14wWMrpwA1nQ9FmfwoL1faSbUpUCPwA@mail.gmail.com">
        <div dir="ltr"><br>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Thu, Dec 21, 2017 at 9:21 AM,
              Greg Martyn via talk <span dir="ltr"><<a
                  href="mailto:talk@gtalug.org" target="_blank"
                  moz-do-not-send="true">talk@gtalug.org</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex"><br>
                <div dir="ltr">Has anyone run Apache Traffic Server in
                  production? I've used it for a proof-of-concept
                  before, and I like it overall, but I'm about to
                  recommend its use and would like to hear any horror
                  stories.
                  <div><br>
                  </div>
                  <div>I'm planning on using it as a reverse proxy cache
                    for a site that is expected to have a couple tens of
                    thousands of active users at peak. I'd have HAProxy
                    in front for HA, with a mirror setup of everything
                    below it, talking to ATS, with another HAProxy
                    behind ATS for load balancing the origin servers.</div>
                  <div><br>
                  </div>
                  <div>Any comments welcome.</div>
                  <br>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>Most definitely NOT speaking as an expert but in my
                perambulations around the web I have found mention of
                using nginx WITH apache2 specifically in some kind of a
                reverse proxy cache system/mode.<br>
                <br>
                <a
href="https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-reverse-proxy-for-apache"
                  moz-do-not-send="true">https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-reverse-proxy-for-apache</a><br>
                <br>
                <a
href="https://serverfault.com/questions/30705/how-to-set-up-nginx-as-a-caching-reverse-proxy"
                  moz-do-not-send="true">https://serverfault.com/questions/30705/how-to-set-up-nginx-as-a-caching-reverse-proxy</a><br>
              </div>
              <div>   seems to have a fair amount of suggestions<br>
                <br>
                <a
href="https://www.nginx.com/resources/wiki/start/topics/examples/reverseproxycachingexample/"
                  moz-do-not-send="true">https://www.nginx.com/resources/wiki/start/topics/examples/reverseproxycachingexample/</a><br>
                <br>
                <a
href="https://guides.wp-bullet.com/how-to-configure-nginx-reverse-proxy-wordpress-cache-apache/"
                  moz-do-not-send="true">https://guides.wp-bullet.com/how-to-configure-nginx-reverse-proxy-wordpress-cache-apache/</a>
                <br>
              </div>
              <div>   lots of setup stuff available here<br>
                <br>
              </div>
              <div>I was using <br>
                <br>
                nginx + apache2 + reverse proxy cache<br>
              </div>
              <div>   in duckduck<br>
                <br>
                apache2 + reverse proxy cache <br>
              </div>
              <div>   seems to offer less proposals than the previous<br>
              </div>
              <div><br>
              </div>
              <div>Perhaps this coupling would work for you. <br>
                <br>
              </div>
              <br>
            </div>
          </div>
        </div>
      </blockquote>
      <br>
      To add another data point I have used squid as a reverse proxy on
      a couple of high traffic project over the years.<br>
      <br>
      I wonder about caching and if there is a gain when you have
      multiple back end servers.<br>
      If your caching proxy server pushes the data out to a disk cache
      then it may not be much faster than getting the data from the 
      directly connected web server.<br>
      The proxy server is a operating off a single disk for that data
      where N web servers are operating off of N disks.<br>
      <br>
      One of the things to be said for a simple non-caching proxy like
      HAProxy is that it is small and fast.<br>
      As soon as you start caching you need to handle lots of corner
      cases like what to do with requests with big results.<br>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Alvin Starr                   ||   land:  (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
<a class="moz-txt-link-abbreviated" href="mailto:alvin@netvel.net" moz-do-not-send="true">alvin@netvel.net</a>              ||

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">---
Talk Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:talk@gtalug.org">talk@gtalug.org</a>
<a class="moz-txt-link-freetext" href="https://gtalug.org/mailman/listinfo/talk">https://gtalug.org/mailman/listinfo/talk</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
<a class="moz-txt-link-abbreviated" href="mailto:davecb@spamcop.net">davecb@spamcop.net</a>           |                      -- Mark Twain
</pre>
  </body>
</html>