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

Event Driven Read Side Update Optimizations using LISTEN NOTIFY in addition or rather than polling #211

Open
firehooper opened this issue Oct 15, 2021 · 1 comment

Comments

@firehooper
Copy link

Has anyone looked into read side optimizations using LISTEN NOTIFY rather than polling (or using a slow long poll as a backup and use the listen notify to trigger the poll)? We use query by tags with a custom jsonb dao and legacy and it seems like we could use these built in functions similar to Elixir's commanded/eventstore . I will give it a try, but wanted to see if anyone had tried this already.

Related:

  1. https://github.com/commanded/eventstore/blob/bc5d6dd6e4f1d54efc667b66197486fe79f8f087/guides/Subscriptions.md
  2. https://jdbc.postgresql.org/documentation/head/listennotify.html
  3. https://discuss.lightbend.com/t/bridging-write-to-read-side-persistence-query-polling/1037/5

Thanks

@nremond
Copy link
Member

nremond commented Oct 18, 2021

@mkubala , I think we discussed this at the genesis of the project but I don't remember why we discarded it?

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

No branches or pull requests

2 participants