weibocom / motan

A cross-language remote procedure call(RPC) framework for rapid development of high performance distributed services.
Other
5.88k stars 1.78k forks source link

生产环境中MOTAN-Server如何部署? #313

Open xiongchen2012 opened 7 years ago

xiongchen2012 commented 7 years ago

Motan的Client打包成WAR包扔Tomcat里运行可以理解,那么MOTAN的Server呢?难道用Java -jar来运行吗?

能否提供向Dubbo的Container一样的扩展机制?打包Server的时候提供内置的类似start.sh,stop.sh等脚本,以最优化、最稳定的参数组合运行Motan?

具体的可以参照: http://dubbo.io/Developer+Guide-zh.htm#DeveloperGuide-zh-%E5%AE%B9%E5%99%A8%E6%89%A9%E5%B1%95

qdaxb commented 7 years ago

motan本身没有container机制,如果不想java -jar,可以依赖于tomcat、spring boot等现有容器,目前主流的container都是优化、稳定的。