Rolekit is a stateless process that auto-terminates to avoid consuming resources when it is not actively being used by a consumer. However, the auto-termination time is only a few seconds, which means that we effectively have to go through a full initialization for every request, which is also not a great use of resources. (Unless the process is started with the --persistent flag, useful only for testing)
We should increase this time to at least 60s by default and make it configurable at the command-prompt.
Rolekit is a stateless process that auto-terminates to avoid consuming resources when it is not actively being used by a consumer. However, the auto-termination time is only a few seconds, which means that we effectively have to go through a full initialization for every request, which is also not a great use of resources. (Unless the process is started with the --persistent flag, useful only for testing)
We should increase this time to at least 60s by default and make it configurable at the command-prompt.