Hello
I have few questions about indexation improvement.
First, I have to explain the context: we plan to use your framework to manage a huge among of Policies or PolicySet (about 2 500 000) and we predict about 10 000 requests by day. These requests include 20% of deployment request (to deploy a new policy on the PDP) and 80% of evaluation requests. An PolicySet example is available as attached file.
We are testing deployment requests. When there is about 3 500 requests deployed, the deployment of a new one take more than 1s to complete, so we need to improve the indexation process.
My questions are:
- What is the most efficient? To have a large among of simple Policy or to have only few complex PolicySets that regroup all Policies?
- If we have a main PolicySet with a general target that contain sub policies with specific targets (like shown in the attached file). How will the main PolicySet be indexed? Will the locator’s locate method return only the concerned sub-Policy or the main PolicySet?
Is the indexation only performed on the main PolicySet target or does it take care of sub-PolicySet target too?
- Do you think it’s possible to easily add a new evaluatables to the indexes and not to re-index all evaluatables each time a new one is added? Or should we use another way to index evaluatables to make it possible?
Regards,
Erwan