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

Improve efficiency of lambda execution #2732

Open
lyleschemmerling opened this issue Apr 30, 2024 · 0 comments
Open

Improve efficiency of lambda execution #2732

lyleschemmerling opened this issue Apr 30, 2024 · 0 comments

Comments

@lyleschemmerling
Copy link

Improve efficiency of lambda execution

Description

While doing some research in the implementation of the Graal JS execution engine I think that we can do things more efficiently and gain some performance. We currently build up a new org.graalvm.polyglot.Context for each invocation of the lambda that we run. I think that if we can cache this context and reuse it should save us a lot of the time spent in building that up. However, I don't believe it to be threadsafe so we will need to take that into account when implementing this.

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

@lyleschemmerling lyleschemmerling added performance internals Non-functional nerdy boring stuff labels Apr 30, 2024
@linear linear bot removed performance internals Non-functional nerdy boring stuff labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant