[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: network benchmark in lua?
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Tue, 14 Feb 2012 17:29:56 +0100
thanks for the pointer.
Unfortunately I'd like something as simple as a single .lua file with
no external dependencies if not for LuaSocket ones.
it doesn't have to be as extensible or re-usable as luvit seems to be.
On Tue, Feb 14, 2012 at 4:50 PM, Tim Caswell <email@example.com> wrote:
> Not sure if you're willing to use it, but luvit has great network primitives
> for this kind of work. It can do parallel requests fairly efficiently. It
> is still rather alpha and diverges from normal lua a little.
> On Tue, Feb 14, 2012 at 6:54 AM, Valerio Schiavoni
> <firstname.lastname@example.org> wrote:
>> i was wondering if it is already available a pure-lua solution to
>> perform simple network benchmarking.
>> In particular, something in the spirit of the well-known iperf tool
>> (http://iperf.sourceforge.net/) , to test the bandwidith between two
>> machines over tcp or udp.
>> I did a simpler version of such tool for tcp only, but it's coupled
>> with an external tool, whereas an implementation that depends only on
>> would be advisable.
>> So, before I reinvent the wheel...