Introduce intermediate server which accepts multiple requests and groups them into single batch requests.
With enough trickery you can even implement it using postgres wire protocol, I guess, so it'll be transparent.
With enough trickery you can even implement it using postgres wire protocol, I guess, so it'll be transparent.