4 ms·
Lua is amazing. I've used it to reimplement an API served by Python and it was consistently twice as fast i.e. half the time to serve a request compared to the
by magicbuzz 10y ago
Lua is amazing. I've used it to reimplement an API served by Python and it was consistently twice as fast i.e. half the time to serve a request compared to the Python framework in basically the same code.
- synchrone 10y agoWhat did you use as the web server / process manager? Was it embedded lua in nginx (maybe lapis as the web framework?) or otherwise? Please share more.
- stephen82 10y agoMate, if you are interested, I have just found this promising project: http://www.sailorproject.org/ http://www.sailorproject.org/
- jchassoul 10y agoturbo is a tornado clone on lua and lapis is awesome too, turbo is a stand-alone server, lapis runs inside openresty the nginx + lua server.
- bhk 10y agoIf you're looking for a fun hobby project, you might check out this project, which is a Lua-based web server. It includes a graphical Lua debugger with a browser-based UI, powered by the Lua-based web server. http://github.com/bhk/tooltree http://github.com/bhk/tooltree See 'documentation' -> 'monoglot' -> 'Introduction'
- magicbuzz 10y agoYes. It uses lapis. Running on top of nginx so huge configurability for all sorts of things.