You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/02/06 17:34:41 UTC
[jira] [Created] (TC-133) TO - /api/version/deliveryservices needs
major optimization
Jeremy Mitchell created TC-133:
----------------------------------
Summary: TO - /api/version/deliveryservices needs major optimization
Key: TC-133
URL: https://issues.apache.org/jira/browse/TC-133
Project: Traffic Control
Issue Type: Bug
Components: Traffic Ops, Traffic Ops API
Reporter: Jeremy Mitchell
Assignee: Jeremy Mitchell
Priority: Minor
Fix For: 2.0.0
The API endpoint /api/version/deliveryservices is very slow for a couple of reasons:
1. no prefetches on cdn, profile and type resulting n+1 queries
2. example urls are appended to each deliveryservice response. example urls should be returned when fetching a single deliveryservice. i.e. api/1.2/deliveryservices/42 not on the entire collection
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)