DispatchProperties
class DispatchProperties(var workers: Int = KeyedExecutor.DEFAULT_WORKERS, var maxInFlight: Int = KeyedExecutor.DEFAULT_MAX_IN_FLIGHT, var throughput: Int = KeyedExecutor.DEFAULT_THROUGHPUT, var spin: Duration = KeyedExecutor.DEFAULT_SPIN)
The runtime's KeyedExecutor (wow.dispatch.*): the worker threads every dispatcher shares, and how many unfinished messages one receiver (one per dispatcher and bounded context) holds before it stops requesting more from its transport.
Properties
Link copied to clipboard
Link copied to clipboard
How long a worker that ran out of messages spins before it parks (see KeyedExecutor.spin for when it pays and its CPU cost), at most 1 ms; the default 0 parks at once (no spin). Give a unit suffix (20us): a bare number is read as milliseconds.
Link copied to clipboard