mariadb/vio
unknown dc43c6ea4b A fix for Bug#5787 "mysql_stmt_prepare is upto 8 times slower":
it's crucial to disable Nagle algorithm on client for no-reply commands
(like mysql_stmt_free) to always work fast.
Nagle algorithm instructs the sender to buffer (store) data if any 
unacknowledged data is outstanding and the size of to-send data is less than
the network segment. It was exactly the case with COM_STMT_CLOSE after 
COM_STMT_PREPARE, so the client was waiting for Nagle timer to expire or
 for ACK from the server, while the server was holding up ACK because of 
delayed acknowledgement algorithm.
The tricky part is that we have been already disabling Nagle 
algorithm (by setting TCP_NODELAY)
almost everywhere except Windows (and maybe Netware).
It is the reason why the bug was repeatable only with Windows client.


vio/viosocket.c:
  A fix for Bug#5787 "mysql_stmt_prepare is upto 8 times slower":
  if we disable Nagle algorithm, do it everywhere.
2005-01-25 02:31:51 +03:00
..
docs Fixed searching after ssl directories. 2002-09-05 16:17:08 +03:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
Makefile.am merge with 4.0.15 2003-08-29 13:44:35 +03:00
test-ssl.c Added patches from Novell 2004-05-25 22:00:14 +03:00
test-sslclient.c Fixes for Netware 2003-01-28 08:38:28 +02:00
test-sslserver.c - Applied some portability fixes for SGI IRIX/MipsPro compiler 2004-06-22 17:35:34 +02:00
vio.c fix indentation 2004-12-23 16:04:40 +05:00
vio_priv.h Added missing timeout function for named pipes and shared memory (fixes core dump on windows) 2003-12-15 17:58:15 +02:00
viosocket.c A fix for Bug#5787 "mysql_stmt_prepare is upto 8 times slower": 2005-01-25 02:31:51 +03:00
viossl.c Added patches from Novell 2004-05-25 22:00:14 +03:00
viosslfactories.c Added patches from Novell 2004-05-25 22:00:14 +03:00
viotest-ssl.c Fixes for Netware 2003-01-28 08:38:28 +02:00
viotest-sslconnect.cc Fixed for Ia64 + delayed key creation + a lot of small bug fixes 2000-08-15 20:09:37 +03:00
viotest.cc Fixed for Ia64 + delayed key creation + a lot of small bug fixes 2000-08-15 20:09:37 +03:00