当前位置:网站首页>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
边栏推荐
- SAP tr manual import system operation manual
- 第五章 投资性房地产
- Unity gets a resource that is referenced by those resources
- A series of articles, a summary of common vulnerabilities of Web penetration (continuously updated)
- Protobuf use
- When using flash, the code ends automatically without an error, the connection cannot be maintained, and the URL cannot be accessed.
- Nodejs (four) character reading
- SAP TR手动导入系统操作手册
- Export all SVG files in the specified path into pictures in PNG format (thumbnail or original size)
- Unity 获取一个资源被那些资源引用
猜你喜欢

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

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

Towords Open World Object Detection

内网渗透系列:内网隧道之icmp_tran

Common markdown grammar learning

CTF-MISC学习之从开始到放弃
![[NLP notes] preliminary study on CRF principle](/img/8c/2717aeee2e75bdae97d2bacd362e53.png)
[NLP notes] preliminary study on CRF principle

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

《内网安全攻防:渗透测试实战指南》读书笔记(八):权限维持分析及防御

Scrapy modifies the time in the statistics at the end of the crawler as the current system time
随机推荐
Mysql database backup and recovery under Linux (full + incremental)
索引被锁数据无法写入ES问题处理
Common markdown grammar learning
SAP GUI安全性
Nodejs (four) character reading
TA notes of Zhuang understand (zero) < bedding and learning methods >
Weblux file upload and download
Introduction to sap query enhanced development
String self generated code within a given range
MySQL in window10 version does not work after setting remote access permission
Automatically fit single line text into the target rectangle
Complete learning from scratch, machine learning and deep learning, including theory and code implementation, mainly using scikit and mxnet, and some practices (on kaggle)
Dictionary & lt; T1,T2&gt; Sorting problem
When using flash, the code ends automatically without an error, the connection cannot be maintained, and the URL cannot be accessed.
BUUCTF MISC刷题
Search and replacement of C text file (WinForm)
C read INI file and write data to INI file
Redis--为什么字符串emstr的字符串长度是44字节上限?
Encapsulate the debug function of unity
Read and modify the JSON file under the resource folder