Actions
Architecture #254
closedFind a cheap way to have list of group for a given server
Status:
Rejected
Priority:
5 (lowest)
Assignee:
-
Category:
Architecture - Code maintenance
Target version:
Pull Request:
Effort required:
Name check:
Fix check:
Regression:
Description
Server group are dynamics, and so for a given group, we have to process some query, what can take a lot of time, to know the list of server in that group.
But we often need to know the list of group a given server belong to (without processing ALL group)
So, basically, it's adding a cache (ie a preprocess data) somewhere, and add some logic to update / invalidate it when needed.
There is two entry point (I think):
- in group query entries, add "list of matching server"
- in server entries, add "list of matching target".
In each case, the list is updated when a server is modified (added/updated/deleted) or when the query is modified.
Actions