You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "zhangw (via GitHub)" <gi...@apache.org> on 2023/04/04 06:06:37 UTC

[GitHub] [apisix] zhangw opened a new issue, #9236: feat: upstream connection pool according to the customized key

zhangw opened a new issue, #9236:
URL: https://github.com/apache/apisix/issues/9236

   ### Description
   
   The implementation of openresty balancer allow to use the pool key of opts as the connection cache key, and by default use the host name of any upstream node as the cache key.
   ![image](https://user-images.githubusercontent.com/196561/229700984-5b11ef4d-4c7b-444d-b0ec-1e7a4643deb2.png)
   Apisix now not allow to set a customized key for upstream as the connection cache key.
   ![image](https://user-images.githubusercontent.com/196561/229701178-10af3d90-7377-49fd-8a84-41af6701b4d0.png)
   
   Any advices for these code snippets?
   pool_opt.pool =upconf.keepalive_pool.key
   local ok, err = balancer.set_current_peer(server.host, server.port, pool_opt)


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] feat: upstream connection pool according to the customized key [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9236:
URL: https://github.com/apache/apisix/issues/9236#issuecomment-2041403225

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] feat: upstream connection pool according to the customized key [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9236: feat: upstream connection pool according to the customized key
URL: https://github.com/apache/apisix/issues/9236


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] feat: upstream connection pool according to the customized key [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9236:
URL: https://github.com/apache/apisix/issues/9236#issuecomment-2016434143

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. 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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org