SRE Conference
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Help
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
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
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# How to survive in the 1111 - 陳道陞 (Tao-Sheng) ###### tags: `2023` {%hackmd @sre-conf/H1pCafrG3 %} ### Key elements - Estimation for the worst/best? - Money talks but can't buy everything - Alignment with Business(know the traffic behavior) - Auto-Scale 還是事後指標 仍會造成slow response ### Estimation - Planning for the target and estimation on the resources 活動內容(99% cash back) 流量來源(裝置是手機還是瀏覽器,信件連結? Infra or SRE 把需求轉成所需的資源準備,是每次的挑戰 ### Load testing Simulation in Production env (仿真測試,因為在驗證環境可能無法真的反應出狀況,或是正式環境的資料也不可能搬移到驗證環境) - Avoid resource leaking - Gain confidence - Pick right timing (4am) 有些日常排程,重要性相對低,在負載高時,可以先捨棄不跑 ### Planning - Plan ahead of the time - D-Day plan - Worst case plan - On-duty schedule - Technically readiness - No silver bullet - public cloud is good...but - k8s is good...but(需要reserve node,這樣要長pod 也需要有Node,不然會卡在EC2的時間) 雙11會需要開 spot instance 可能性很低,因為大家都要擴容 所以得前兩天先將 spot instance 改成 reversed instance ㄎ ### D-Day - On-Duty - Process - Leadership --- ====== 聊天區 ====== 本來想嘗試寫什麼 不過後來想想還是算了 -> 我光看標題還以為是1111的人來講,結果是shopback,剛剛還在想說怎麼找不到筆記XD ![](https://memeprod.sgp1.digitaloceanspaces.com/meme/46b9568828d8ae7d5fd00c2c9305127f.png) 剛開始聲音太小了哈哈 看標題本來以為是在1111的工作經驗,結果原來是1111流量存活,好像可以期待 真的 同意 對!我也以為是 好像短延時強降雨的圖ㄎㄎ XD 可是shopback有需要及時處理嗎? 優惠審核大概會超過一個月(之前的使用印象 -> ~~自信點,把大概去掉~~,我自己就有一拖拉庫,零零總總加起來差不多要等超過一年ㄌ 這什麼水文發言,我PTSD了 大氣版看太多ㄎㄎ 有需要吧 朋友在那邊 1111 都要先試跑 可是 Shopback 主要是 Chrome 擴充套件,拿來蒐集使用者資訊 應該可以用非同步,設計成 Queue 處理吧? 做為第三方服務,需要跟電商串接資料,所以還是需要即時處理吧? 後續資料處理應該就可以緩衝了 個人淺見,要做即時的部分應該是跟電商串接,後續的點數回饋可以用非同步 只需要確保該次消費有被驅動回饋事件應該就OK 對欸Shopback有App 聽起來需要進後端交涉 K8S 是事後成長,不是事前成長 所以我們要預判使用者的預判 這樣才可以應付大流量嗎??? 事前成長應該本來就只能用預判的吧XD 就跟張惠妹演唱會,飯店先把房價漲起來一樣 還有BP啊!賣一堆假票 GAN 太賤惹 > 之前聽 KKTIX 賣票,也是搶票前先把機器開好 > 我朋友公司也是有搶購機制的,也都是預先開好 還好不是分享 ANA Bug 票 不然我會懷疑講者前幾天才做好投影片 !! 完全沒發摟到這個新聞 Load test為什麼不建立staging環境要在production測試呢?如果生產環境24小時都在使用,應該不能這樣搞吧XD 成本&資料? 上面共筆有稍微記錄到 -> 所以才要在離峰時間 正式...環境...壓測...

Import from clipboard

Paste your markdown or webpage here...

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 lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

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 with Wallet
Wallet ( )
Connect another wallet

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

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

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 and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

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.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      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
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

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

      Syncing

      Push failed

      Push successfully