Which is more robust and scalable method?
- by Dhruv Arya
I am implementing a distributed chat system, in this system we have the following options :
Make the client and server running at each node run as separate threads. The server acting as the receiver will be running as the daemon thread and the client taking the user input as a normal thread.
Fork two processes one for the client and one for the server.
I am not able to reason out with which one to proceed. Any insight would be great !