We use an atomic counter implemented with ETS to keep track of the number of available concurrency slots for a given key. That key can be explicitly passed into a Reactor, or allocated directly by a Reactor. This gives users the option to share concurrency limits across Reactors, or not at their own discretion.
We use an atomic counter implemented with ETS to keep track of the number of available concurrency slots for a given key. That key can be explicitly passed into a Reactor, or allocated directly by a Reactor. This gives users the option to share concurrency limits across Reactors, or not at their own discretion.