Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 11:01:41 +0300
From:      Stefan Parvu <sparvu@systemdatarecorder.org>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: rrdtool and lua on FreeBSD 10.x anyone ?
Message-ID:  <20140630110141.6829a3f68d66982cb6a8c688@systemdatarecorder.org>
In-Reply-To: <CAHHBGkoLOqYynEZViJZXr9vYCzfm=0jWY5Xj21_=7sbTjhj6TQ@mail.gmail.com>
References:  <20140629231232.3d6c5b5e561e1627e58b3ace@systemdatarecorder.org> <CAHHBGkoLOqYynEZViJZXr9vYCzfm=0jWY5Xj21_=7sbTjhj6TQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> lua stuff is handled in FreeBSD doesn't always turn out as
> expected, I've found.  Even defining DEFAULT_VERSIONS=lua=5.2
> doesn't mean that lua stuff always uses a certain version (pretty
> sure devel/luafilesystem still requires lua51, even though it claims
> otherwise if you read the Makefile).

Do you mean it is worth trying lua5.1 instead of 5.2 ? Are you using rrdtool 
with LUA ? Im interested in getting this done since we want to experiment and
measure how one would handle rrdtool within nginx (via lua).

The initial measurements for our auth part  were amazing vs Perl. See below:

1. NGINX + Plack 
N=150, R=418ms, X=117req/sec, Util=75% (2vcpus)

2. NGINX + Mojo
N=150, R=188ms, X=145req/sec, Util=50% (2vcpus)

3. Mojo
N=150, R=100ms, X=148req/sec, Util=48% (2vcpus)

4. LUA/NGINX
N=150, R=27ms, X=180req/sec, Util=15% (2vcpus)  


-- 
Stefan Parvu <sparvu@systemdatarecorder.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140630110141.6829a3f68d66982cb6a8c688>