Complete rewrite of HAProxy in Lua

2015-04-01 Thread Willy Tarreau
Hi, As some might have noticed, HAProxy development is progressively slowing down over time. I have analyzed the situation and came to the following conclusions : - the code base is increasing and is becoming slower to build day after day. Ten years ago, version 1.1.31 was only 6716 lines

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Franky Van Liedekerke
I bought the whole thing ... until I realized the date ... (and I'm older than you Willy ;-) ) You should've gone turbopascal on me :-D Franky

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread William Lallemand
On Wed, Apr 01, 2015 at 10:43:47AM +0200, Willy Tarreau wrote: In the end, of the current HAProxy will only remain the Lua engine, and probably by then we'll find even better ones so that haproxy will be distributed as a Lua library to use anywhere, maybe even on IoT devices if that makes

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Willy Tarreau
On Wed, Apr 01, 2015 at 11:00:10AM +0200, Franky Van Liedekerke wrote: I bought the whole thing ... until I realized the date ... (and I'm older than you Willy ;-) ) You should've gone turbopascal on me :-D I loved it as well, it was easy to write clean and efficient code. Cheers, Willy

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Chris Allen
Great one :) I was 10 seconds away from forwarding this to our web teams :) On 01/04/2015 09:43, Willy Tarreau wrote: Hi, As some might have noticed, HAProxy development is progressively slowing down over time. I have analyzed the situation and came to the following conclusions : - the

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Olivier
I'd prefer a complete rewrite of HAProxy in JavaScript. We would be able to make it run on all platform (hello windows), and with a simple browser tab left open :( 2015-04-01 11:40 GMT+02:00 Chris Allen ch...@cjx.com: Great one :) I was 10 seconds away from forwarding this to our web teams :)

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Matt .
Good luck! (good to hear about this progress) 2015-04-01 10:43 GMT+02:00 Willy Tarreau w...@1wt.eu: Hi, As some might have noticed, HAProxy development is progressively slowing down over time. I have analyzed the situation and came to the following conclusions : - the code base is

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Matthew Wild
Hi Willy, On 1 April 2015 at 09:43, Willy Tarreau w...@1wt.eu wrote: Recently with the Lua addition, we found it to be quite fast. Maybe not as fast as C, but Lua is improving and C skills are diminishing, so I guess that in a few years the code written in Lua will be much faster than the

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Pedro Mata-Mouros
On 1 Apr 2015, at 09:43, Willy Tarreau w...@1wt.eu wrote: we'll train the sales people to write Lua as well in order to speed up development. You got me going good until I read this. :-) Nice one Willy. Pedro.

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Malcolm Turnbull
Ok. My immediate thought was.. Oh crap we are going to have to fork haproxy and hire loads of C developers! Then when someone mentioned what day it was I felt incredible relief :-). Nice joke. Well executed. On 1 Apr 2015 10:06, Baptiste bed...@gmail.com wrote: I'll have to find a way to code

Re: Complete rewrite of HAProxy in Lua

2015-04-01 Thread Baptiste
I'll have to find a way to code buffer overflows in LUA! Baptiste

Re: [haproxy]: Performance of haproxy-to-4-nginx vs direct-to-nginx

2015-04-01 Thread Willy Tarreau
Hi, On Mon, Mar 30, 2015 at 10:43:51AM +0530, Krishna Kumar Unnikrishnan (Engineering) wrote: Hi all, I am testing haproxy as follows: System1: 24 Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz, 64 GB. This system is running 3.19.0 kernel, and hosts the following servers: 1.

Re: setup https session via proxy remote

2015-04-01 Thread Abdelouahed Haitoute
Dear community, Is it possible to let the backend start a new https-session on with the CONNECT method? We’d like to get this setup in production. But unfortunately the proxy remote issue is the only thing that stand in our way. Any help is welcome. Abdelouahed Op 31 mrt. 2015, om 15:22

SUBSCRIBE

2015-04-01 Thread josef Karliak
-- Bc. Josef Karliak Správa sítě a elektronické pošty Fakultní nemocnice Hradec Králové Odbor výpočetních systémů Sokolská 581, 500 05 Hradec Králové Tel.: +420 495 833 931, Mob.: +420 724 235 654 e-mail: josef.karl...@fnhk.cz, http://www.fnhk.cz

[no subject]

2015-04-01 Thread Claudio Ruggieri
[http://www.intesys.it/firme/logo_inetworking.jpg] Claudio Ruggieri | System Specialist Intesys Networking - Via Roveggia 122 A - 37136 Verona Tel. 045 8205513 | Fax 045 503604 claudio.ruggi...@inetworking.it www.inetworking.ithttp://www.inetworking.it [Great Place to

Agent-check not working with backend HTTPS

2015-04-01 Thread Claudio Ruggieri
Hi all, I have a problem with agent-check, in my haproxy installation. Ubuntu Server 14.04 LTS with haproxy 1.5.3-1~ubuntu14.04.1 HAProxy is configured with 2 backends: one http e one https. Agent-check is a script bash that simply return a percentage. HTTP backend works fine. HTTPS backend

Re: Agent-check not working with backend HTTPS

2015-04-01 Thread Baptiste
On Wed, Apr 1, 2015 at 4:13 PM, Claudio Ruggieri claudio.ruggi...@inetworking.it wrote: Hi all, I have a problem with agent-check, in my haproxy installation. Ubuntu Server 14.04 LTS with haproxy 1.5.3-1~ubuntu14.04.1 HAProxy is configured with 2 backends: one http e one https.

Re: Agent-check not working with backend HTTPS

2015-04-01 Thread Malcolm Turnbull
Claudio, I just tested this on HAProxy 1.6 Dev0 and the bug is fixed (along with several others)... It was spotted by someone a few months ago that an SSL re-encrypted real server would force agent checks to https (incorrectly) On 1 April 2015 at 16:21, Claudio Ruggieri

R: Agent-check not working with backend HTTPS

2015-04-01 Thread Claudio Ruggieri
I check with tcpdump: it seems that agent-check in the https backend try to do a SSL connection. My agent is a simple TCP socket without SSL. However I managed to open an SSL socket, but I still have errors: E SSL_accept(): error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not

Re: [WIP], MEDIUM: backend: Option to redispatch on every retry

2015-04-01 Thread Joseph Lynch
Hello, For some background we've been running a fork with this patch in production and it seems to be pretty stable (no issues so far). I've been testing it in our dev/staging environments by using iptables to kill machines and this change does appear to bring down the latency hit for the

Re: Agent-check not working with backend HTTPS

2015-04-01 Thread Cyril Bonté
Hi all, Le 01/04/2015 18:09, Malcolm Turnbull a écrit : Claudio, I just tested this on HAProxy 1.6 Dev0 and the bug is fixed (along with several others)... It was spotted by someone a few months ago that an SSL re-encrypted real server would force agent checks to https (incorrectly) Yes