EngineeringSenior DeveloperInterview Sessions

Interview Answers - Phase 4: Azure & DevOps (System Design)

Premium

Bộ trả lời phân tích Trade-off cho việc lựa chọn "Đúng hàng - Đủ xài - Đúng lúc" trên môi trường Cloud, hạn chế việc over-engineering.


1. Cloud Architecture & Compute

Câu 1: Chọn Host cho Background Job 10 phút

  • Trả lời:
    • Azure Functions (Consumption Plan): BỌ BỎ QUA. Quá trễ và Timeout mặc định là 5 phút (Max nhích lên được 10 phút). Rủi ro job bị ngắt ngang xương khi đang chạy là rất lớn. Tốt nhất cho short-lived logic (resizing ảnh, push mail).
    • Azure App Service (WebJobs): Tốt nếu đã có sẵn 1 cái App Service Plan (Trưng dụng CPU RAM rảnh chéo sang). Bật tính năng Always On. Nhược điểm: Khó scale độc lập cái Job mà ko ảnh hưởng API chính.
Premium

Continue with premium access

Interview Answers - Phase 4: Azure & DevOps (System Design) is part of the premium library. Sign in with a premium account to unlock the full lesson and the rest of this track.

01 Full premium lesson access
02 Deeper implementation notes
03 Ongoing content updates