It depends technically how you are processing requests to the backend(s), if you are expecting multiple responses you have to build a trigger state in Lua which waits for all results to complete, you can't handle this from the clients point of view (which may timeout anyway if the wait is too long). A restful connection would suite better here which should not suffer from timeouts or break performance.
↧