Developing the IO architecture of an internal server #13
Replies: 5 comments 1 reply
-
Forgot to add that this is also a discussion on the best I/O library that you can suggest. |
Beta Was this translation helpful? Give feedback.
-
As of time of writing this, I'm sticking to Java IO basic multithreaded server. |
Beta Was this translation helpful? Give feedback.
-
There are 2 ways to handle a connection. 1) To create a connection (and a thread, in my case) for each single request-response, 2) To create a connection for each client. The 1st architecture runs at 1256 responses per second. The 2nd runs at 2330. We have a clean winner!!!! |
Beta Was this translation helpful? Give feedback.
-
Okay, I've decided to stop talking about the mod development process here. We'll see the future of this tab. |
Beta Was this translation helpful? Give feedback.
-
This discussion is dedicated to the main feature of this mod/plugin - the internal server. It opens and closes with every Minecraft server that has this mod installed. I'm choosing an input/output architecture (IO for short). This discussion is about choosing and - you guessed it - developing it.
The internal server is a TCP-server, and every connection between it and a TCP-client is a socket. Every socket should open for a single request-response exchange. That's my main goals for this technology. Now it's time to pick the most modern and efficient way of doing so.
Options
Beta Was this translation helpful? Give feedback.
All reactions