Be honest about the event loop

Thanks to @pquentin for calling this one out.
attrs_it_up
Tyler Goodlet 2018-08-08 13:25:04 -04:00
parent 199b9030a5
commit 8e027ff571
1 changed files with 7 additions and 9 deletions

View File

@ -21,9 +21,9 @@ An async-native `actor model`_ built on trio_ and multiprocessing_.
.. _chaos engineering: http://principlesofchaos.org/ .. _chaos engineering: http://principlesofchaos.org/
What's this? Spawning event loops in subprocesses? What's this? Spawning event loops in processes?
-------------------------------------------------- -----------------------------------------------
Close, but not quite. Heh, yeah pretty much.
``tractor`` is an attempt to take trionic_ concurrency concepts and apply ``tractor`` is an attempt to take trionic_ concurrency concepts and apply
them to distributed multi-core Python. them to distributed multi-core Python.
@ -34,18 +34,16 @@ scheduler and task tree (also known as an `async sandwich`_).
This `actor model`_ allows for highly distributed software architecture which works just as This `actor model`_ allows for highly distributed software architecture which works just as
well on multiple cores as it does over many hosts. well on multiple cores as it does over many hosts.
``tractor`` takes much inspiration from pulsar_ and execnet_ but attempts to be much more ``tractor`` takes much inspiration from pulsar_ and execnet_ but attempts to be much more
focussed on sophistication of the lower level distributed architecture focussed on sophistication of the lower level distributed architecture as well as have first
as well as have first class support for modern async Python. class support for `modern async Python`_.
``tractor`` does **not** use ``asyncio`` hence **no** event loops.
The first step to grok ``tractor`` is to get the basics of ``trio`` The first step to grok ``tractor`` is to get the basics of ``trio``
down. A great place to start is the `trio docs`_ and this `blog post`_ down. A great place to start is the `trio docs`_ and this `blog post`_.
by njsmith_.
.. _messages: https://en.wikipedia.org/wiki/Message_passing .. _messages: https://en.wikipedia.org/wiki/Message_passing
.. _trio docs: https://trio.readthedocs.io/en/latest/ .. _trio docs: https://trio.readthedocs.io/en/latest/
.. _blog post: https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/ .. _blog post: https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
.. _njsmith: https://github.com/njsmith/ .. _modern async Python: https://www.python.org/dev/peps/pep-0525/
Philosophy Philosophy