Currently ContainerRuntime::main_task handles one event at a time.
This means that one container function instance might have to wait for the event of another to be handled, which is inefficient, especially with synchronous event handling (call methods).
Suggested solution: spawn one worker per container function instance.
Currently
ContainerRuntime::main_taskhandles one event at a time.This means that one container function instance might have to wait for the event of another to be handled, which is inefficient, especially with synchronous event handling (call methods).
Suggested solution: spawn one worker per container function instance.