Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametrized pool Medium/High Priority #2887

Closed
Tracked by #2733
Limraj opened this issue May 16, 2024 · 0 comments
Closed
Tracked by #2733

Parametrized pool Medium/High Priority #2887

Limraj opened this issue May 16, 2024 · 0 comments
Assignees
Milestone

Comments

@Limraj
Copy link
Collaborator

Limraj commented May 16, 2024

Description
It would also be worth moving the pool configuration to system settings so that it can be adapted to the available CPU and memory resources;

Spec

  • Scada-LTS version: 2.7.7.3
@Limraj Limraj mentioned this issue May 16, 2024
2 tasks
@Limraj Limraj added this to the 2.7.8 milestone May 16, 2024
@Limraj Limraj changed the title It would also be worth moving the pool configuration to system settings so that it can be adapted to the available CPU and memory resources; Parametrized pool Medium/High Priority May 16, 2024
@Limraj Limraj self-assigned this May 16, 2024
Limraj added a commit that referenced this issue Jun 15, 2024
- added parametrized pool threads for: high, medium, low priority in env.properties;
- created classes: ThreadPoolExecutorUtils, ThreadPoolExecutorConfig, BlockingQueuesUtils,TimeUnitUtils;
- added tests: BlockingQueuesUtilsTest, ThreadPoolExecutorConfigSystemSettingsUtilsTest, SystemSettingsTestsSuite;
- corrected translation for key header.title;
Limraj added a commit that referenced this issue Jun 15, 2024
- created class: CreateObjectUtils;
- corrected CreateObjectUtils.parseObjects for empty strings;
Limraj added a commit that referenced this issue Jun 25, 2024
- removed throw exceptions;
Limraj added a commit that referenced this issue Jun 25, 2024
- use WorkItemPriority type;
- added configuration BatchWriteBehind work item: MAX_ROWS, MAX_INSTANCES, SPAWN_THRESHOLD;
Limraj added a commit that referenced this issue Jun 25, 2024
- reduce medium-priority.core-pool-size to 6;
Limraj added a commit that referenced this issue Jun 28, 2024
…ol_Medium_High_Priority

#2887 Parametrized pool Medium/High Priority:
@Limraj Limraj closed this as completed Jun 28, 2024
Limraj added a commit that referenced this issue Jul 5, 2024
- low-priority.keep-alive-time to 1;
- low-priority.time-unit-enum-value to SECONDS;
- medium-priority.core-pool-size to 4;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant