You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As things stand, the TCP_NODELAY flag is not set when the socket is created. For small queries, this is not an issue. However, if doing a large number of queries this significantly slows down the process. As a quick benchmark, without the flag set doing 500 inserts on my database took 125 seconds (250ms/insert). Setting the flag got the total execution time down to about 30 seconds (60ms/insert) - four times faster.
The text was updated successfully, but these errors were encountered:
As things stand, the TCP_NODELAY flag is not set when the socket is created. For small queries, this is not an issue. However, if doing a large number of queries this significantly slows down the process. As a quick benchmark, without the flag set doing 500 inserts on my database took 125 seconds (250ms/insert). Setting the flag got the total execution time down to about 30 seconds (60ms/insert) - four times faster.
The text was updated successfully, but these errors were encountered: