当前位置:网站首页>What is micro service
What is micro service
2022-06-26 00:11:00 【Bald Xiake】
List of articles
Distributed and microservices
What is the relationship between distribution and microservices ?
Microservice is a well-designed distributed architecture .
Monomer architecture

characteristic : All functions are integrated into one project , High code redundancy , It is not conducive to later iterations and their maintenance .
advantage : Simple architecture , The cost is low
shortcoming : High code redundancy , It is not conducive to later iterations and their maintenance .
Distributed architecture

characteristic : Divide the project into modules ( service ), Each module is developed independently
advantage : Low coupling between modules , Easy to maintain and expand
shortcoming : The calling relationship between services is complex .
reflection :
- How to define the granularity of service splitting ?
- How to call between services ?
Service remote invocation , adopt Dubbo or http Protocol interaction , Bottom use netty.
Microservices
Micro service features
- Single responsibility : Microservices have smaller granularity , Each service corresponds to a unique business capability , Single responsibility
- autonomous : Team independence 、 Technology independence 、 Data independence , Independent deployment and delivery
- Service oriented : The service provides a unified standard interface , It has nothing to do with language and Technology
- Strong isolation : Isolate service calls 、 Fault tolerance 、 Downgrade , Avoid cascading problems
Microservice problems
gateway : Authentication requested , And load balancing
Service cluster : Improve service efficiency and fault tolerance
Registry Center : Managing services
Configuration center : Unified management of service configuration
Message queue : Improve asynchronous performance
Distributed cache : Improve system efficiency
Distributed search : Improve the efficiency of data search
Distributed log service : Save log
System monitoring link tracking

Reference resources SpringCloud+RabbitMQ+Docker+Redis+ Search for + Distributed , The most comprehensive in history springclound Microservice technology stack
边栏推荐
- Redis cluster
- Redis memory elimination mechanism
- P3052 [USACO12MAR]Cows in a Skyscraper G
- Sentinel of redis
- 关于二分和双指针的使用
- Explain in detail the three types of local variables, global variables and static variables
- ValueError: color kwarg must have one color per data set. 9 data sets and 1 colors were provided解决
- Prototype chain test questions in JS --foo and getname
- 西门子S7-200PLC和丹佛斯变频器的通讯协议改造_过路老熊_新浪博客
- mysql 主从复制
猜你喜欢

How to configure SQL Server 2008 Manager_ Old bear passing by_ Sina blog

Recommended system design

Efficacy of kiwi fruit enzyme_ Old bear passing by_ Sina blog

Redis memory elimination mechanism

Simulation connection between WinCC and STEP7_ Old bear passing by_ Sina blog
![[wechat official account H5] generates a QR code with parameters to enter the official account attention page to listen to user-defined menu bar for official account events (server)](/img/d9/935bad29005e5846dc514c966e3b0e.png)
[wechat official account H5] generates a QR code with parameters to enter the official account attention page to listen to user-defined menu bar for official account events (server)

DHCP review

Establishment of multiple background blocks in botu software_ Old bear passing by_ Sina blog

迅为RK3568开发板使用RKNN-Toolkit-lite2运行测试程序

7. common instructions (Part 2): common operations of v-on, v-bind and V-model
随机推荐
Unsigned and signed vernacular
huibian
farsync 简易测试
Smt贴片机工作流程
深圳台电:联合国的“沟通”之道
Object array de duplication
redis之详解
10.4.1、数据中台
PCB生产为什么要做拼板和板边
Establishment of multiple background blocks in botu software_ Old bear passing by_ Sina blog
快手实时数仓保障体系研发实践
Stop eating vitamin C tablets. These six fruits have the highest vitamin C content
Search rotation array ii[Abstract dichotomy exercise]
Servlet response下载文件
Redis cluster
详细讲解局部变量、全局变量、静态变量三种类型
Smt贴片加工出现元件立碑的解决方法
Literature research (IV): Hourly building power consumption prediction based on case-based reasoning, Ann and PCA
10.3.1、FineBI_finebi的安装
10.4.1 data console