netty和protobuf集成

时间:2018-10-25 04:16:08
【文件属性】:
文件名称:netty和protobuf集成
文件大小:634KB
文件格式:RAR
更新时间:2018-10-25 04:16:08
netty protobuf 序列化 反序列化 项目使用spring-boot和maven开发,打开项目后执行maven install命令即可将protobuf的模型转化成数据模型,由于该demo中还有其他代码,下载的童鞋只需要关注personal.crixusshen.tomcat.netty下的SubReqServer和SubRespServer这2个类即可,直接执行main函数即可查看最终效果,100万条消息测试通过,基本在1分钟内就全部跑光。

网友评论