Improve performance (pagination and search) of TP's tables #4354
Labels
improvement
The functionality exists but it could be improved in some way.
new feature
A new feature, capability or behavior
Traffic Ops
related to Traffic Ops
Traffic Portal v1
related to Traffic Portal version 1
I'm submitting a ...
This would be an improvement for TP and a potential enhancement to the TO API.
Traffic Control components affected ...
Current behavior:
Currently TP fetches ALL records (i.e. servers, delivery services, etc) from the TO API and does the pagination and search on the client-side in the browser. As the number of records grow, the amount of time required by jquery datatables to render the TP tables and the amount of browser memory required to do this grows. Eventually that memory may run out and TP tables may become unusable.
Expected / new behavior:
2 possible solutions:
Minimal reproduction of the problem with instructions:
Create thousands of records (i.e. servers) and navigate to https://tp.domain.net/#!/servers and watch how long it takes for the table to render.
The text was updated successfully, but these errors were encountered: