Reduce serverclass allow list and deny list count
Improve performance by optimizing serverclass allow list and deny list configuration to reduce regex matching operations.
Condition
deployment/server/clients endpoint. The following symptoms indicate a performance issue:- The response from the endpoint
deployment/server/clientstakes more than 30 seconds. - The Agent Management home page takes more than 30 seconds to load.
- Searching by host name or app takes more than 30 seconds to complete.
- The list of matched agents for server class takes more than 30 seconds to load.
Serverclass allow list and deny list configuration is a known bottleneck. Each list entry results in heavy regex matching operations that are repeated for each agent connected to Deployment Server. Lower the count of serverclass allow list and deny list entries to improve overall performance, especially in environments with high agent count. Importing allow lists from CSV files is generally not recommended due to performance issues.