On 20-03-2021 11:40, Vlad Khorsun wrote:
  After reading all of this and refreshing my memory I going to agree with you. Note, immediate send of every op_free_stmt could add performance penalty when more than one statement is closed\dropped at time. Probably some kind of idle timer that send deferred packets after short idle timeout could work better.
It looks like Nagle's algorithm, btw.

You could also send the packet, but defer processing of the response. Sure there is some overhead in sending the packet, but not as much as also waiting for the response.

Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to