servicetalk icon indicating copy to clipboard operation
servicetalk copied to clipboard

Consider splitting `IoExecutor` and `Executor` from `GlobalExecutionContext`

Open NiteshKant opened this issue 7 years ago • 1 comments

We pick individual components from GlobalExecutionContext when users decide to override part of the ExecutionContext from client/server builders. Since GlobalExecutionContext is a singleton, it will create the IoExecutor and Executor even if they are not used.

For cases where none of the client/server uses the global IoExecutor or Executor, we may resources unnecessarily.

Related discussion:

https://github.com/servicetalk/servicetalk/pull/128#discussion_r225439299

NiteshKant avatar Oct 16 '18 22:10 NiteshKant

Also related to #121

idelpivnitskiy avatar Nov 29 '18 01:11 idelpivnitskiy