当前位置:网站首页>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
边栏推荐
- Detailed explanation of redis
- Notes on the method of passing items from the spider file to the pipeline in the case of a scratch crawler
- smt贴片加工行业常见术语及知识汇总
- 文献调研(一):基于集成学习和能耗模式分类的办公楼小时能耗预测
- darkent2ncnn出错
- Literature research (IV): Hourly building power consumption prediction based on case-based reasoning, Ann and PCA
- tensorrt pb转uff问题
- 86.(cesium篇)cesium叠加面接收阴影效果(gltf模型)
- (Reprint) visual explanation of processes and threads
- Lazy people teach you to use kiwi fruit to lose 16 kg in a month_ Old bear passing by_ Sina blog
猜你喜欢

正则表达式介绍及一些语法

Redis memory elimination mechanism

文献调研(一):基于集成学习和能耗模式分类的办公楼小时能耗预测

Literature research (IV): Hourly building power consumption prediction based on case-based reasoning, Ann and PCA

ASA如何配置端口映射及PAT

《网络是怎么样连接的》读书笔记 - 集线器、路由器和路由器(三)

Lazy people teach you to use kiwi fruit to lose 16 kg in a month_ Old bear passing by_ Sina blog

Efficacy of kiwi fruit enzyme_ Old bear passing by_ Sina blog

【ROS进阶篇】第一讲 常用API介绍

How ASA configures port mapping and pat
随机推荐
【微信公众号H5】 生成带参数进入公众号关注页的二维码 监听用户关注公众号事件 自定义菜单栏 (服务端)
Prototype chain test questions in JS --foo and getname
关于scrapy爬虫时,由spider文件将item传递到管道的方法注意事项
Thrift getting started
安装PSU的时候/usr/bin/ld:warning: -z lazyload ignore
Recommended system design
网络连接验证
Efficacy of kiwi fruit enzyme_ Old bear passing by_ Sina blog
Shredding Company poj 1416
Sentinel of redis
PCB生产为什么要做拼板和板边
ffmpeg 版本切换
Redis cluster
10.4.1 data console
Installation of third-party library iGraph for social network visualization
Literature research (III): overview of data-driven building energy consumption prediction models
Explain the synchronize keyword
Reading notes on how to connect the network - hubs, routers and routers (III)
19c安装psu 19.12
西门子S7-200PLC和丹佛斯变频器的通讯协议改造_过路老熊_新浪博客