Field notes
Writing
Notes on architecture and code, in Thai and English: the decisions, the trade-offs, and the failures worth remembering.
Architecture
Designing an idempotent rating engine
Billing systems fail in the most expensive way: quietly, by double-charging or losing records. The fix is not more retries. It is making every operation safe to repeat.
สถาปัตยกรรม
การออกแบบเครื่องคิดค่าบริการแบบ idempotent
ระบบคิดค่าบริการมักล้มเหลวในแบบที่แพงที่สุด คือเงียบ ๆ ด้วยการเรียกเก็บซ้ำหรือทำเรกคอร์ดหาย ทางแก้ไม่ใช่การ retry ให้มากขึ้น แต่คือทำให้ทุกการทำงานปลอดภัยต่อการทำซ้ำ
No posts match that filter.