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

Investigate core changefeeds to avoid polling #10

Open
bobvawter opened this issue Mar 5, 2021 · 1 comment
Open

Investigate core changefeeds to avoid polling #10

bobvawter opened this issue Mar 5, 2021 · 1 comment

Comments

@bobvawter
Copy link
Owner

Can/how does pgx expose the records coming out of a core changefeed?

@bobvawter
Copy link
Owner Author

Getting a core changefeed pretty much just works with pgx. Will investigate moving table-based configs (vhosts) and session invalidation into changefeeds.

bobvawter added a commit that referenced this issue Mar 29, 2021
This change adds a utility helper class to manage a core changefeed.
Notifications from the sessions table are used to invalidate the in-memory
sessions cache, rather than relying on a fixed expiration period.

X-Ref: #10
bobvawter added a commit that referenced this issue Mar 29, 2021
This change adds a utility helper class to manage a core changefeed.
Notifications from the sessions table are used to invalidate the in-memory
sessions cache, rather than relying on a fixed expiration period.

X-Ref: #10
bobvawter added a commit that referenced this issue Mar 29, 2021
This change adds a utility helper class to manage a core changefeed.
Notifications from the sessions table are used to invalidate the in-memory
sessions cache, rather than relying on a fixed expiration period.

X-Ref: #10
bobvawter added a commit that referenced this issue Mar 29, 2021
This change adds a utility helper class to manage a core changefeed.
Notifications from the sessions table are used to invalidate the in-memory
sessions cache, rather than relying on a fixed expiration period.

X-Ref: #10
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

1 participant