当前位置:网站首页>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
边栏推荐
- 05数组的使用
- Unable to process jar entry [module info. Class]
- 内网渗透系列:内网隧道之dnscat2
- 一些靶场的学习记录:sqli-labs、upload-labs、XSS
- Internal network security attack and defense: a practical guide to penetration testing (IV): Authority improvement analysis and defense
- TA notes of Zhuang understand (zero) < bedding and learning methods >
- Unity gets the resources that a file depends on
- 内网渗透系列:内网隧道之icmptunnel(jamesbarlow师傅的)
- Learning records of some shooting ranges: sqli labs, upload labs, XSS
- C smoothprogressbar custom progress bar control
猜你喜欢

FUEL: Fast UAV Exploration using Incremental Frontier Structure and Hierarchical Planning

Export all SVG files in the specified path into pictures in PNG format (thumbnail or original size)

Chapter VII asset impairment

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

Intranet penetration series: icmpsh of Intranet tunnel

SAP STO With Billing流程与配置

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

Protobuf use

nacos源码分析思路

Houdini>建筑道路可变,学习过程笔记
随机推荐
Unity gets a resource that is referenced by those resources
Internal network security attack and defense: a practical guide to penetration testing (8): Authority maintenance analysis and defense
Encapsulate the debug function of unity
《内网安全攻防:渗透测试实战指南》读书笔记(四):权限提升分析及防御
Intranet penetration series: icmptunnel of Intranet tunnel (by master dhavalkapil)
三分钟教你用Houdini流体>>解算粒子流体水滴
Unity 获取一个资源被那些资源引用
Teach-Repeat-Replan: A Complete and Robust System for Aggressive Flight in Complex Environments
Houdini流体>>粒子流体导出到unity笔记
Personality charm of high paid it workers
What's new in. Net 5 NET 5
Chapter V investment real estate
Houdini > fluid, rigid body export, learning process notes
内网渗透系列:内网隧道之icmptunnel(DhavalKapil师傅的)
How does Apache Hudi accelerate traditional batch mode?
Unity C single case mode learning review notes
第四章 无形资产
Houdini > variable building roads, learning process notes
一些关于网络安全的好教程或笔记的链接,记录一下
C smoothprogressbar custom progress bar control