20.03.2021 13:16, Mark Rotteveel wrote:
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.

  I consider exactly this case.

Sure there is some overhead in sending the packet,

  The question is how big it is and could we neglect it or not.

but not as much as also waiting for the response.

  Of course.

Regards,
Vlad



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

Reply via email to