当前位置:网站首页>夜晚读书 -- 关于微服务和容器
夜晚读书 -- 关于微服务和容器
2022-06-24 10:04:00 【华为云】
- 单体>SOA>微服务架构
单体怎么理解?你可以把它想象成一个WAR包,一个系统包含所有的子系统或者模块的功能都集中的打进了一个WAR包里。那么这个单体它的集中度是非常好的,但是代价也是非常高的。代价有这些:

SOA Service-Oriented Architecture 能解决这个问题吗?一般同时还会引入了ESB,企业服务总线。我的感觉是不能。不能彻底的解决问题,但是并非没有一点效果没有,最起码可以把企业里的服务治理的漂漂亮亮,看着也舒服。而实际上提供服务的系统,可能还是单体。
微服务呢?说实话有时候我看到一些光鲜亮丽的概念啊,我就感到恶心想吐。年纪越大对于一些包装就越来越憎恨。内容是必须要有一定合适的形式来表现出来的,但是这个形式不等于包装。所以微服务的概念就不记了,看一下他的缺点。

这本书是讲spring cloud和docker的,所以:
SpringBoot项目入门,使用Spring Initializr生成项目。略过。
再看一本关于docker的书,先看下他带来的变化,感觉很棒
看几个我感兴趣的优点:
能减少这么多团队之间流转的扯皮的事情,那我觉得这是一个好东西。
核心概念还是要搞清楚的:
通过下面这张图我就发现了他的缺点。缺点是由他的优点造成的。因为他发布的独立性,所以两个实际差别很小的镜像,他们的大部分内容是相同的,也就是重复的。这个世界上确实鱼和熊掌难以兼得,重要的是权衡和取舍。
可靠的重现,很好的品质。

看到这里,前面我的理解是不是错了?

所有这3个层都可以被多个运行中的容器共享…原来如此,是我想错了?
docker命令行和docker守护进程的原理。今天比较晚了,下次再继续。
边栏推荐
- A method of generating non repeated numbers in nodejs
- 为什么虚拟机ping的通主机,主机ping不通虚拟机
- 【毕业季·进击的技术er】绕树三匝,何枝可依?
- Multi gate mixture of experts and code implementation
- Use the process monitor tool to monitor process operations on registries and files
- What is the function of the graphics card driver? Do you want to update the graphics card driver
- Nxshell session management supports import and export
- Why use a firewall? What is the function of firewall?
- Understanding of homogeneous coordinates
- Tencent geek challenge small - endless!
猜你喜欢

Use the process monitor tool to monitor process operations on registries and files

Programmers spend most of their time not writing code, but...

Moving Tencent to the cloud cured their technical anxiety

Simple pricelist style code

工具及方法 - 在Source Insight中使用代码格式化工具

程序员大部分时间不是写代码,而是。。。

MYSQL_精讲数据库数据类型

喜欢就去行动

Beauty of script │ VBS introduction interactive practice

Cool interactive animation JS special effects implemented by p5.js
随机推荐
Centripetalnet: more reasonable corner matching, improved cornernet | CVPR 2020 in many aspects
What code did the full stack programmer write this month?
Opencv optical flow prediction and remap remapping function usage
使用Process Monitor工具监测进程对注册表和文件的操作
PHP SMS notification + voice broadcast automatic double call
When the data security law comes, how can enterprises prepare for a rainy day? Tencent security has something to say
What does ERP system mean
A fault record of misoperation dhclient script
Tke deployment kubord
软件测试 对前一日函数的基本路径测试
Maui的学习之路 -- 开篇
It's so difficult for me. Have you met these interview questions?
What are the means of network promotion?
Any and typevar make the automatic completion of IDE better
Influence of DEX optimization on arouter lookup path
How does easydss use go fastdfs distributed file servers to reduce service pressure?
Audio knowledge (III) -- MFCCs code implementation
腾讯开源项目「应龙」成Apache顶级项目:前身长期服务微信支付,能hold住百万亿级数据流处理...
Multi gate mixture of experts and code implementation
Base64 decoding method three ways for non professionals

