Task #1622
closedEntity event queue - make batch size for event processing configurable
100%
Description
Events are processed in constant batch with size 100 now (70 high / 30 normal).
Make batch size for event processing configurable => depends on the thread pool size too.
Updated by Vít Švanda over 5 years ago
- Target version changed from Pyrite (9.5.4) to Rhyolite (9.7.0)
Updated by Vít Švanda over 5 years ago
- Target version changed from Rhyolite (9.7.0) to Quartz (9.6.0)
Updated by Radek Tomiška over 5 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 0 to 90
I implemented configurable batch size and set the default values by local testing (CPU workload vs. HIGH event processing with the full queue of NORMAL events):
https://wiki.czechidm.com/devel/documentation/application_configuration/dev/backend#scheduler
https://wiki.czechidm.com/devel/documentation/application_configuration/dev/backend#entity_events
Doc:
https://wiki.czechidm.com/devel/documentation/architecture/dev/events
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/84c8eefed18c868334b275f7d216dbe9866dfab2
Could you do a feedback, please?
Updated by Vít Švanda over 5 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I reviewed it. Works correctly, thanks for that.
Updated by Radek Tomiška over 5 years ago
- Status changed from Resolved to Closed