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

Refactor concurrency #17

Merged
merged 7 commits into from Aug 9, 2014
Merged

Commits on Jul 18, 2014

  1. Bump 0.0.8

    tarruda committed Jul 18, 2014
    Copy the full SHA
    50936cf View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    dfc6661 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2014

  1. Remove thread-safety from the API

    This library will no longer support calls from multiple threads in order to
    avoid unnecessary overhead associated with heavy usage of locks/conditions. Now
    the only thread-safe way to communicate with the API is through the push_message
    method.
    tarruda committed Aug 8, 2014
    Copy the full SHA
    8ec2c00 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d9e6060 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2014

  1. Refactor to use greenlets for concurrency

    This is a major refactor to the architecture of the library:
    
      - Move code from client.py to msgpack_stream.py and rpc_stream.py. Now
        client.py interfaces with a "stream stack", where the top-level is
        responsible for handling the msgpack-rpc details.
      - Now the UvStream class has been refactored to provide a callback-based API
        The blocking API is now simulated in client.py.
      - Greenlets are used to handle nested requests with a synchronous API
      - The asynchronous versions of API methods have been removed(those starting
        the 'send_')
    tarruda committed Aug 9, 2014
    Copy the full SHA
    17e1ddb View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    3ac8b23 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8ba08bb View commit details
    Browse the repository at this point in the history