开发者

what pattern to use for a concurrent forum server?

开发者 https://www.devze.com 2023-02-17 08:57 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消