当前位置:网站首页>0627~ holiday knowledge summary
0627~ holiday knowledge summary
2022-07-24 17:48:00 【Life is so hard】
I've been studying these days springcloud Many components of , Remember the function of components ;
1.eureka( Service registration and discovery ): Used to manage between micro Services ip Address list ;
2.ribbon( Load Balancer ): It solves the problem of client clustering between microservices , Hard coding of transmission address ;
shortcoming : It can't solve the tedious redundancy of parameter splicing ;
3.feign( Load Balancer ): The bottom layer has been integrated ribbon And hystrix, It solves the communication problem between microservices , And solved the problem of participation Redundancy of data splicing , tedious ; You can also use hystrix Circuit breaker , Write supporting data ;
4.hystrix( Fuse ): It solves the avalanche problem between microservices , If an error occurs in a microservice , It will lead to the paralysis of the whole micro service ; So there is hystrix after , If an error occurs in a microservice , It will start the bottom data return , No error messages will be thrown ;
5.zuul( gateway ): All login or request between microservices should be verified , There will be a lot of repetitive code and operations , therefore zuul And then it came out , All requests must pass zuul, Resend to client , Just check it once ,zuul The core function is mainly to verify , Fuse , Filter ;
6.config( Configuration center ): Centralized management of all configuration files ; In this way, you don't have to type again every time you modify the configuration file jar It's packed ;
Write the configuration file directly in gitee On , Realize online configuration management ; shortcoming : Restart the client after each modification mouth , It will be very trouble , Not elegant ;
7.bus( The message bus ): Elegantly solved config The shortcomings of ; Online configuration management can be realized , And do not restart the port ;
I also read many interview questions today ;
1.hashmap The underlying principle of ?
2.hashmap Are threads safe ?
3. You are right about spring The understanding of the ?
4.springboot What is the starting principle of ?
5. What are the ways to create multithreads ?
6. When will multithreading be used ?
7. What are the advantages of microservices ?
边栏推荐
- Openlayers: point aggregation effect
- Mobile robot (IV) four axis aircraft
- Getaverse,走向Web3的远方桥梁
- 获取1688app上原数据 API
- Tensorflow introductory tutorial (40) -- acunet
- wallys/IPQ8074A 4x4 2.4G 8x8 5G 802.11ax
- C language to achieve a static version of the address book
- Getaverse, a distant bridge to Web3
- 单细胞代码解析-妇科癌症单细胞转录组及染色质可及性分析1
- 简单测试JS代码
猜你喜欢

Quickly complete the unit test junit4 setting of intelij idea

Openlayers: point aggregation effect

分家后印象笔记过日子依然不好过,骚操作却不少
![[leetcode] 30. Concatenate substrings of all words](/img/21/3965532a31553cfe6edf64ca5de3f4.png)
[leetcode] 30. Concatenate substrings of all words

Opencv picture rotation

Detailed explanation of ansible automatic operation and maintenance (V) the setting and use of variables in ansible, the use of jinja2 template and the encryption control of ansible

C语言自定义类型讲解 — 联合体

ShardingSphere数据库读写分离
![[network security] analysis vulnerability of website Middleware](/img/3a/9c034c17d65348aa7c35a3dac2039c.png)
[network security] analysis vulnerability of website Middleware

Section 7 Data Dictionary: hash followed by Daewoo redis ------- directory post
随机推荐
Nearly 30 colleges and universities were named and praised by the Ministry of education!
High performance complexity analysis of wechat circle of friends
阿里巴巴/166获得店铺的所有商品 API使用说明
Make good use of these seven tips in code review, and it is easy to establish your opposition alliance
After separation, the impression notes are still difficult to live, but there are many coquettish operations
How the computer accesses the Internet (IV) LAN and server response
《STL源码剖析》应该怎样读?
int8 & int8,你栽过这样的跟头吗?
头文件是必须的吗?跟一跟编译过程~~~
Image information is displayed by browser: data:image/png; Base64, + image content
C language programming training topics: K characters in left-handed string, little Lele and Euclidean, printing arrow pattern, civil servant interview, poplar matrix
JS & TS learning summary
Colleges and universities have introduced 23 Philippine doctors with heavy funds, and the relevant departments have launched an investigation!
0701~放假总结
Js实现继承的六种方式
Use 4D nerf to display occlusion (cvpr2022)
单细胞代码解析-妇科癌症单细胞转录组及染色质可及性分析1
Shardingsphere database read / write separation
The ability to detect movement in vivo and build a safe and reliable payment level "face brushing" experience
微信朋友圈的高性能复杂度分析