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

postgres pipline query #95

Open
d4wae89d498 opened this issue Mar 17, 2021 · 1 comment
Open

postgres pipline query #95

d4wae89d498 opened this issue Mar 17, 2021 · 1 comment

Comments

@d4wae89d498
Copy link

Hello, 2 days ago, async-batch patch aka. pipline mode was added to postgresql master, this what allow ultra high performances for both lithium and drogon on techempower, excpect that they were using an old fork of libpq. Now that this feature is beeing added officially, maybe implementing it would be a good idea ?

See this commit postgres/postgres@acb7e4e

old doc about that feature : https://2ndquadrant.github.io/postgres/libpq-batch-mode.html

see drogon issue: drogonframework/drogon#526

Or maybe i'm wrong once again, let me know.

I can help you working on it.

Thank you really much for your super nice repo. Deserve more stars.

@eddic
Copy link
Owner

eddic commented Mar 20, 2021

Yeah this would fit very nicely into the way fastcgi++ currently does it's PostgreSQL business. The Connection class implements it's own queue of sorts and this could effectively replace it. We'll leave this issue open as a reminder.

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

2 participants