HackMD
  • Prime
    Prime  Full-text search on all paid plans
    Search anywhere and reach everything in a Workspace with Prime plan.
    Got it
      • Create new note
      • Create a note from template
    • Prime  Full-text search on all paid plans
      Prime  Full-text search on all paid plans
      Search anywhere and reach everything in a Workspace with Prime plan.
      Got it
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Save as template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
    Menu Sharing Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Gist
    Import
    Dropbox Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    Write
    Owners
    • Owners
    • Signed-in users
    • Everyone
    Owners Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 2018/4/12 SRE 讀書會共筆 ---------- 場地提供:PIXNET - 誠徵 [SRE 服務可靠度工程師](https://gist.github.com/jnlin/8329bea1c1ed92a1924da7e032304261),有興趣的朋友可聯繫 applyjob@pixnet.tw # Ch 27 可靠地進行產品的大規模發布 ## 發布本身就是一個考驗 - Deadline 固定了 - 大規模的宣傳行銷活動 - 數百萬的人群 - 集中的流量 ## 發布協調工程師:發布的諮詢團體 - 由 SRE, OP, Dev 組成團隊 - 審核新服務與內部流程 - 團隊成員是發布過程中各單位的聯絡人,與其他單位合作 - 監控發布進度與處理技術問題 - 確認發布的安全性 - 培訓與建立更好的發布機制 ## 需要特質? - 廣泛的經驗 - 跨職能的視角:從行銷、業務、地區的角度來看事情 - 客觀性 ## 開始建立發布流程 ### 好的發布流程 - lightweight:不耽誤開發時間,越短越好 - Robotness 強健性:避免發布中斷 - 完整性:可以追蹤紀錄 - 可擴展性:可以擴展到更大的 - 適應性 以上很多都是相互衝突的目標,所以需要取得平衡 - 簡化 - 高度訂製 - 保證通用路徑快速完成:可以模組化去完成 ## 發布檢查列表 - 預想發布可能遇到的問題,並預想解決方案 - 從之間發布的問題作為經驗 - 必須具體可行 ## 推動融合與簡化 - 通用發布的流程 - 每次發布流程當中有回饋機制 - 相同問題能否自動化&簡化 ## 當面對發布未知的產品 - 全新的檢查列表 - 有經驗的團隊或相關領域的專家 - 問題的目的是否緊扣產品的設計 ## 檢查列表怎麼做? - 架構與依賴 - 環境配置 - 容量規劃 - 故障模式 - 客戶端行為 - 流程與自動化:常見的流程需要自動化 - 開發流程 - 外部依賴 - 發布計畫 ## 可靠發布所需的方法論 - 階段性發布 - 金絲雀發布 - 逐步增加以確保可靠性 - 功能開關框架 - 能作不同對象作發布 - 能作階段性發布到一定數量的用戶 - 能根據不同向量的訊息,讓不同的 server 處理 - 能自動應對新的程式出現的問題 - 能快速關閉功能,或回溯改變的部分 - 度量每個改變對用戶體驗的影響 - 應對客戶端濫用的行為 - 重複呼叫的延遲或停止 - 隨機性 - 客戶端配置文件 - 過載行為與壓力測試 - 衡量上線後有多少流量 ## LCE 發展 - 工作越來越複雜 - 發布的守門人 ## 檢查列表的變遷 - 越來越多 - 越來越複雜 ## 仍面對的問題 - 擴展性要求更高 - 增加維運壓力 - 基礎設施的改變 # 討論 * 正瑋:大家有沒有 LCE?(笑聲)那表示沒有 * 正瑋:那有沒有上線檢核表?有,那可以分享一下檢核的標準嗎? * 冠維 (91APP):檢核表與時俱進,例如以前沒有容器化,後來容器化了,檢核表要重作 * Rick (91APP):架構上有哪些角色?角色跟哪些角色講話?是外對內或內對外?把 Elastic Search 直接對外不好。在架構 review 的時候要 senstive 到。如果對外的架構需要 Token。 * Rick (91APP):畫圖是用來溝通的,留下來再作整理。 * 瑞男(PIXNET):會對 CDN 檢查,開發的時候不會用 CDN,上線的時候會使用 * 正瑋:組態檢查的意思 * 與會人:會作安全性檢查、確認是否有單點故障 * 正瑋:大家覺得 LCE 需要哪些經驗? * 小明:之前在 gamebase,有一個人LCE做的很好,因為他上線前會 review code,有 Power,規定下去大家必須要遵守 * 正瑋:大家有沒有跟發布的意外經驗?

    Import from clipboard

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in via Google

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub

        Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully