tractor
tractor copied to clipboard
A distributed, structured concurrent runtime for Python (and friends)
Was just double checking on this and found a [SO answer with some benchmarks](https://stackoverflow.com/a/29436429). It seems UDS are indeed more performant for local comms so support for this in the...
This is a discussion thread to dig into the theory surrounding how this project *is* (like) an *actor model* system and how it *is* or *isn't* compatible with [structured concurrency](https://trio.discourse.group/t/structured-concurrency-kickoff/55)....
After working on the built-in pubsub system I've realized it may be useful to have a (set of) synchronization decorator(s) for limiting multi-task access to user defined functions. This would...
`tractor` utilizes a simple multiplexed protocol for conducting inter-process-task-communication (IPTC)? Each per-process `trio` task can invoke tasks in other processes and received responses depending on the type of the remote...
In order to design proper "process" backend abstractions it should be necessary to pin down exactly what kind of deployment strategies we want to support. Furthermore, this will actually give...
This starts to address #124 [pytest-vnet](https://github.com/guilledk/pytest-vnet) does most of the heavy work, creates a docker container from this [docker image](https://hub.docker.com/layers/guilledk/pytest-vnet/netvm/images/sha256-bae1b08dccad560b44ff964e50eb53e415f6bb217dcfee1d9f5d2a019a70f5ee?context=explore) based on debian, it installs the latest [mininet](https://github.com/mininet/mininet) release from...
I ran into problems trying to get channels to reliably tear down using `StreamSocket.aclose()` as per python-trio/trio/pull/460. @njsmith was very helpful in pointing out that until this is resolved streams...
I would like to be able to parallelize generators (across processes). Not async generators - just normal ones. This concept is a bit difficult to explain, but bear with me....
This will be a better write up when I get back to it but for now just putting a link dump: #### Rx (reactive programming) - https://en.wikipedia.org/wiki/Reactive_programming - https://en.wikipedia.org/wiki/Reactive_extensions -...
`mulitprocessing`'s [forkserver](https://github.com/python/cpython/blob/master/Lib/multiprocessing/forkserver.py) has proven severely unreliable for nested process launching (#84, #134) however it is *much much faster* then our current `trio` (aka async wrapped `subprocess`) spawning backend and, as...