Skip to content

can I request admin api in high concurrency? #7234

Answered by kikito
User979269852 asked this question in Help
Discussion options

You must be logged in to vote

You can but that what happens depends on lots of factors.

If you are using declarative config, then the answer is no, since declarative config's Admin API is read-only. You must load all entities "in one go".

When using a database, if some of those routes collide, the first one which gets processed wins. Due to the way Nginx processes requests, this doesn't necessarily mean that the request which arrived first will be fully processed first (for example, if the database is busy and takes a bit longer than usual to respond, the Nginx worker might move on to another request). So the end result might vary randomly, for the same amount of updates, in case there are collisions, even if they wer…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by guanlan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
2 participants
Converted from issue

This discussion was converted from issue #7075 on May 26, 2021 21:23.