My program should send data to several (about 50) "client" stations. Important data bits must be sent via TCP to ensure arrival. The compounds are mostly fixed and should not change during one period of program activity.
What do you think will be the best for this? I heard that creating a new thread for each connection is usually not recommended, but is this recommendation valid when connections should not change? Scalability would be nice to have, but this does not cause much concern, as the number of client stations is not expected.
The program is written in Java, if that matters.
Thank,
Alex
source
share