当前位置:网站首页>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
边栏推荐
- Suggestions on university learning route planning
- Chapter IV intangible assets
- 05 use of array
- Mongodb starts warning information processing
- Internal network security attack and defense: a practical guide to penetration testing (8): Authority maintenance analysis and defense
- MySQL--锁的奥秘--数据怎么锁
- FUEL: Fast UAV Exploration using Incremental Frontier Structure and Hierarchical Planning
- The projection vector of a vector to a plane
- 大学学习路线规划建议贴
- C # use laida criterion (3) σ Criteria) reject abnormal data (.Net reject singular values in a group of data)
猜你喜欢

如何展示您的数字作品集:来自创意招聘人员的建议

Houdini terrain and fluid solution (simulated debris flow)

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

第五章 投资性房地产

Simplify exporting to SVG data files and all images in SVG folder

攻防世界MISC刷题1-50

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

SAP GUI安全性

TA notes of Zhuang understand (VII) < Lambert + Phong + shadow + 3evcolor + Ao >

Protobuf use
随机推荐
Unity C single case mode learning review notes
Houdini terrain and fluid solution (simulated debris flow)
Quick sort
C read INI file and write data to INI file
C SVG path parser of xamarin version
Towords Open World Object Detection
BUUCTF MISC刷題
一些靶场的学习记录:sqli-labs、upload-labs、XSS
03use of scanner class (console input)
SAP自建表log功能开启
Weblux file upload and download
SAP Query增强开发介绍
Index locked data cannot be written to es problem handling
Redis--为什么字符串emstr的字符串长度是44字节上限?
《内网安全攻防:渗透测试实战指南》读书笔记(五):域内横向移动分析及防御
Electronic builder package error: proxyconnect TCP: Dial TCP: 0: connectex
Chapter IV intangible assets
CTF-MISC总结
Three minutes to teach you to use Houdini fluid > > to solve particle fluid droplets
FUEL: Fast UAV Exploration using Incremental Frontier Structure and Hierarchical Planning