Scusemua opened a new pull request #130: URL: https://github.com/apache/openwhisk-runtime-java/pull/130
This change would enable support for action-level concurrency in the Java OpenWhisk runtime. The design is roughly modeled after the action-level concurrency support of the NodeJS environments. The Java `Proxy` checks the `__OW_ALLOW_CONCURRENT` environment variable to determine whether support should be enabled or not. This does _not_ address the action-level concurrency limit, and I imagine the values passed to the `ThreadPoolExecutor` will need to be changed for this to be used within OpenWhisk. I am not sure if the action-level concurrency configured for the action should affect the underlying `ThreadPoolExecutor` object or not, though it seems like it should. At the very least, this PR serves as a starting point for evaluating whether the Java runtime can support action-level concurrency in this manner. For what it's worth, I have been using this modified runtime in personal projects for several weeks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
