luazmq and mqlua updated

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

luazmq and mqlua updated

Marc Balmer
Back in 2014 I experimented with using message queues with Lua.  I wrote a Lua binding for ZeroMQ, an open-source universal messaging library, luazmq, and mqlua, a program to execute multiple Lua states, each in its own POSIX thread, communicating using ZeroMQ.  I call these parallel running Lua states nodes.

Bot packages have recently been updated and extended, because we started to use them in production for a large scale, containerized micro services based application.

Most notably luazmq no longer uses integer constants for flags etc, but strings which seems to be more Lua'ish.

If you are interested in playing with message queues in Lua, all the code is on github, but be warned, it currently lacks documentation and meaningful examples (I plan to add those).

Weblinks:

ZeroMQ, an open-source universal messaging library: https://zeromq.org/
luazmq, a Lua binding for libzmq: https://github.com/arcapos/luazmq/
mqlua, a Lua environment for parallel running Lua states: https://github.com/arcapos/mqlua

I hope to add a complete example, possibly using more Lua modules form github.com/arcapos, soon.

- mb

Reply | Threaded
Open this post in threaded view
|

Re: luazmq and mqlua updated

Marc Balmer
.. there is even a description of mqlua on the Lua wiki: http://lua-users.org/wiki/MqLua