what pattern to use for a concurrent forum server?
I need to write a message board application and the server should be able to service several clients simultaneously. At the moment my default choice is to use the reactor pattern (since it's the only one i learnt and know) but i was wond开发者_如何转开发ering if there are other/better options.
Also, suggestions of open source implementations of suitable patterns will be welcome.
Just to be clear, I am not asking about an http server. At the moment the application has nothing to do with http.
The question is strictly about design patterns.Thank you.
Didn't find much info about other design patters for a server except proactor but i'm not sure if it suits my needs. I did find a framework for client/server programming on Java, it's called Jboss netty and it's pretty much what i was looking for. Thanks to everyone who tried to help.
JBoss netty: http://www.jboss.org/netty
精彩评论