1 dịch vụ (service) bị chia thành nhiều dịch vụ rất nhỏ (micro) → microservices → có s số nhiều
→ khi thay đổi mỗi cái nhỏ nhỏ → không làm ảnh hưởng nhiều đến toàn bộ dịch vụ
- Kiểu như truyện thầy bói xem voi ngày xưa tui được học á
![](data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22578%22%20height%3D%22374%22%3E%3Cg%20fill%3D%22%23ffffff%22%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%2F%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%20x%3D%22192%22%2F%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%20fill%3D%22%233e3e3e%22%20x%3D%22384%22%2F%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%20y%3D%22124%22%2F%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%20fill%3D%22%23454545%22%20x%3D%22192%22%20y%3D%22124%22%2F%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%20fill%3D%22%23444444%22%20x%3D%22384%22%20y%3D%22124%22%2F%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%20y%3D%22248%22%2F%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%20fill%3D%22%23424242%22%20x%3D%22192%22%20y%3D%22248%22%2F%3E%3Crect%20width%3D%22192%22%20height%3D%22124%22%20fill%3D%22%23424242%22%20x%3D%22384%22%20y%3D%22248%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)
![](data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22720%22%20height%3D%22529%22%3E%3Cg%20fill%3D%22%23ffffff%22%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%2F%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%20x%3D%22240%22%2F%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%20x%3D%22480%22%2F%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%20y%3D%22176%22%2F%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%20fill%3D%22%238f918e%22%20x%3D%22240%22%20y%3D%22176%22%2F%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%20fill%3D%22%23c9ccc5%22%20x%3D%22480%22%20y%3D%22176%22%2F%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%20fill%3D%22%23eeeeee%22%20y%3D%22352%22%2F%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%20fill%3D%22%23d2d3ce%22%20x%3D%22240%22%20y%3D%22352%22%2F%3E%3Crect%20width%3D%22240%22%20height%3D%22176%22%20fill%3D%22%23cacbc5%22%20x%3D%22480%22%20y%3D%22352%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)
- Zìa mặt ý tưởng microservice cũng giống câu chuyện bó đũa ngày xưa ấy nhỉ, bẻ đi, bẻ đi
![](data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%3E%3Cg%20fill%3D%22%23d4cc9b%22%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%2F%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%20fill%3D%22%2396744e%22%20x%3D%22426%22%2F%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%20fill%3D%22%2397ddf6%22%20x%3D%22852%22%2F%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%20fill%3D%22%23d9cd9d%22%20y%3D%22240%22%2F%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%20fill%3D%22%2397754f%22%20x%3D%22426%22%20y%3D%22240%22%2F%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%20fill%3D%22%235e3c20%22%20x%3D%22852%22%20y%3D%22240%22%2F%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%20fill%3D%22%23442f14%22%20y%3D%22480%22%2F%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%20fill%3D%22%236e442b%22%20x%3D%22426%22%20y%3D%22480%22%2F%3E%3Crect%20width%3D%22426%22%20height%3D%22240%22%20fill%3D%22%23e68d7b%22%20x%3D%22852%22%20y%3D%22480%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)
- Tui cũng có chút liên tưởng tới kiểu sắp xếp cưa ra rồi trộn vào → bên tây họ nghĩ ra và gọi là merge sort
![](data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22535%22%20height%3D%22515%22%3E%3Cg%20fill%3D%22%23ffffff%22%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%2F%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%20fill%3D%22%23fff2f2%22%20x%3D%22178%22%2F%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%20fill%3D%22%23fff2f2%22%20x%3D%22356%22%2F%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%20fill%3D%22%23fff0f0%22%20y%3D%22171%22%2F%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%20x%3D%22178%22%20y%3D%22171%22%2F%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%20x%3D%22356%22%20y%3D%22171%22%2F%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%20fill%3D%22%23f0f0f0%22%20y%3D%22342%22%2F%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%20fill%3D%22%23f6f6f6%22%20x%3D%22178%22%20y%3D%22342%22%2F%3E%3Crect%20width%3D%22178%22%20height%3D%22171%22%20fill%3D%22%23a5a5a5%22%20x%3D%22356%22%20y%3D%22342%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)
→ ý tưởng chung là chia nhỏ ra rồi chinh phục từng em 1 (devide and conquer)
→ tui hổng gọi theo kiểu sách vở thường ghi là chia để trị nghe hổng zui sao á
Khóa học DevOps miễn phí cho ACE có nói zìa chiến thuật triển khai container lên Kubernetes (k8s)
- Kiểu xanh đậm – xanh lợt – Blue Green Deployment
![](data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221520%22%20height%3D%221035%22%3E%3Cg%20fill%3D%22%23fefffc%22%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%2F%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%20x%3D%22506%22%2F%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%20fill%3D%22%23e3e5e1%22%20x%3D%221012%22%2F%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%20y%3D%22345%22%2F%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%20fill%3D%22%235aa84c%22%20x%3D%22506%22%20y%3D%22345%22%2F%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%20fill%3D%22%23545553%22%20x%3D%221012%22%20y%3D%22345%22%2F%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%20y%3D%22690%22%2F%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%20fill%3D%22%235aa84c%22%20x%3D%22506%22%20y%3D%22690%22%2F%3E%3Crect%20width%3D%22506%22%20height%3D%22345%22%20x%3D%221012%22%20y%3D%22690%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)
- Kiểu màu lông của chim Hoàng Yến – Canary Deployment
→ thường có 2 màu lông 1 màu đậm, 1 màu nhạt hơn như vàng + xanh lá, vàng + cam, vàng + trắng, vàng + đỏ…
![](data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22261%22%20height%3D%22196%22%3E%3Cg%20fill%3D%22%23fbf8e7%22%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23ffffff%22%20x%3D%2265%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23fffffd%22%20x%3D%22130%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23aa814d%22%20x%3D%22195%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23e7e06b%22%20y%3D%2249%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23cbaa27%22%20x%3D%2265%22%20y%3D%2249%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23f8ffff%22%20x%3D%22130%22%20y%3D%2249%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23f4bc2b%22%20x%3D%22195%22%20y%3D%2249%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23816c3f%22%20y%3D%2298%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23ffffff%22%20x%3D%2265%22%20y%3D%2298%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23fffffd%22%20x%3D%22130%22%20y%3D%2298%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23fcf8f9%22%20x%3D%22195%22%20y%3D%2298%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23fbffff%22%20y%3D%22147%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23fffdfe%22%20x%3D%2265%22%20y%3D%22147%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23ffffec%22%20x%3D%22130%22%20y%3D%22147%22%2F%3E%3Crect%20width%3D%2265%22%20height%3D%2249%22%20fill%3D%22%23feffff%22%20x%3D%22195%22%20y%3D%22147%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)
- Zà hổng phải cái gì cũng thiết kế kiểu microservices đâu nhen
![](data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22666%22%20height%3D%22271%22%3E%3Cg%20fill%3D%22%23fefefe%22%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20x%3D%22222%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20x%3D%22444%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20y%3D%2267%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20x%3D%22222%22%20y%3D%2267%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20x%3D%22444%22%20y%3D%2267%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20y%3D%22134%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20x%3D%22222%22%20y%3D%22134%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20x%3D%22444%22%20y%3D%22134%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20y%3D%22201%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20x%3D%22222%22%20y%3D%22201%22%2F%3E%3Crect%20width%3D%22222%22%20height%3D%2267%22%20x%3D%22444%22%20y%3D%22201%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E)
DO092 Developing Cloud-Native Applications with Microservices Architectures
Video 1: Deploying Cloud-Native Applications with Microservices Architectures Introduction
Video 2: Microservices Overview: What and Why?
Video 3: API: Building and Deploying a Microservice (and demonstration)
Video 4: Discovery and Invocation (and demonstration)
Video 5: Microservices Patterns (and demonstration)
Video 6: Circuit Breakers (and demonstration)
Video 7: Pipelines (and demonstration)
Video 8: Authentication (and demonstration)
Video 9: Logging, Monitoring, and Tracing (and demonstration)
Video 10: Blue/Green Deployment (and demonstration)
Video 11: Canary Deployment (and demonstration)
Video 12: Moving from Monolith to Microservices
https://www.redhat.com/en/services/training/do092-developing-cloud-native-applications-microservices-architectures
May 26 2022
Microservices là gì?
1 dịch vụ (service) bị chia thành nhiều dịch vụ rất nhỏ (micro) → microservices → có s số nhiều
→ khi thay đổi mỗi cái nhỏ nhỏ → không làm ảnh hưởng nhiều đến toàn bộ dịch vụ
→ ý tưởng chung là chia nhỏ ra rồi chinh phục từng em 1 (devide and conquer)
→ tui hổng gọi theo kiểu sách vở thường ghi là chia để trị nghe hổng zui sao á
Khóa học DevOps miễn phí cho ACE có nói zìa chiến thuật triển khai container lên Kubernetes (k8s)
→ thường có 2 màu lông 1 màu đậm, 1 màu nhạt hơn như vàng + xanh lá, vàng + cam, vàng + trắng, vàng + đỏ…
DO092 Developing Cloud-Native Applications with Microservices Architectures
Video 1: Deploying Cloud-Native Applications with Microservices Architectures Introduction
Video 2: Microservices Overview: What and Why?
Video 3: API: Building and Deploying a Microservice (and demonstration)
Video 4: Discovery and Invocation (and demonstration)
Video 5: Microservices Patterns (and demonstration)
Video 6: Circuit Breakers (and demonstration)
Video 7: Pipelines (and demonstration)
Video 8: Authentication (and demonstration)
Video 9: Logging, Monitoring, and Tracing (and demonstration)
Video 10: Blue/Green Deployment (and demonstration)
Video 11: Canary Deployment (and demonstration)
Video 12: Moving from Monolith to Microservices
https://www.redhat.com/en/services/training/do092-developing-cloud-native-applications-microservices-architectures
By thaygiaoth2021 • Khóa học miễn phí • Tags: Blue Green Deployment, Canary Deployment, Cloud-Native Applications, Microservices, Microservices architecture, Monolith, Pipelines