Hello, I am evaluating HAProxy for an application which utilizes persistent TCP connections. We often go days, weeks, or even months without causing a TCP disconnect/reconnect. Any issues I should be aware of before I get too far down the pat... 続きを読む
2011年11月24日 HAProxy(1.4)でMemcachedの負荷分散(障害時の切り離しも) Tweet HAProxy(1.4)でMySQLの自動フェイルオーバーにあわせて接続先を変更の記事に引き続き、 Memcachedも試してみました。 HAProxyの設定ファイル(/etc/haproxy/haproxy.cfg)は下記のよ... 続きを読む
haproxy には起動後に設定ファイルを読み込み直したりする機能がないので、バランス先を追加するなどの変更が無停止ではできない、と思い込んでいたのだけど実は違った、というお話。実際、同一プロセスで読み込み直すことはできないのだけども、以下のような手... 続きを読む
年に一度の Perl のお祭り YAPC::Asia で発表してきました。スライドはこちら (IE以外のブラウザ推奨) Perlで構築された中規模サイトのDC引っ越し記録 100万PV/日、数十Mbps 程度の中規模サイトを サーバ構成をリファクタリングしつつ なるべく止めずに 新DCに... 続きを読む
As of version 1.2.8, a new soft-reconfiguration mechanism has been introduced. It is now possible to “pause” all the proxies by sending a SIGTTOU signal to the processes. This will disable the listening socket without breaking existing conn... 続きを読む
HAProxyでMySQL HA on Amazon EC2 - Presentation Transcript HAProxy MySQL HA on Amazon EC2 @ijin @ijin • Michael H. Oshita • • 8 • • EC2 MySQL HA EC2 MySQL HA • MySQL Multi-Master • Amazon RDS (multi-AZ) MySQL Master- Master (MMM) DNS We... 続きを読む
入社4年目にもなってtech.kayac初登場のせいです。 ブログ書けプレッシャーにとうとう屈する時がきました。 これで夢にkyo_agoが出てうなされなくてすみます。(彼はtech.kayacの尻たたき担当でした) 先々月「ぼくらの甲子園!熱闘編」というゲームをモバゲー内に... 続きを読む
HAProxy, MySQL, Linux久しぶりに自宅サーバにアクセスしてみたら、DB 接続系のアプリが軒並み 500 エラーになってしまっていました。慌てて調べますが、Rails アプリのログにも、HAProxy のログにも特に異常は見られません。ためしにコマンドラインから DB へ... 続きを読む
Recently I wanted to load balance a TCP service i.e. not http, in the past I’ve used ultramonkey but there doesn’t seem to be any maintained Redhat/Centos packages. After some googling I found that haproxy can balance non-http services but ... 続きを読む
If you administer a MySQL server chances are you’ve seen it go astray. A some point in time for no apparent reason, maybe for a traffic spike, the number of running queries starts snowballing until MySQL eats 100% of your CPU grinding your w... 続きを読む
HAProxyを使ってMySQLを冗長化してみる。サーバ構成HAProxyのインストール wget http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.10.tar.gz tar xf haproxy-1.4.10.tar.gz cd haproxy-1.4.10 make TARGET=linux26 make install cp examples/haproxy.init /... 続きを読む
負荷分散ソフト!HAProxy 検証時に使用しました。 メモとして... --------------------------------- ■概要(http://haproxy.1wt.eu/) --------------------------------- HAProxy is a free, very fast and reliable solution offering high availability, loa... 続きを読む
Putting up a maintenance page while you are doing an update and restarting your application servers is good practice, but it definitely hurts the user experience. This, in turn, translates to less frequent releases and frustration for both th... 続きを読む
Setting Up A High-Availability Load Balancer (With Failover And Session Support) With HAProxy/Keepalived On Debian Lenny Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Last edited 05/12/2009 This article explains how to set up... 続きを読む
A brand new Rails/Merb app you put together over a weekend, a pack of Mongrels, a reverse proxy (like Nginx), and you're up and running. Well, almost, what about that one request that tends to run forever, often forcing the user to double che... 続きを読む
The adventures of scaling, Stage 1 March 13th What is this series about? While a couple of high-traffic sites are being powered by Rails and while the Rails book has a handful of instructions to scale your application, it was apparent for us ... 続きを読む
Until the time comes when Amazon will offer a load balancing service in their EC2 environment, people are forced to use a software-based load balancing solution. One of the most common out there is HAProxy. I've been looking at it for the pas... 続きを読む
HAProxyhttp://haproxy.1wt.eu/ TCPサーバ用のロードバランサーとしてHAProxyを利用できないか調査中です。LVSなどのL4ロードバランサーだと、IPアドレス・ポートの情報しかないため、HTTPヘッダ等の情報から柔軟に分散をすることができません。 そこでL7であれ... 続きを読む
The adventures of scaling, Stage 1 March 13th What is this series about? While a couple of high-traffic sites are being powered by Rails and while the Rails book has a handful of instructions to scale your application, it was apparent for us ... 続きを読む
よさげな Proxy & Load banalser。試してみようと早速 ports/net/haproxy を導入。お約束で /etc/rc.conf に haproxy_enable="YES" を追加して終了。設定ファイルを examples/haproxy.cfg から /usr/local/etc/haproxy.conf にコピーして適当にエディットした... 続きを読む
Reliable, High Performance TCP/HTTP Load Balancer 続きを読む