News for hackers. Stuff that matters.
Re:“Why are you using Node.js rather than PHP?” by tmzt on Saturday May 25, 2013 @06:56PM (#5769191)
Not sure where nginx and lua fit into real time, as in main loop and callbacks from network sockets, Nginx's Lua support seems to be more request-oriented, executing a block of code in response to a request.
Re:“Why are you using Node.js rather than PHP?” by mcantelon on Saturday May 25, 2013 @07:00PM (#5769201)
Yeah, if someone digs Lua then using Nginx in conjunction with something like Luvit (https://github.com/luvit/luvit) might be the way to go.
Re:“Why are you using Node.js rather than PHP?” by tmzt on Saturday May 25, 2013 @08:01PM (#5769412)
Okay, I was wondering about the Lua-in-Nginx case. Using a Lua implementation of something like node.js would certainly work.