google-code-export / snova

Automatically exported from code.google.com/p/snova
1 stars 4 forks source link

c4服务端架构 #261

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
我看了下C4服务端代码,也下载了framework 和 
arch的代码,想学习下,我的问题是:
服务端的整个框架可不可以用Mina、Netty、Grizzly等来实现?我看
你的Buffer都是自己写的对象。
如果想改写下服务端,需要了解些什么知识?能大致介绍下��
�?

Original issue reported on code.google.com by cxj...@gmail.com on 12 Dec 2012 at 9:22

GoogleCodeExporter commented 9 years ago
服务端依赖servelet容器,不能用NIO框架

Original comment by yinqiwen@gmail.com on 12 Dec 2012 at 9:24

GoogleCodeExporter commented 9 years ago
嗯,依赖servlet容器我知道,
但是感觉服务端是作为一个转发,应该可以用NIO来实现吧?

Original comment by cxj...@gmail.com on 12 Dec 2012 at 9:29

GoogleCodeExporter commented 9 years ago
有没有打算把整个项目转为maven依赖的?作为几个模块比如有
基础的arch、framework、c4等等。

Original comment by cxj...@gmail.com on 12 Dec 2012 at 9:37

GoogleCodeExporter commented 9 years ago
你仔细看下代码,目前的设计中引入NIO是不必要的,不会有��
�何性能提升,反而引入不必要的复杂度

Original comment by yinqiwen@gmail.com on 12 Dec 2012 at 9:43

GoogleCodeExporter commented 9 years ago
maven太复杂了。现在编译是ant脚本

Original comment by yinqiwen@gmail.com on 12 Dec 2012 at 9:44

GoogleCodeExporter commented 9 years ago
嗯嗯,谢谢回答~~

Original comment by cxj...@gmail.com on 12 Dec 2012 at 9:46