Hi,

haproxy 1.4-dev7 is now available. As always, I would have liked
to issue it earlier but when working on the end-to-end keepalive,
I discovered several issues in the client-side keep-alive code
that needed to be fixed, the last one dating one hour ago. So
finally no end-to-end keep-alive in this release yet.

But, there are some nice improvements and new features in this
version :
  - many keep-alive bugs fixed, including one which could cause
    one of the buffer pointers to point to a wrong location in
    some circumstances. Some bugs were fixed in the health check
    and appsession code too. Some major cleanups and reworks
    have occurred too. The Connection header is now handled very
    precisely. Interestingly, all that cleanup work has improved
    performance by avoiding useless operations. The HTTP parser
    now surpasses 2 million requests per second on my Core2Duo
    at 3 GHz (pipelined requests matching a redirect rule). This
    means we have some nice margin for common use ;-)

  - the stickiness code was merged. This code was co-sponsored
    by Exceliance and Loadbalancer.org. It defines a generic
    framework to extract information from requests and responses,
    transform that information, match that info against tables
    and store that info in tables. Right now the most basic
    IP-based stickiness is implemented, but others will come soon
    (eg: headers, SSL ID, ...). It's possible to share stickiness
    tables between multiple backends, effectively making it possible
    to stick multiple protocols together provided that a transitional
    piece of information is available. Please check the doc for more
    info. I'm very confident we'll be able to add many features on
    this basis. It took us a lot of time to find a scalable and
    flexible design, but it was worth it. BTW, please be nice with
    the sponsors, visit their sites and take a look at their products :

          http://www.loadbalancer.org/
          http://www.exceliance.fr/

  - some new MySQL checks have been contributed too. There were some
    discussions on the subject and the code will evolve, but it's
    not a reason not to give it a try and report any issues or
    suggestions you might have.

  - A new "force-persist" statement has been added. It's used with
    ACLs to define some rules allowing a request to be send to a
    down server if it contains a cookie referencing it. This is used
    in order to test servers before opening them to the real world.
    Basically, you'd just have to install your server, set a cookie
    in your browser to reach that server, set another one or match
    on your source IP, and navigate normally your site on that server
    to ensure it's in good shape. Only then you make it respond again
    to health-checks and it's open to the world.

Due to the amount of bugs fixed on the keep-alive since dev5, people
who currently run dev5/dev6 with "option http-server-close" are
strongly encouraged to upgrade to dev7. For other ones, it's just a
matter of curiosity for new features.

Please find it at the usual place :

    http://haproxy.1wt.eu/download/1.4/src/

Willy


Reply via email to