Fri 25 Aug 2006
HAProxy - Надежный, высокопроизводительный балансировщик нагрузки для TCP/HTTP
Posted by Scoundrel under Networks ·
Пока я проводил тестирование производительности различных схем запуска проектов на Ruby on Rails, я наткнулся на очень интересное ПО - HAProxy.
HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high
availability environments. Indeed, it can :
- route HTTP requests depending on statically assigned cookies ;
- spread the load among several servers while assuring server persistence
through the use of HTTP cookies ;
- switch to backup servers in the event a main one fails ;
- accept connections to special ports dedicated to service monitoring ;
- stop accepting connections without breaking existing ones ;
- add/modify/delete HTTP headers both ways ;
- block requests matching a particular pattern ;It needs very little resource. Its event-driven architecture allows it to easily
handle thousands of simultaneous connections on hundreds of instances without
risking the system’s stability.
Что касается меня, я был очень впечатлен производительностью HAProxy и хочу посоветовать Вам попробовать его в своих проектах, связанных с high-availability решениями. Данный балансировщик обладает очень хорошей производительностью и набором функциональности - взгляните на него и, возможно, он сможет помочь Вам сделать вашу систему быстрее и стабильнее!
- 32bit VS 64bit - what do you use?
- В Поисках Оптимального Решения: Результаты Тестирования и Выводы
- Found an Ideal I/O Scheduler for my MySQL boxes
- The Superbrowser - Firefox with 100 extensions installed
- Список 1000 (84) Лучших Советов по Производительности MySQL с MySQL Camp 2006
August 25th, 2006 at 5:51 pm
Willy Tarreau made this software, and he’s our new 2.4 kernel maintainer. That sounds prommising
August 25th, 2006 at 6:17 pm
Yeah! And IMHO, this software has really great internal architecture!
August 31st, 2006 at 9:11 pm
I completly agree.
September 17th, 2006 at 10:02 am
Hi …
I’ve heard so much of HA Proxy … many websites talks about it, recomment to use it … I have checked the web sites, read the manuals and … guess what … not a single example or configuration file in the whole world wide web :))
any one knows of some samples on how to use it?
thanks,
Jean
November 28th, 2007 at 12:13 pm
Jean Verger Says >> not a single example or configuration file in the whole world wide web :))
On this article you may find example of configuration HAProxy^:
http://howtoforge.com/high-availability-load-balancer-haproxy-heartbeat-debian-etch
February 11th, 2008 at 9:07 pm
This software seems perfect for my needs but after studying the readme’s and docs for an hour I am no closer to even understanding how you install it. I checked out the above article but that’s Debian and I’m running Centos 5.1, I tried running it install as:
make TARGET=linux26 CPU=i686 REGEX=static-pcre
..but that does not work for some reason :(.
May 3rd, 2008 at 11:26 pm
Hi IAN, just go to http://haproxy.1wt.eu/ and download the binary glibc 2.2 version, and run it! You don’t even need to compile it