edgedb-ui icon indicating copy to clipboard operation
edgedb-ui copied to clipboard

Use codecs cache

Open 1st1 opened this issue 3 years ago • 0 comments

Right now we're always sending a Parse protocol message. For cloud instances the client/server roundtrip is actually quite expensive (say 100ms), so an extra Parse message inflates the latency to 200ms.

We need to update our connection logic to use the proper connection flow. Codecs and query input/output types should be cached just like what the regular client does.

1st1 avatar Apr 06 '22 04:04 1st1