Skip to content

Commit d44910f

Browse files
committed
微服务12条金规
1 parent 83e09fd commit d44910f

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed

_posts/2020-10-18-QurkusCodingDemo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Quarkus Coding Demo-Quarkus 代码示例"
44
date: 2020-10-18
55
desc: ""
66
keywords: "coding, quarkus"
7-
categories: [work]
7+
categories: [Work]
88
tags: [quarkus]
99
icon: icon-html
1010
---
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
layout: post
3+
title: "微服务实现原则三三两两"
4+
date: 2020-10-24
5+
desc: ""
6+
keywords: "MSA, microservice, 12factor"
7+
categories: [Work]
8+
tags: [microservice]
9+
icon: icon-html
10+
---
11+
# 微服务十二条金规
12+
13+
"微服务实现有什么最佳实践,和原则? "
14+
15+
"怎样对微服务进行划分,设计?"
16+
17+
这是我在做企业客户咨询工作中经常遇到的问题。 我今天就来聊一下第一个问题.
18+
19+
如果对第二个问题感兴趣请移步
20+
[DDD part1](https://ryanzhang.github.io/work/2020/09/02/DDD-DomainDriveDesignOrDeadlineDrivenDesign.html) [DDD part2](https://ryanzhang.github.io/work/2020/09/12/DDD-SoftwareDesign-A-TwoPersonJob.html)
21+
22+
让我们先从现代应用的12条金规说起:
23+
https://12factor.net/
24+
25+
虽然这个12条金规2011年就已经随着互联网产业的兴起而被提出,但对于企业客户,以及企业软件开发现状,好像也不是尽人皆知。 然后随着容器化技术的普及,以及PaaS平台的大量采纳,现代应用开发的一些模式,和软件早已经渗透到各行各业的软件开发当中,已经不再是互联网弄潮儿的独门绝技了。只是你问起企业软件领域的开发人员,你们知道微服务12条金规吗?很多人还是会感到陌生。
26+
27+
12条金规总结的非常好,但是缺点是不太容易记住。 我总结了一个三三两两的顺序去理解和记忆,这样不容易遗漏,并且可以比较系统的对照自己的微服务开发的问题与改进。
28+
29+
# 三三两两-3C 3D, 2B 2P
30+
31+
## 3C
32+
### CodeBase
33+
### Config
34+
### Concurrency
35+
## 3D
36+
### Dependencies
37+
### Deposable
38+
### Dev/prod parity
39+
## 2B
40+
### Backing services
41+
### Build,Release,Run
42+
### 3P
43+
### Processes
44+
### Port Binding
45+
46+
# 另外两条跑哪去了?
47+
你看,没有忘记吧,我们中国人数学是最好的, 三三两两为十, 十二条金规还有两条
48+
## Logging
49+
## Admin Processes
50+
51+
To Be Continue
52+
53+
54+
55+

0 commit comments

Comments
 (0)