B10:35
Yesterday we deployed the new login page to staging.
เมื่อวานเราปล่อยหน้า login ใหม่ขึ้น staging
Everything looked good in the morning.
ตอนเช้าทุกอย่างดูปกติดี
But after lunch, users started reporting errors.
แต่หลังเที่ยง ผู้ใช้เริ่มรายงาน error
We found the bug quickly in the logs.
เราเจอ bug ใน log อย่างรวดเร็ว
We had to roll it back to the old version.
เราต้อง rollback กลับไปเวอร์ชันเก่า
The rollback took only five minutes.
การ rollback ใช้เวลาแค่ห้านาที
Then we fixed the issue in a hotfix.
แล้วเราแก้ปัญหาใน hotfix
Now the fix is behind a feature flag.
ตอนนี้ fix ถูกซ่อนไว้หลัง feature flag
We can turn it on for a few users.
เราเปิดให้ผู้ใช้บางคนทดลองได้
This rollout plan is much safer.
แผน rollout แบบนี้ปลอดภัยกว่าเยอะ
Next time, we will test more in staging.
คราวหน้าเราจะ test ใน staging ให้มากขึ้น
อร
Deploying to staging: when a rollout goes wrong, we roll back fast.
by @oranongreads