lua back-end load balancing
Richard.Kearsley at m247.com
Fri Jun 10 03:40:55 MSD 2011
I'm using nginx-lua to get some info from a back end "auth" server for each request
The back end server is a simple http server written by myself - i.e. it is nowhere near as fast or as optimised as nginx and can therefore be considered a bottleneck
I could run multiple backend server instances to give it a better chance of keeping up (i.e. one per cpu core) - but then I'd need to load balance (only round-robin style) to the multiple backends in my lua code.
Is there something I can do in lua code to accomplish this?
Many thanks as always
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx