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

Use PostgreSQL's NOTIFY/LISTEN for event pub/sub #100

Merged
merged 8 commits into from
Jan 21, 2018

Commits on Jan 15, 2018

  1. Use PostgreSQL's NOTIFY/LISTEN for event pub/sub

    Using PostgreSQL for pub/sub removes need for EventStore to form a cluster of nodes. It can be used on a single node, or multiple nodes, but they don't need to be directly connected. Instead the database will be used to distribute events. This simplifies running EventStore on a cluster.
    slashdotdash committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    15e2e7c View commit details
    Browse the repository at this point in the history
  2. Use PG2 as distributed pub/sub

    Listener module is now a cluster singleton so only one PostgreSQL `LISTEN` connection is used per event store cluster.
    slashdotdash committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    e004b7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab58814 View commit details
    Browse the repository at this point in the history
  4. [Test] Subscribe to all stream and single stream

    Create PostgreSQL connection for notify test.
    Allow short delay for distributed subscription tests.
    Increase assert receive and refute timeouts in `distributed` env.
    Use latest Elixir and Erlang versions in Travis CI config.
    Use default logger format in test envs.
    Additional subscription logging to help identify intermittent test failure in `:distributed` env.
    slashdotdash committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    ce12b89 View commit details
    Browse the repository at this point in the history
  5. [Doc] Cluster and PostgreSQL LISTEN / NOTIFY usage

    Include #100 in CHANGELOG
    slashdotdash committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    f2932ec View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5dd62f8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    879db19 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    89169e1 View commit details
    Browse the repository at this point in the history