当前位置:网站首页>Cartoon: what is blue-green deployment?
Cartoon: what is blue-green deployment?
2022-07-05 16:13:00 【Small ash】
Dolphin's Secret
We all know that dolphins are lovely marine animals . But how many people know , Dolphins can Never sleep .
What kind of ability , So that dolphins can stay awake forever ? It depends on the special way the dolphin brain works .
Like a man , The dolphin's brain is also divided into two parts: the left brain and the right brain . In the active state of dolphins , Both the left and right brains are awake :
Of course , Dolphins are also flesh and blood , Also need to rest . While the dolphins are resting , Half of them go to sleep , The other half of the brain is still awake , In order to face all kinds of external situations .
Every two hours , This half sleep and half awake state alternates , For example, this moment left brain sleep, right brain awake , The next moment left brain awake, right brain sleep .
That's the secret that dolphins never really sleep .
What is blue and green deployment ?
Blue and green deployment , English name Blue Green Deployment, It's a way to make sure that the system Continuous service In this case, the deployment mode of going online .
How to ensure the uninterrupted service of the system ?
The blue-green deployment model contains two clusters , It's like the left and right brains of dolphins .
Under normal circumstances without being online , colony A And clusters B The code version of is consistent , And at the same time provide services to the outside world .
When the system is upgraded , Let's start with a cluster ( For example, cluster A) Remove from the load list , Deploy the new version . colony B Still providing services .
When clustering A Upgrade Complete , We re directed load balancing to clusters A, Cluster again B Remove from the load list , Deploy the new version . colony A Re service .
Last , When clustering B And the upgrade is complete , We put clusters B Also back to the load list . This is the time , Both versions of the cluster have been upgraded , And the external service has hardly been interrupted .
What is rolling deployment ?
Rolling deployment , english Rolling update, It is also a way to ensure that the system can Continuous service In this case, the deployment mode of going online .
Unlike blue and green deployment , Rolling deployment is not either or , But in Upgrade the version smoothly with finer granularity .
How to achieve fine-grained smooth upgrade version ?
Rolling deployment requires only one cluster , Different nodes in the cluster can be independently upgraded . Like in one 16 In the cluster of nodes , We choose every upgrade 4 Nodes :
And so on , In the end, all nodes have been upgraded .
The possibility of immortality
Our bodies , It's like a huge and complex cluster of computers , Each organ is equivalent to a node in the cluster , Organs and organs are connected by innumerable nerves and blood vessels .
For computer clusters , Continuous service is in “ Alive ”. And for humans , Every organ works continuously , Maintain vital signs Is in the “ Alive ”.
Human organs will eventually age , That was the end of human life . If we're before organs age , Replace each organ with a younger one in turn , Whether it's liver or kidney , Muscle or bone , Can this man stay young forever ?
Maybe someone will say , The human brain is also aging , I can't replace the brain too ? Then I won't be me anymore .
however , The human brain is not independent and indivisible . If we think of the brain as 1000 A collection of even more basic units , Only one thousandth of the brain is replaced at a time , So this person or this person , Maybe even the mind almost never stops .
—————END—————
边栏推荐
- Basic JSON operations of MySQL 5.7
- Data communication foundation smart_ Link_&_ Monitor_ Link
- Verilog realizes the calculation of the maximum common divisor and the minimum common multiple
- sql中查询最近一条记录
- 10分钟帮你搞定Zabbix监控平台告警推送到钉钉群
- Cs231n notes (top) - applicable to 0 Foundation
- 具有倍数关系的时钟切换
- 一文带你吃透js处理树状结构数据的增删改查
- MySQL table field adjustment
- 给自己打打气
猜你喜欢

The visual experience has been comprehensively upgraded, and Howell group and Intel Evo 3.0 have jointly accelerated the reform of the PC industry

MySQL giant pit: update updates should be judged with caution by affecting the number of rows!!!

ES6 drill down - Async functions and symbol types

CODING DevSecOps 助力金融企业跑出数字加速度

具有倍数关系的时钟切换

新春限定丨“牛年忘烦”礼包等你来领~

迁移/home分区

Intelligent metal detector based on openharmony

公司自用的国产API管理神器

Codasip adds verify safe startup function to risc-v processor series
随机推荐
vant tabbar遮挡内容的解决方式
APICloud云调试解决方案
Data communication foundation - route republication
我们为什么要学习数学建模?
ES6 drill down - Async functions and symbol types
This article takes you through the addition, deletion, modification and query of JS processing tree structure data
抽象类中子类与父类
自己要有自己的坚持
19.[STM32]HC_SR04超声波测距_定时器方式(OLED显示)
The difference between abstract classes and interfaces
机械臂速成小指南(九):正运动学分析
企业级备份软件Veritas NetBackup(NBU) 8.1.1服务端的安装部署
ES6 drill down - ES6 generator function
Replknet: it's not that large convolution is bad, but that convolution is not large enough. 31x31 convolution. Let's have a look at | CVPR 2022
Pits encountered in the use of boolean type in development
Codasip为RISC-V处理器系列增加Veridify安全启动功能
sql中set标签的使用
Data communication foundation - Ethernet port mirroring and link aggregation
Use of set tag in SQL
Information collection of penetration test