I'm building a small application composed of:
Client (command-line)
Business logic (remote server)
It's a simple game of tick-tack-toe where the client sends information to the server about which field has been marked and the server returns an updated ASCII drawing of the board.
My initial idea was to implement the client-server communication using RPC over HTTP.
However, since HTTP uses a TCP connection anyway, and I don't seem to have a need for the HTTP headers (I'm sending really small amounts of data) wouldn't it be a better idea to just use a plain TCP connection and do RPC that way?
Could I run into any problems if a large amount of concurrent players (clients) decided to connect to my game (i.e. should I close the TCP connection with every request or keep it open while the game goes on)?