-
Feature Request
-
Resolution: Done
-
Blocker
-
None
-
SaaS
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
-
-
3scale 2020-03-09, 3scale 2020-03-23, Invalid Sprint
Current behaviour
Create a large number of services ~400, and try to download all service configurations with APIcast. APIcast takes more than 12 minutes to retrieve all configurations which impacts either the boot time of the gateway or the latency of requests when in lazy mode.
Expected behaviour
APIcast can connect to 3scale to download all the service configurations in a reasonable amount of time.
Notes: APIcast makes an initial request to /admin/api/services.json to get all service IDs, it then parses those IDs to retrieve all the proxy configurations from the proxy config endpoint. It looks like the first response is quite reasonable, 11s, but APIcast takes a long time to process this so we might need to consider returning a much lighter response. The request to the proxy config endpoint for each service takes a very long time because every request is individual and sequential and is taking a few seconds to get the response to APIcast. Could be related to database indexing.
Note:
This is not reproducible on-prem.
Dev notes
- It might be an index issue so adding the appropriate indices would solve it
- We could cache the value on background.
Triage
The assignee must investigate on slow queries and missing indices
- is duplicated by
-
THREESCALE-1575 Improve system response time/performance to APIcast configuration request
- Closed
- is related to
-
THREESCALE-6411 Add some response values to paginated endpoints to know the total amount of records, etc.
- Closed
-
THREESCALE-4526 Update the steps to retrieve the configuration when using a large amount of services with THREESCALE_CONFIG_FILE
- Closed
- relates to
-
THREESCALE-8373 APIcast does not load all pages of services or proxy configs
- Closed
-
THREESCALE-5282 Service list cannot be read when 3scale is provisioned with large configurations
- Closed
-
THREESCALE-6310 API Accounts/ProxyConfigs GET by host/version
- Closed