You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipeline mode is most useful when the server is distant, i.e., network latency (“ping time”) is high, and also when many small operations are being performed in rapid succession.
The text was updated successfully, but these errors were encountered:
Given that all of our operations are asynchronous, I think we are effectively already doing what that documentation describes. You can just queue up multiple operations by not awaiting them directly, and the library will send them with the extended query protocol. The protocol doesn't allow running multiple statements concurrently, but interleaving the parse/bind step and the execute step for different statements should work without any additional setup.
From the PostgreSQL documentation:
The text was updated successfully, but these errors were encountered: