Is TCP connection has delay even if internet connection is fast?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sphynxinator

Hi. I am making an online game and I have a Node.js Server and Godot Client. I am using TCP between them. TCP data sent and taken, it runs fast. But there is a problem. When I press a button, the server responds after 0.5-second even server doesn’t do anything. For example, if a person presses the Z button, the server responds with a Z character back to the client. It’s simple but yet it runs with a delay as a said. Should TCP run with no problem, or should we do some cheats to look it runs with no delay?