owned this note changed 10 months ago
Linked with GitHub

如何架構金絲雀部署以提高百萬流量電商平台上版穩定性 - 林冠廷(Devin Lin)

歡迎來到 DevOpsDay Taipei 2024 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

共筆入口:https://hackmd.io/@DevOpsDay/2024
手機版請點選上方 按鈕展開議程列表。

議程介紹

填寫議程滿意度問卷|回饋建言給辛苦的講者

共筆從這開始

SHOPLINE使用GitFlow

部署時解決問題

  • 快速定位問題
    • 從 Log 中標示新舊版本的版號
    • 建立儀表板監控
  • 縮減影響範圍
    • 使用金絲雀部署
    • 區分店家 Stack

金絲雀部署:比較溫柔一台一台的更新抽換版本

  • 用流量區分店家
  • 使用 Argo Rollout

藍綠部署:快速將舊版本切換新版本(整個切換)

Argo Rollout

source: https://argoproj.github.io/rollouts/

支援金絲雀部署與藍綠部署兩種形式,也可以用人工的方式推進部署進度

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

使用 Annotation 設定流量要怎麼走

Analysis

https://argoproj.github.io/argo-rollouts/features/analysis/

  • Background Analysis
  • Inline Analysis

Automated Process

整合 Argo Workflow 來推進流程

Dashboard

image
image

查看新版本上線後是否有出現問題
使用三階段部署,可以在第一階段快速發現問題

###結語

  • 架構 & 流程:熟悉業務場景,客戶是否可以接受新舊版本
  • 技術 & 工具: Argo
  • 跨部門合作
tags: DevOpsDays Taipei 2024

共筆聊天室:

Select a repo