package fiber_scheduler
- Alphabetic
- By Inheritance
- fiber_scheduler
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final class FiberScheduler extends ForkingScheduler
******************** *** EXPERIMENTAL *** ********************
******************** *** EXPERIMENTAL *** ********************
The Fiber Scheduler uses fibers to implement a high-performance mechanism for the execution of
Futurecomputations via load balancing, work stealing, and continuation affinity.Fibers are created via the
forkmethods and they continue to be valid even after async boundaries. AllFuturecontinuations of a fiber are grouped by execution within the fiber itself. Nested fibers exchange continuations at their boundaries, providing a seamless mechanism to handle thread scheduling ofFuturecomputations.This
Schedulercan be used in parallel to other thread pools but it is also carefully crafted to support all of an application's workload, including blocking and CPU-intensive operations. If enabled with the default configuration,FuturePooltasks are automatically redirected to the Fiber Scheduler.The adaptive size mechanism automatically adapts the number of worker threads to achieve peak throughput and avoid known Aurora limits like CPU throttling and container memory usage.
- final class FiberSchedulerService extends FinagleSchedulerService
Service-loaded implementation used by
FinagleSchedulerto allow users to enable the Fiber Scheduler using the flagcom.twitter.finagle.exp.scheduler.
Value Members
- object FiberScheduler
- object FiberSchedulerOptimizer
Creates an
Optimizerwith the necessary configuration to support aFiberScheduler.