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
Under high load (upto 512 concurrent requests) in a web app, postgres-wire keeps running into IncorrectUsage: "Expected DataRow message, but got ReadyForQuery" error for a batch of update statements.
Issue does NOT manifest when the number of concurrent requests is low.
- Created miniature application based on issue experienced here: postgres-haskell/postgres-wire#25
- Added dockerfile to mimic TFB setup of using Postgres 9.5 with randomly seeded range data for the World table.
- Added Makefile to help abstract some common tasks.
Issue
Under high load (upto 512 concurrent requests) in a web app,
postgres-wire
keeps running intoIncorrectUsage: "Expected DataRow message, but got ReadyForQuery"
error for a batch of update statements.Issue does NOT manifest when the number of concurrent requests is low.
Related project and workaround I had to apply: TechEmpower/FrameworkBenchmarks@a707305#diff-18e221ebfc6aeb9c7554015904f0c042
Is this expected? Am I doing something wrong?
The text was updated successfully, but these errors were encountered: