Open goodboy opened 5 years ago
A much delayed follow up: we'll probably start with an example in the README
/ docs (#163) and add a more extensive tutorial surrounding this later on.
In terms of an API being incorporated into tractor
itself I'd like to see a slew of implementations before getting to set on anything.
@parity3 made a gitter request for a system to delegate work to an actor/task cluster or pool.
And with a little follow up requirement:
That last part will probably be to do with a lack of docs on how actor cancellation can be done using one of
ActorNursery.cancel()
,Portal.cancel_actor()
or a plain oldtrio.CancelScope
.This worker pool is something I've though about a bit and it reminded me of a couple projects:
akka
pulsar
erlang
OTP for which there's a nice wrapped implementation,poolboy
rabbitmq
(introduced some time ago: 2010)More discussion and brainstorming is greatly welcome!