当前位置:网站首页>nacos源码分析思路
nacos源码分析思路
2022-04-23 06:32:00 【梦江河梦】
-
查看源码入口:看脚本
-
Nacos 客户端启动过程:nacos –>spring cloud Alibaba-> spring cloud –>spring boot -> spring
事件监听器
3)nacos异步服务注册:阻塞队列 开一个线程take -
查看源码入口:看脚本
-
Nacos 客户端启动过程:nacos –>spring cloud Alibaba-> spring cloud –>spring boot -> spring
事件监听器
3)nacos异步服务注册:阻塞队列 开一个线程take
4)nacos服务注册表:双层map Map<namespace, Map<group::serviceName, Service>> 集群概念?集群指服务消费者集群 消费服务时从nacos服务端获取服务列表 ,根据就近原则获取相应服务
5)服务注册表怎么防止读写并发冲突?cow读写分离 写时复制 复制小粒度
6)注册表服务变更 推/拉 nacos服务端推传输协议是udp 但udp有可能丢消息
7)zk是长连接 nacos是http短连接
8)服务变更cow是怎么实现的?
9)nacos ap集群
10)nacos client心跳 不是发给当初注册的nacos server,那心跳怎么同步?注意nacos server的心跳检查定时任务是针对每个服务来说的,即每个服务都会开启一个心跳检查定时任务。
4)nacos服务注册表:双层map Map<namespace, Map<group::serviceName, Service>> 集群概念?集群指服务消费者集群 消费服务时从nacos服务端获取服务列表 ,根据就近原则获取相应服务
5)服务注册表怎么防止读写并发冲突?cow读写分离 写时复制 复制小粒度
6)注册表服务变更 推/拉 nacos服务端推传输协议是udp 但udp有可能丢消息
7)zk是长连接 nacos是http短连接
8)服务变更cow是怎么实现的?
9)nacos ap集群
10)nacos client心跳 不是发给当初注册的nacos server,那心跳怎么同步?注意nacos server的心跳检查定时任务是针对每个服务来说的,即每个服务都会开启一个心跳检查定时任务。

版权声明
本文为[梦江河梦]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_42002747/article/details/122645265
边栏推荐
- Unity screen adaptation
- [NLP notes] preliminary study on CRF principle
- A programmer who works four hours a day
- 內網滲透系列:內網隧道之icmpsh
- Intranet security attack and defense: a practical guide to penetration testing (6): domain controller security
- 一文了解系列,对web渗透的常见漏洞总结(持续更新)
- 平面定义-平面方程
- Internal network security attack and defense: a practical guide to penetration testing (8): Authority maintenance analysis and defense
- Internal network security attack and defense: a practical guide to penetration testing (VII): cross domain attack analysis and defense
- CTF-MISC学习之从开始到放弃
猜你喜欢

随笔(不定时更新)

Unity获取真实地理地图应用Terrain笔记

SAP自建表log功能开启

Chapter V investment real estate

MySQL in window10 version does not work after setting remote access permission

Towords Open World Object Detection

Houdini流体>>粒子流体导出到unity笔记

Houdini>刚体, 刚体破碎RBD

Apache Hudi 如何加速传统的批处理模式?

Simplify exporting to SVG data files and all images in SVG folder
随机推荐
Internal network security attack and defense: a practical guide to penetration testing (5): analysis and defense of horizontal movement in the domain
Shapley Explanation Networks
Suggestions on university learning route planning
关于unity获取真实地理地图转3D化的相关链接
Teach-Repeat-Replan: A Complete and Robust System for Aggressive Flight in Complex Environments
SQL sorts string numbers
ES6 uses recursion to implement deep copy
05 use of array
索引被锁数据无法写入ES问题处理
CTF-MISC总结
第七章 资产减值
A programmer who works four hours a day
Reptile learning notes, learning reptile, read this article is enough
Dropping Pixels for Adversarial Robustness
《内网安全攻防:渗透测试实战指南》读书笔记(七):跨域攻击分析及防御
Personality charm of high paid it workers
About USB flash drive data prompt raw, need to format, data recovery notes
CTF攻防世界刷题51-
How does Apache Hudi accelerate traditional batch mode?
Apache Hudi 如何加速传统的批处理模式?