Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    W

    Willy Tarreau

    haproxy.1wt.eu · Personal blog · on HN since 2007

    Willy Tarreau, the author of HAProxy, hosts the load balancer's documentation, release notes, and protocol specifications.

    Visit blogHN submissions
    NetworkingDevOps & CloudOpen Source & Linux
    What HN says

    HN commenters repeatedly point to it as the place to learn about HAProxy and building load-balanced infrastructure, including its SSL support.

    Stats for nerds
    21HN people shared it
    7linked in comments
    38story points
    Apr 2014last shared
    2007people per year2014

    Top posts on HN

    1. 1
      HAProxy can block a 100,000-connection-per-second DoS
      1 person · 26 points · first shared 2008 · 6 comments on HN
    2. 2
      HAProxy version 1.5-dev13 — compression, SSL, and more
      14 people · 9 points · first shared 2007 · Discussion on HN
    3. 3
      HAProxy supports SSL now
      2 people · 2 points · first shared 2008 · Discussion on HN
    4. 4
      Did HAproxy website lose data from 2009?
      1 person · 1 points · first shared 2013 · 1 comments on HN
    5. 5
      Proxy protocol
      2 people · first shared 2011
    6. 6
      Configuration
      1 person · first shared 2013
    7. 7
      Homepage
      1 person · first shared 2013
    8. 8
      LICENSE
      1 person · first shared 2014

    What HN people wrote when they linked it

    • e12eFeb 2014

      > If you start with GPL stuff (and in my experience most of the really good open source software is GPL)

      Much as I prefer the GPL to BSD licences, that sounds odd to me, unless you mean for pretty small values of most. Some best-in-class Free software more or less off the top of my head, that isn't GPL:

      apache (most everything, but lets stick with
      httpd and solr)
      nginx
      openssh
      freebsd
      openbsd
      openssl
      ghc
      go (golang)
      plan9
      PostgreSQL
      redis
      riak
      elasticsearch
      clang/llvm
      v8/chrome

      If you add inn LGPL the list grows, perhaps notably to include erlang and to a certain extent haproxy (I didn't realize licensing had changed, the rationale may be interesting in this context[1]).

      I guess there are a couple of ways to productize GPL software -- one is the RedHat/Canonical approach: use (rather large) resources on testing and creating a coherent whole, including branding (arguably RedHat does more work here than Canonical -- but Canonical certainly aren't the first to try to value-add on top of Debian). The other way is to sell an appliance of some kind. You could say the kindle and even Android fall under this category (as does haproxy, I guess).

      > In such a scenario, any business that needed an off-the-shelf 3D editor or image editor but also developed in-house software (for example, Pixar) would find it in their interest to patch bugs and generally improve the software that they use, even though they don't sell…

    • bayareaguyDec 2007

      I'd suggest writing an add-on or utility for a popular data-managing server. You'll learn a lot and perhaps create something many others can use without having to get in too deep.

      Here are some suggestions. I personally like the databases listed but I put the cache stuff first since thats what you seem to like.

      Cache / Proxy tools:
      http://www.squid-cache.org/
      http://haproxy.1wt.eu/

      Web Servers:
      http://www.apache.org/
      http://www.lighttpd.net/
      http://nginx.net/
      http://www.acme.com/software/thttpd/

      Databases:
      http://www.postgresql.org/
      http://www.sqlite.org/

      Version Control Systems:
      http://subversion.tigris.org/
      http://www.selenic.com/mercurial/wiki/
      http://darcs.net/
      http://git.or.cz/

    • fizxFeb 2013

      Yeah, you want leastconn + app/router affinity. Affinity is the statement that all of your requests for an app go through one router (to avoid distributed connection state tracking).

      In the past, I've accomplished this by having the next layer up consistent hash the api keys onto the router list. If you don't control the top layer (ELB), you need to add a dumb layer just for the hashing.

      HAProxy works great for this extra layer. In practice, all you end up doing is adding a "balance hdr(host)" directive (see http://haproxy.1wt.eu/download/1.5/doc/configuration.txt) to get the hashing right, and you're spending <1ms inside HAProxy.

    • X-IstenceApr 2014

      The Varnish authors have specifically stated they didn't want to introduce SSL into their process because of the added attack surface that adds. [0]

      If you want SSL for Varnish, use something like Pound [1], stunnel [2], or HAProxy [3] to do the SSL termination and pass it off to Varnish...

      I'm partial to Pound because it is lightweight and doesn't try to do any caching, it simply terminates the SSL and passes the request on.

      [0] https://www.varnish-cache.org/docs/trunk/phk/ssl.html

      [1] http://www.apsis.ch/pound

      [2] https://www.stunnel.org/index.html

      [3] http://haproxy.1wt.eu

    • aespinozaMay 2012

      I recommend starting from reading the HAProxy site.
      http://haproxy.1wt.eu/

      It has a ton of information about building a load balanced infrastructure using HAProxy.

      This article helped me too: http://horms.net/projects/has/html/node6.html

      Read some architecture articles from this site: http://highscalability.com

      I am also planning on doing that, so once suppliers allow multiple machines I'll write a blog post about I had to do.

    • scottbruinJan 2013

      Whoops! I definitely said SPDY and definitely meant the PROXY protocol (http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt)

      You can setup stunnel to terminate SSL then append this line to the request that's sent to HAProxy, which will then add an X-Forwarded-For header from that info. This may be relevant to your interests, though: http://www.igvita.com/2012/10/31/simple-spdy-and-npn-negotiation-with-haproxy/

    Related

    Ilya Grigorikigvita.com177 people

    Chrome DevTools could do that?

    Ilya Grigorik
    Personal · last shared 2026
    HAProxy Bloghaproxy.com113 people

    HAProxy 2.0

    HAProxy Blog
    Company · last shared 2026
    Shuveb Hussainunixism.net28 people

    Show HN: ZeroHTTPd: A web server to teach Linux performance, with benchmarks

    Shuveb Hussain
    Personal · last shared 2026
    Rudd-Orudd-o.com17 people

    How ZFS continues to be better than Btrfs.

    Rudd-O
    Personal · last shared 2026
    Linkerd Bloglinkerd.io38 people

    Topology-Aware Service Routing on Kubernetes with Linkerd

    Linkerd Blog
    Company · last shared 2026
    Brandurbrandur.org187 people

    Learning from Terminals to Design the Future of User Interfaces

    Brandur
    Personal · last shared 2026
    Buf Blogbuf.build59 people

    Connect: A Better gRPC

    Buf Blog
    Company · last shared 2026
    Envoy Proxy Blogblog.envoyproxy.io25 people

    Modern network load balancing and proxying

    Envoy Proxy Blog
    Company · last shared 2025