fusionauth-issues
fusionauth-issues copied to clipboard
Improve efficiency of lambda execution
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.
Related
- https://github.com/FusionAuth/fusionauth-issues/issues/2473
- https://github.com/FusionAuth/fusionauth-issues/issues/2732
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.