Hi,
It has been implemented:
https://github.com/openresty/lua-nginx-module/pull/1270
Although not merged yet, I recall the patch has been tested and seems to
do well so far. Hopefully we get some info as to what the next steps for
it would be.
On 10/9/18 12:02 PM, aloisbarreras via openresty-en wrote:
> I see this in the TODO list of the readme on the lua-nginx-module:
>
> * /cosocket: pool-based backend concurrency level control: implement
> automatic |connect| queueing when the backend concurrency exceeds
> its connection pool limit./
>
> A pretty big pain point for me is libraries like lua-resty-mysql and
> pgmoon can easily overload a database with too many connections with
> high traffic. It would be great if this could be implemented so we could
> enable pooling for higher level libraries like database clients.
>
> Is there any concrete timeline of when this feature will be implemented?
> If not, I can start working on it, but I'd love some help from people
> more familiar with the code base to give me a starting point of relevant
> files and sections..