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

Using Postgres LISTEN/NOTIFY for persistence queries #33

Open
Horusiath opened this issue Feb 14, 2017 · 0 comments
Open

Using Postgres LISTEN/NOTIFY for persistence queries #33

Horusiath opened this issue Feb 14, 2017 · 0 comments

Comments

@Horusiath
Copy link
Contributor

Horusiath commented Feb 14, 2017

Currently by default all SQL journal implementations allow to perform live-queries on the database. However since SQL databases don't support push notifications, we do that by periodically pulling the latest changeset from the database.

However Postgres implements a feature called LISTEN/NOTIFY which could allow us to signal, when there's a new data awaiting to be read by live queries. Maybe we could use that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant