Clearly, we need some fancier and more immediately practical examples in our readme (says every person who's glanced ever), so I figured I'd start list of what I think would be coolio.
A "worker pool" example copying concurrent.futures's prime number calculator
A "controlled fork blast" example
A real-time streaming sorting algorithm
Target tutorial set:
this is the back of hand list I can think of:
- basic spawning and actor lifetime management
- nested actor trees and inter-actor rpc
- basic streaming
- advanced 2-way streaming
- debugger usage
- daemon structures and (micro)serivice design
- fancy recipes and
tractor.extras
Lurker opinions always welcome.
We might actually need to pick the best of these and then stick the rest in a parallelism tutorial.
Actually, we might want a streaming, shared state, and parallelism tutorial in the new docs.
Clearly, we need some fancier and more immediately practical examples in our readme (says every person who's glanced ever), so I figured I'd start list of what I think would be coolio.
A "worker pool" example copying
concurrent.futures's prime number calculatorProcessPoolExecutor(ugh) so we'll need to probably mock up the executor api and show the SC way of doing thingsThe
multiprocessing.Poolexamples:A "controlled fork blast" example
A real-time streaming sorting algorithm
trio-ized version of an Rxmergeto serialize results.Target tutorial set:
this is the back of hand list I can think of:
tractor.extrasLurker opinions always welcome.
We might actually need to pick the best of these and then stick the rest in a parallelism tutorial.
Actually, we might want a streaming, shared state, and parallelism tutorial in the new docs.