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

"Script" Processor should be able to operate with only cached sessions #40690

Closed
strawgate opened this issue Sep 4, 2024 · 1 comment · Fixed by #40692
Closed

"Script" Processor should be able to operate with only cached sessions #40690

strawgate opened this issue Sep 4, 2024 · 1 comment · Fixed by #40692
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@strawgate
Copy link
Contributor

Describe the enhancement:
The script processor has a configuration to pre-create a number of cached sessions. This greatly improves performance under load by making more instances of the processor available. Once all the cached sessions are busy, new Javascript sessions are created, sometimes one per Event.

Describe a specific use case for the enhancement or feature:
It would be nice to have an option to require the use of the cached sessions and to block the pipeline until a cached session is available instead of mass creating new sessions when under load.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 4, 2024
@strawgate strawgate added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Sep 4, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants