<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Apache will work, but these days the
      "standard" way to setup a wsgi python service is to start nginx
      and use it as a gateway, then have Flask running in a pool of wsgi
      servers like gunicorn. So your setup would look like this:<br>
      <br>
      internet -> nginx (http gateway) port 80/443 -> gunicorn
      (Flask app) listening on a pool of localhost only ports, say
      5000-5010.<br>
      <br>
      Nginx then does the load balancing between workers, terminating
      TLS, etc. You can do this with apache too of course, but it's
      pretty heavy for this architecture.<br>
      <br>
      On 12/19/2016 09:18 AM, Aaron Elmquist wrote:<br>
    </div>
    <blockquote
cite="mid:CAPrZ9un=kbUyiSt0m9jQXnCOC1EneOJzakJZtcJmo9ZGN=e==g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Thanks again for all your thoughts on virtual hosting.  I
          spun up my first Ubuntu droplet on DigitalOcean this weekend. 
          It was super simple.  Also, a quick web search for a promo
          code provided a $15 credit towards the new account.  <br>
          <br>
        </div>
        I have final question related to this topic.  What web server
        should I pick for a flask application that will see little
        traffic, but be computational intensive?  I'm guessing Apache
        just because it has a threaded architecture, but that's probably
        too simplistic.  <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Dec 15, 2016 at 11:21 PM, Lane
          Campbell <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:lane@strapr.com" target="_blank">lane@strapr.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">I've been using DO for years and had nothing
              but positive experiences with their platform. 
              <div><br>
              </div>
              <div>It's also easy to learn their dashboard compared to
                nearly every other cloud provider out there.  </div>
            </div>
            <div class="gmail_extra"><br clear="all">
              <div>
                <div class="m_2539689595042887384gmail_signature"
                  data-smartmail="gmail_signature">
                  <div dir="ltr"><br>
                    Regards,<br>
                    Lane Campbell<br>
                    <a moz-do-not-send="true"
                      href="tel:%28312%29%20775-2632"
                      value="+13127752632" target="_blank">(312)
                      775-2632</a></div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <br>
                  <div class="gmail_quote">On Thu, Dec 15, 2016 at 6:02
                    PM, Jordan Bettis <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:jordanb@hafd.org" target="_blank">jordanb@hafd.org</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000">
                        <div
                          class="m_2539689595042887384m_475616524223908737moz-cite-prefix">The
                          only bad thing I ever heard about DO is
                          apparently at the beginning they weren't
                          zeroing the disk between customers and, when
                          caught, were evasive and defensive. I don't
                          have personal experience with them though and
                          if that was their only "hiccup" it's pretty
                          mild compared to all the things that have gone
                          down at linode.
                          <div>
                            <div class="m_2539689595042887384h5"><br>
                              <br>
                              On 12/15/2016 03:14 PM, Carl Karsten
                              wrote:<br>
                            </div>
                          </div>
                        </div>
                        <blockquote type="cite">
                          <div>
                            <div class="m_2539689595042887384h5">
                              <div dir="ltr">
                                <div class="gmail_extra"><br>
                                  <div class="gmail_quote">On Thu, Dec
                                    15, 2016 at 2:51 PM, Jordan Bettis <span
                                      dir="ltr"><<a
                                        moz-do-not-send="true"
                                        href="mailto:jordanb@hafd.org"
                                        target="_blank">jordanb@hafd.org</a>></span>
                                    wrote:<br>
                                    <blockquote style="margin:0px 0px
                                      0px 0.8ex;border-left:1px solid
                                      rgb(204,204,204);padding-left:1ex"
                                      class="gmail_quote">
                                      <div
                                        class="m_2539689595042887384m_475616524223908737gmail-a3s
                                        m_2539689595042887384m_475616524223908737gmail-aXjCH
m_2539689595042887384m_475616524223908737gmail-m159044ac9b62feeb"
                                        id="m_2539689595042887384m_475616524223908737gmail-:315">I'm
                                        a longtime linode user, slowly
                                        transitioning away. I would not<br>
                                        recommend them. They've had an
                                        absolutely horrible security
                                        track record.</div>
                                    </blockquote>
                                  </div>
                                  <br>
                                </div>
                                <div class="gmail_extra">Jordan - any
                                  thoughts on Digital Ocean?</div>
                                <div class="gmail_extra"><br>
                                  Aaron - Ubutu, or really I would say
                                  Debian for a server unless you know
                                  you need something else, in which case
                                  you would not be asking ;)<br>
                                  <br>
                                  for a little write up on why Ubuntu,
                                  look at the bottom for "Which Distro?"<br>
                                  <a moz-do-not-send="true"
                                    href="https://wiki.ubuntu.com/CarlKarsten"
                                    target="_blank">https://wiki.ubuntu.com/CarlKa<wbr>rsten</a><br
                                    clear="all">
                                  <br>
                                  -- <br>
                                  <div
                                    class="m_2539689595042887384m_475616524223908737gmail_signature">
                                    <div dir="ltr">
                                      <div>
                                        <div dir="ltr">
                                          <div>Carl K<br>
                                            <br>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                              <br>
                              <fieldset
                                class="m_2539689595042887384m_475616524223908737mimeAttachmentHeader"></fieldset>
                              <br>
                            </div>
                          </div>
                          <span>
                            <pre>______________________________<wbr>_________________
Chicago mailing list
<a moz-do-not-send="true" class="m_2539689595042887384m_475616524223908737moz-txt-link-abbreviated" href="mailto:Chicago@python.org" target="_blank">Chicago@python.org</a>
<a moz-do-not-send="true" class="m_2539689595042887384m_475616524223908737moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/chicago" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/chicago</a>
</pre>
                          </span></blockquote>
                        <br>
                      </div>
                      <br>
                      ______________________________<wbr>_________________<br>
                      Chicago mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Chicago@python.org" target="_blank">Chicago@python.org</a><br>
                      <a moz-do-not-send="true"
                        href="https://mail.python.org/mailman/listinfo/chicago"
                        rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/chicago</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Chicago mailing list<br>
            <a moz-do-not-send="true" href="mailto:Chicago@python.org">Chicago@python.org</a><br>
            <a moz-do-not-send="true"
              href="https://mail.python.org/mailman/listinfo/chicago"
              rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/chicago</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Chicago mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Chicago@python.org">Chicago@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/chicago">https://mail.python.org/mailman/listinfo/chicago</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>