原帖由 mash 于 6-10-2009 22:53 发表
Java 开发者喜欢用java解决所有问题。。。
如果从单服务器性能上看,要提升性能需要借助OS的API,比如提高网络吞吐,异步Proactor模式的IO读取。。。
Linux /freebsd虽然没有那么强的API但也有相当不错的解决方案 ...
Yes, you're right.
I'm not going to solve all of the issues of my project with inherent
characteristics from Java. And that's the reason I don't want to rely on a
specific J2EE platform, but a bunch of Java standards like JNDI, JMS, and JMX.
Please note that JNDI, JMS, and JMX are Java standards regarding communication
protocols, system architectures/design patterns (not GoF ones), and system
integrate models. They are not underlying platform, nor infrastructure components.
The performance might mainly base on the underlying system, which I am
not going to worry about at this moment.
I would like to call my solution as a simple, lightweight server development
platform. When someone is going to develop a server using custom protocol
based on ServerSocket/SocketFactory, he might think about my solution:
develop a simple server on Java standards and make use of the standards.
That's what I want to do. |