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

Add multithreaded Pub/Sub message processing #77

Merged
merged 3 commits into from
Aug 7, 2016

Commits on Jul 30, 2016

  1. Add multithreaded Pub/Sub message processing

    To implement issue informatikr#49, add a new multithreaded Pub/Sub message processing feature.
    The main benefit over the existing Pub/Sub code (which is left unchanged) is:
    
    - you can make subscription changes at any time
    - you can safely recover from networking errors such as the redis servier dying
    - you can detect when Redis has actually processed a subscription request and
      handlers will now start receiving messages.
    wuzzeb committed Jul 30, 2016
    Configuration menu
    Copy the full SHA
    d3dcd24 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2016

  1. Updates to the new multithreaded pub/sub implementation

    - Minor fixes suggested by reviewers on github
    - Added ability to unsubscribe from just the handlers
      you register, instead of unregistering all handlers
      for a given channel or pattern channel name
    wuzzeb committed Aug 5, 2016
    Configuration menu
    Copy the full SHA
    da95f9b View commit details
    Browse the repository at this point in the history
  2. Add automatic tests for the multithreaded pub/sub impl

    This tests almost everything.  The only thing missing from the
    test is proper reconnection after the redis server network
    connection dies, but that can't be automated.
    wuzzeb committed Aug 5, 2016
    Configuration menu
    Copy the full SHA
    6f99ff8 View commit details
    Browse the repository at this point in the history