当前位置:网站首页>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
边栏推荐
- Reptile learning notes, learning reptile, read this article is enough
- Houdini流体>>粒子流体导出到unity笔记
- VBA calls SAP RFC to read & write data
- SAP sto with billing process and configuration
- Post of experience in preparation for guarantee and research -- the 18th (2021) Central South planning department promoted the exemption to Zhejiang University Institute of Technology
- C problem of marking the position of polygons surrounded by multiple rectangles
- Research on software security based on NLP (I)
- 每天工作4小时的程序员
- STO With Billing 跨公司库存转储退货
- C SVG path parser of xamarin version
猜你喜欢
BUUCTF MISC刷题
企业微信免登录跳转自建应用
Simplify exporting to SVG data files and all images in SVG folder
SAP sto with billing process and configuration
内网渗透系列:内网隧道之icmptunnel(jamesbarlow师傅的)
Common markdown grammar learning
Unity get real geographic map application terrain notes
Internal network security attack and defense: a practical guide to penetration testing (8): Authority maintenance analysis and defense
[NLP notes] preliminary study on CRF principle
Teach-Repeat-Replan: A Complete and Robust System for Aggressive Flight in Complex Environments
随机推荐
BUUCTF MISC刷題
Internal network security attack and defense: a practical guide to penetration testing (5): analysis and defense of horizontal movement in the domain
RGB color to hex and unit conversion
Unity 获取一个资源被那些资源引用
Common markdown grammar learning
三分钟教你用Houdini流体>>解算粒子流体水滴
Houdini地形与流体解算(模拟泥石流)
【Unity VFX】VFX特效入门笔记-火花制作
C smoothprogressbar custom progress bar control
Houdini fluid > > particle fluid export to unity note
What's new in. Net 5 NET 5
CTF-MISC学习之从开始到放弃
Encapsulate the debug function of unity
SAP GUI安全性
TA notes of Zhuang understand (VII) < Lambert + Phong + shadow + 3evcolor + Ao >
内网渗透系列:内网隧道之icmp_tran
Plane definition - plane equation
SAP GUI security
Reptile learning notes, learning reptile, read this article is enough
内网渗透系列:内网隧道之dns2tcp