thank you for the tests.
Thierry
On Sat, 20 Feb 2016 17:33:14 +
Robert Samuel Newson wrote:
> Hi,
>
> With only the new patch to hlua_applet_tcp_fct, I've altered my msleep call
> to 200 and use apachebench to confirm close to 5 requests per second.
>
> Requests per
Hi,
With only the new patch to hlua_applet_tcp_fct, I've altered my msleep call to
200 and use apachebench to confirm close to 5 requests per second.
Requests per second:4.88 [#/sec] (mean)
So, new patch works for me.
B.
> On 20 Feb 2016, at 17:10, Thierry FOURNIER
Hi,
Thank you Robert for the bug repport, I reproduced the bug perfectly.
Thank you Cyril for the analysis.
For information, the flag CTRLYIELD indicates that the yield is
required by lua automatic interrupt system and not by some function. So
the core must give back the hand to the haproxy core
with those changes, and altering my sleep to 1200;
time curl localhost:6000
hello
curl localhost:6000 0.01s user 0.00s system 0% cpu 1.215 total
I'd say you're on to something :)
> On 19 Feb 2016, at 23:25, Cyril Bonté wrote:
>
> Hi Robert,
>
> I add Thierry to the
Hi Robert,
I add Thierry to the discussion (see below for the details).
Le 19/02/2016 20:15, Robert Samuel Newson a écrit :
Hi,
I think I've found a bug in core.msleep (and core.sleep);
foo.lua;
core.register_service("foo", "http", function(applet)
core.msleep(1)
local body = "hello"
5 matches
Mail list logo