edgedb-ui
edgedb-ui copied to clipboard
Use codecs cache
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.