Task #2247
closedCheck performance for 2000 virtual systems
Added by Vít Švanda over 4 years ago. Updated over 4 years ago.
100%
Files
IdmIdnetityEventLogDetail.png (36.4 KB) IdmIdnetityEventLogDetail.png | Ondrej Husník, 05/21/2020 11:38 AM |
Related issues
Updated by Ondrej Husník over 4 years ago
- Status changed from New to In Progress
Updated by Ondrej Husník over 4 years ago
Part of this task was to create LRT task able to generate required number of virtual systems and link them evenly with given number of identities. Systems are linked to identities via generated roles. There is the choice to generate either same number of roles as systems or as identities.
Next part was to test huge amount of systems. The testing scenario was: 2000 systems, 2000 roles, 1 identity.
This test case as a whole didn't finish in reasonable time. The generating of the set number of entities took approx. 4 hours. As the longest part seemed to be the creation of Identity-Role bound. The speed of creating new bounds was getting worse in time after 1000 bounds - 1 identity-role per 6s, 1900 1 per 17s.
After finishing LRT generating test entities, all triggered events kept being executed. Duration of some operations is summarized in the table below. Significant performance drop is apparent in case of operations applied on IdmIdentity. Added picture shows event log detail.
Number Entity |
100 | 800 | 900 | 925 | 1450 | 2000 | Info |
---|---|---|---|---|---|---|---|
IdmIdentity | <1s | <1s | <15s | ~2h | n/a | n/a | provisioning op. acc:identity-save-processor core:identity-automatic-role-processor |
IdmRole | - | - | - | - | - | < 1s | |
IdmIdentityContract | - | - | - | - | < 1s | n/a | |
IdmIdentityRole | - | - | - | - | < 1s | n/a | |
SysSystem | - | - | - | - | - | < 1s | |
SysRoleSystem | - | - | - | - | - | < 1s |
Updated by Ondrej Husník over 4 years ago
- % Done changed from 0 to 90
VS generator created in this task is now able to accept as parameters arbitrary number of systems, identities and roles.
Please could you provide me a feedback of the implemented task executor?
https://github.com/bcvsolutions/CzechIdMng/commit/79ea3ba659bed234788f4ce09c34967d11780223
https://wiki.czechidm.com/devel/documentation/application_configuration/dev/scheduled_tasks/task-scheduler
Updated by Ondrej Husník over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondrej Husník to Vít Švanda
Updated by Vít Švanda over 4 years ago
- Precedes Task #2349: Perform optimizations for 2000 virtual systems in one IdM. added
Updated by Vít Švanda over 4 years ago
Optimization will be perform in the #2349.
Updated by Vít Švanda over 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Ondrej Husník
- % Done changed from 90 to 100
I did reivew and tested it. Works correctly, nice code. Thanks for that.
I made some minor changes:
https://github.com/bcvsolutions/CzechIdMng/commit/44a890f987b789efa8e05935d73dbb6c461b0a7f
Updated by Radek Tomiška over 4 years ago
- Status changed from Resolved to Closed