当前位置:网站首页>Analysis of Nacos source code
Analysis of Nacos source code
2022-04-23 07:59:00 【Dream river dream】
-
View the source code entry : Look at the script
-
Nacos Client startup process :nacos –>spring cloud Alibaba-> spring cloud –>spring boot -> spring
Event listener
3)nacos Asynchronous service registration : Blocking queues Start a thread take -
View the source code entry : Look at the script
-
Nacos Client startup process :nacos –>spring cloud Alibaba-> spring cloud –>spring boot -> spring
Event listener
3)nacos Asynchronous service registration : Blocking queues Start a thread take
4)nacos Service registry : double map Map<namespace, Map<group::serviceName, Service>> Cluster concept ? Cluster refers to the cluster of service consumers When consuming services, start from nacos The server obtains the service list , Obtain corresponding services according to the principle of proximity
5) How to prevent read-write concurrency conflict in the service registry ?cow Read / write separation When writing copy Copy small particle size
6) Registry service changes PUSH / PULL nacos The server push transmission protocol is udp but udp It's possible to lose news
7)zk It's a long connection nacos yes http Short connection
8) Service change cow How did it happen ?
9)nacos ap colony
10)nacos client heartbeat Not to the original registered nacos server, How does the heartbeat synchronize ? Be careful nacos server The heartbeat check timing task is specific to each service , That is, each service will start a heartbeat check scheduled task .
4)nacos Service registry : double map Map<namespace, Map<group::serviceName, Service>> Cluster concept ? Cluster refers to the cluster of service consumers When consuming services, start from nacos The server obtains the service list , Obtain corresponding services according to the principle of proximity
5) How to prevent read-write concurrency conflict in the service registry ?cow Read / write separation When writing copy Copy small particle size
6) Registry service changes PUSH / PULL nacos The server push transmission protocol is udp but udp It's possible to lose news
7)zk It's a long connection nacos yes http Short connection
8) Service change cow How did it happen ?
9)nacos ap colony
10)nacos client heartbeat Not to the original registered nacos server, How does the heartbeat synchronize ? Be careful nacos server The heartbeat check timing task is specific to each service , That is, each service will start a heartbeat check scheduled task .

版权声明
本文为[Dream river dream]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230629086117.html
边栏推荐
- Protobuf use
- TA notes of Zhuang understand (zero) < bedding and learning methods >
- 庄懂的TA笔记(零)<铺垫与学习方法>
- Redis--为什么字符串emstr的字符串长度是44字节上限?
- Unity 获取一个文件依赖的资源
- Houdini流体>>粒子流体导出到unity笔记
- Mongodb starts warning information processing
- Unable to process jar entry [module info. Class]
- Houdini>建筑道路可变,学习过程笔记
- Three minutes to teach you to use Houdini fluid > > to solve particle fluid droplets
猜你喜欢

Houdini > fluid, rigid body export, learning process notes

攻防世界MISC刷题1-50

How does Apache Hudi accelerate traditional batch mode?

内网渗透系列:内网隧道之icmptunnel(jamesbarlow师傅的)

Mysql database backup and recovery under Linux (full + incremental)

SAP GUI security

Unity获取真实地理地图应用Terrain笔记
![[unity VFX] Introduction notes of VFX special effects - spark production](/img/bb/a6c637d025dfb8877e6b85e7f39d6b.png)
[unity VFX] Introduction notes of VFX special effects - spark production

STO With Billing 跨公司库存转储退货

Protobuf use
随机推荐
A programmer who works four hours a day
SAP GUI security
When using flash, the code ends automatically without an error, the connection cannot be maintained, and the URL cannot be accessed.
Quick sort
C # control the camera, rotate and drag the observation script (similar to scenes observation mode)
《内网安全攻防:渗透测试实战指南》读书笔记(四):权限提升分析及防御
Electronic builder package error: proxyconnect TCP: Dial TCP: 0: connectex
SQL user-defined scalar value function that looks up relevant column values n times forward or backward according to a specified table name, column name and column value
内网渗透系列:内网隧道之dnscat2
IDEA快捷键
Enterprise wechat login free jump self built application
Unity 获取一个文件依赖的资源
TA notes of Zhuang understand (VII) < Lambert + Phong + shadow + 3evcolor + Ao >
What's new in. Net 5 NET 5
Towords Open World Object Detection
SAP tr manual import system operation manual
[NLP notes] preliminary study on CRF principle
Learning records of some shooting ranges: sqli labs, upload labs, XSS
Towords Open World Object Detection
庄懂的TA笔记(七)<Lambert+Phong+Shadow+3EvColor+AO>