lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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. http://luvit.io/

On Tue, Feb 14, 2012 at 6:54 AM, Valerio Schiavoni <valerio.schiavoni@gmail.com> wrote:
Hello,
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
LuaSocket
would be advisable.

So, before I reinvent the wheel...


Thanks,
Valerio