Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Improve performance (pagination and search) of TP's tables #4354

@mitchell852

Description

@mitchell852

I'm submitting a ...

  • bug report
  • new feature / enhancement request
  • improvement request (usability, performance, tech debt, etc.)
  • other

This would be an improvement for TP and a potential enhancement to the TO API.

Traffic Control components affected ...

  • CDN in a Box
  • Documentation
  • Grove
  • Traffic Control Client
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • unknown

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:

  1. Implement a better table library
  2. push the pagination and search to the server-side (the API) and leveraging some of the existing as well as some new features of the API.

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.

Metadata

Metadata

Assignees

Labels

Traffic Opsrelated to Traffic OpsTraffic Portal v1related to Traffic Portal version 1improvementThe functionality exists but it could be improved in some way.new featureA new feature, capability or behavior

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions