[MGNLLIC-79] Make license fetching API non-blocking Created: 11/Feb/21 Updated: 29/Jan/24 Resolved: 23/Feb/21 |
|
| Status: | Closed |
| Project: | Magnolia License |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Aleksandr Pchelintcev | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Template: |
|
||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Documentation update required: |
Yes
|
||||
| Date of First Response: | |||||
| Epic Link: | Throughput improvements | ||||
| Description |
|
LicenseManager implementation extensively uses synchronisation locks even for the "read" access (see LicenseManager#getLicense and LicenseManager#getLicenseStatus). As a result e.g. RegistrationFilter which is invoked for every request may become a thread-blocking bottleneck under heavy load. |
| Comments |
| Comment by Federico Grilli [ 23/Feb/21 ] |
|
I closed this one and left open MGNLLIC-63 as it is linked to a support issue |