5

兄弟们, Nacos 的生产环境你们内存会给多大?如何判断给多大内存?

 1 year ago
source link: https://www.v2ex.com/t/886920
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

兄弟们, Nacos 的生产环境你们内存会给多大?如何判断给多大内存?

  leeqingshui · 8 小时 56 分钟前 · 1014 次点击

Nacos 单机部署时,启动脚本设置的内存参数时 512M ,集群部署时,内存设置的是 2G 那么,Nacos 在生产环境中,你们对启动内存会进行调优嘛?分配 2G 内存是不是太大了? 我知道这个内存分配多少,应当是取决于 Nacso 管理了多少应用,但对于大多数情况企业,微服务项目大概就几个,集群下乘以三,那么 Nacos 大概总共管理 10 个左右应用,这种情况下,一般设置多大内存合适?

另外,在微服务架构中引入 Dubbo 组件很常见,其通常使用 ZooKeeper 作为注册中心,但如果引入 Nacos ,Nacos 可以替代 Zookeeper ,你们有在生产环境采用过 Nacos 进行替代嘛,有遇到过什么问题吗?

查询网上很多资料没有找到相关答案,比如内存调优网上给的内存小于 100M ,这也太小了吧😂

各位大佬有什么建议嘛?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK