You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/03/22 07:25:21 UTC
[GitHub] [incubator-apisix] membphis opened a new issue #1315: change:
enable the `backlog` parameter to control the total number of concurrent
connections
membphis opened a new issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections
URL: https://github.com/apache/incubator-apisix/issues/1315
## plugin `limit-count` with `redis`
https://github.com/apache/incubator-apisix/blob/master/lua/apisix/plugins/limit-count/limit-count-redis.lua#L50
## Reference doc
backlog if specified, this module will limit the total number of opened connections for this pool. No more connections than pool_size can be opened for this pool at any time. If the connection pool is full, subsequent connect operations will be queued into a queue equal to this option's value (the "backlog" queue). If the number of queued connect operations is equal to backlog, subsequent connect operations will fail and return nil plus the error string "too many waiting connect operations". The queued connect operations will be resumed once the number of connections in the pool is less than pool_size. The queued connect operation will abort once they have been queued for more than connect_timeout, controlled by settimeouts, and will return nil plus the error string "timeout". This option was first introduced in the v0.10.14 release.
https://github.com/openresty/lua-nginx-module#tcpsockconnect
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [apisix] spacewander closed issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #1315:
URL: https://github.com/apache/apisix/issues/1315
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gxthrj commented on issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections
Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #1315:
URL: https://github.com/apache/apisix/issues/1315#issuecomment-787625367
Sorry about that I forgot this issue. I will re-create a PR .
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #1315:
URL: https://github.com/apache/apisix/issues/1315#issuecomment-787565468
This issue is marked as stale because it has not had activity for a long time. It will be closed in the next 7 days unless the label "stale" is removed. Thank you for your contributions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-apisix] Akayeshmantha commented on issue #1315: change:
enable the `backlog` parameter to control the total number of concurrent
connections
Posted by GitBox <gi...@apache.org>.
Akayeshmantha commented on issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections
URL: https://github.com/apache/incubator-apisix/issues/1315#issuecomment-602160980
Hi @membphis since its tcp related would like to give it a try after kafka plugin hope its ok?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-apisix] gxthrj commented on issue #1315: change: enable
the `backlog` parameter to control the total number of concurrent connections
Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections
URL: https://github.com/apache/incubator-apisix/issues/1315#issuecomment-602197278
Great, let me do it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-apisix] membphis commented on issue #1315: change:
enable the `backlog` parameter to control the total number of concurrent
connections
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections
URL: https://github.com/apache/incubator-apisix/issues/1315#issuecomment-602186511
that is fine @Akayeshmantha
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [apisix] membphis commented on issue #1315: change: enable the `backlog` parameter to control the total number of concurrent connections
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1315:
URL: https://github.com/apache/apisix/issues/1315#issuecomment-788057960
The priority of this issue is low.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org