“This library use zmq.poller and zmq.threads from lua-zmq binding. But this library is not dropin replacement for lua-zmq library…”
Tag Archives: lua
Nginx Scripting – Extending Nginx Functionalities with Lua
Using LuaJIT in mid-load web-projects
Lapis – A web framework for MoonScript & OpenResty
“Lapis is a framework for building web applications using MoonScript (or Lua) that runs inside of a customized version of Nginx called OpenResty…”
RabbitMQ bindings for Lua
“The amqp.lua package adds support for sending messages to RabbitMQ via LuaJIT FFI. This allows a Lua programmer to communicate with other programs using enterprise grade messaging infrasturcture. The module amqp.lua makes use of LuaJIT’s awesome foreign function interface (FFI) to invoke the librabbitmq’s functions directly. It exposes a simplified interface to librabbitmq natively, but also preserves the ability of an intrepid programmer to use the full depth of the upstream library…”
Pragmatic Lua Basics in 30 Minutes
“However, Lua is not considered as a mainstream language and it does not have hype of some languages, say Ruby, so there are not a lot of tutorials, especially the quick introduction of the language for programmers of other language. So I decide to write one. I have to say I am by no means a Lua expert (You probably figure that out already), so please correct me for if I make any mistake. Also, this is an pragmatic introduction to the language for (experienced) programmers. So I am not gonna spend time on programming basics…”
http://ruoyusun.com/2013/03/23/pragmatic-lua-basics-in-30-mins.html
http://ruoyusun.com/2013/03/30/pragmatic-lua-error-handling-oop-closure-and-coroutines.html
Lua: Good, bad, and ugly parts
“I have come across several detailed lists that mention good and not-so-good parts of Lua (for example, Lua benefits, why Lua, why Lua is not more widely used, advantages of Lua, Lua good/bad, Lua vs. JavaScript, and Lua Gotchas), but I found that some of the features that tripped me or that I cared about were not listed, so I put together my own list. It is far from being comprehensive and some aspects of the language are not covered (for example, math and string libraries), but it captures the gist of my experience with the language…”
http://notebook.kulchenko.com/programming/lua-good-different-bad-and-ugly-parts
Playing around with Lua/NginX, Python, MongoDB, Tornado and JQuery…
stock-labs is a “stock visualization tool” built using different backends and technologies (only for training and study purposes):
1. Lua, OpenResty, Highstock with JQuery and MySQL (main focus on Lua/Nginx integration)
2. Tornado, Highstock with JQuery and MongoDB (main focus on Tornado(async) and MongoDB async and sync drivers)
Adding OAuth Support to Nginx via Lua
“We built OAuth2 authentication and authorization layer via nginx middleware using lua. If you intend on performing this, read the docs, automate what you can, and carry rations…”
http://seatgeek.com/blog/dev/oauth-support-for-nginx-with-lua
Pushing Nginx to its limit with Lua
“At CloudFlare, Nginx is at the core of what we do. It is part of the underlying foundation of our reverse proxy service. In addition to the built-in Nginx functionalities, we use an array of custom C modules that are specific to our infrastructure including load balancing, monitoring, and caching. Recently, we’ve been adding more simple services. And they are almost exclusively written in Lua…”
http://blog.cloudflare.com/pushing-nginx-to-its-limit-with-lua