Noticing a small delay in executing queries using the MariaDB Java Client Connector? Especially when the amount of data returned is small (say, a count() or something)?
Try setting this property for your JDBC connection:
tcpNoDelay=true
It's because of Nagle's Algorithm
1 comment:
Or carry it over a datagram-based protocol, like UDP.
Probably easier to just disable Nagling.
Post a Comment