Tag

ExecutionStrategy

1 views collected around this technical thread.

vivo Internet Technology
vivo Internet Technology
Jun 21, 2023 · Backend Development

Design and Implementation of Jetty ManagedSelector and ExecutionStrategy

Jetty’s ManagedSelector wraps the native NIO selector and, together with its ExecutionStrategy abstractions, merges I/O detection and handling in a single thread or adaptive pool, using strategies such as ProduceConsume, ProduceExecuteConsume, ExecuteProduceConsume, and EatWhatYouKill to maximize cache reuse and minimize context‑switch overhead in high‑concurrency applications.

ExecutionStrategyManagedSelectorNIO
0 likes · 13 min read
Design and Implementation of Jetty ManagedSelector and ExecutionStrategy