Đang mở hậu trường...
Chọn đáp án để xem tỉ lệ cộng đồng và giải thích. Câu hỏi được chọn tự động — mọi người cùng làm 1 câu mỗi ngày.
You are building an e-commerce checkout service. When a user places an order, the system must: (1) save the order to the database, (2) charge the payment, and (3) send a confirmation email via a third-party email provider that occasionally takes 3-5 seconds to respond. The product team requires checkout to feel instant for the user. Given this constraint, what is the most appropriate way to handle the confirmation email step?