Messaging Foundations
ทำไมต้อง async messaging, RabbitMQ และ AMQP คืออะไร, core concept และ publish/consume ครั้งแรก เริ่ม →
Messaging Foundations
ทำไมต้อง async messaging, RabbitMQ และ AMQP คืออะไร, core concept และ publish/consume ครั้งแรก เริ่ม →
Exchanges & Routing
direct, fanout, topic และ headers exchange — message หา queue ของตัวเองเจอได้อย่างไร route →
Queues & Messages
queue และ message properties, acknowledgement, prefetch/QoS และ TTL กับ limit ปรับจูน →
Reliability & Delivery
publisher confirm, dead-letter exchange, delivery guarantee และ durability ทำให้ทนทาน →
Consumer Patterns
work queue, publish/subscribe, RPC over RabbitMQ และ retry with backoff นำไปใช้ →
Operations & Scaling
clustering และ quorum queue, connection และ channel, monitoring และ flow control scale →
Patterns & Alternatives
messaging pattern, RabbitMQ เทียบ Kafka, Streams และ consumer ระดับ production ต่อยอด →
เข้าใจ model ก่อน แล้วค่อยดู code
ทุกบทเรียนเริ่มจาก AMQP model — producer, exchange, binding, queue, consumer — พอเห็นภาพว่า message ไหลอย่างไร code ก็จะชัดเจนขึ้นเอง
สามภาษาเทียบกันชัด ๆ
ตัวอย่าง producer และ consumer ใน Node (amqplib), Python (pika) และ Go (amqp091) ผ่านแท็บที่ sync กัน เลือกภาษาครั้งเดียวแล้วตามไปทุกที่
เน้นการออกแบบ ไม่ใช่แค่ syntax
ทุกหัวข้อครอบคลุมเหตุผลและ trade-off — เมื่อไรควร ack เอง, การันตี delivery อย่างไร, จัดการ poison message อย่างไร และเมื่อไรที่ queue เป็นเครื่องมือที่ผิด
ไดอะแกรมที่อธิบายได้
exchange routing, acknowledgement flow, dead-letter retry และ RPC correlation เป็นไดอะแกรม Mermaid ที่รองรับธีม สองภาษา (English / ไทย) พร้อมบันทึกความคืบหน้า quiz