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

PG slow to connect #5

Open
prohoundsys opened this issue Aug 18, 2024 · 4 comments
Open

PG slow to connect #5

prohoundsys opened this issue Aug 18, 2024 · 4 comments
Assignees

Comments

@prohoundsys
Copy link

Database connection is slow to connect, giving latency of ~1 second roundtrip to refresh UI in the second browser window after setNodeState job completes from a change in the first browser window.

@tombalaboba
Copy link

Upgrading to a pooler would help

@paulhuntr paulhuntr self-assigned this Aug 18, 2024
@andraz
Copy link
Owner

andraz commented Aug 18, 2024

@paulhuntr we can try supabase/supabase-js

We might add subscriptions https://supabase.com/docs/reference/javascript/subscribe in near future, to automate the updates.

@nuggetkio
Copy link

@paulhuntr wait with the pooler, local solution could be a better fit for now, supabase is still ok for backup cold storage

@andraz
Copy link
Owner

andraz commented Aug 21, 2024

I am testing https://github.com/motherduckdb/duckdb-async because Supabase does not support PG h3 extensions like https://github.com/isaacbrodsky/h3-duckdb

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

5 participants