Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actor state via messages #190

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

Actor state via messages #190

wants to merge 16 commits into from

Commits on Jan 24, 2021

  1. Add our version of the std lib's "worker pool"

    This is a draft of the `tractor` way to implement the example from the
    "processs pool" in the stdlib's `concurrent.futures` docs:
    
    https://docs.python.org/3/library/concurrent.futures.html#processpoolexecutor-example
    
    Our runtime is of course slower to startup but once up we of course get
    the same performance, this confirms that we need to focus some effort
    not on warm up and teardown times.  The mp forkserver method definitely
    improves startup delay; rolling our own will likely be a good hot spot
    to play with.
    
    What's really nice is our implementation is done in approx 10th the code ;)
    
    Also, do we want offer and interface that yields results as they arrive?
    
    Relates to #175
    goodboy committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    9fae34a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da27d96 View commit details
    Browse the repository at this point in the history
  3. Remove use of tractor.run()

    goodboy committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    f715a0c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a10c4b1 View commit details
    Browse the repository at this point in the history
  5. More comments

    goodboy committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    dae154e View commit details
    Browse the repository at this point in the history
  6. Add concise readme example

    goodboy committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    582eda4 View commit details
    Browse the repository at this point in the history
  7. Contain the error

    goodboy committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    47651ea View commit details
    Browse the repository at this point in the history
  8. Run parallel examples

    goodboy committed Jan 24, 2021
    Configuration menu
    Copy the full SHA
    5db737d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2ed071c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5da86a0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ce61230 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7f8c5cd View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    47d7b60 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. Configuration menu
    Copy the full SHA
    70c7e09 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2021

  1. Configuration menu
    Copy the full SHA
    4a4a786 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1acbd9 View commit details
    Browse the repository at this point in the history