ข้ามไปยังเนื้อหา

RabbitMQ — From Zero to Hero

คอร์สแบบ standalone ตั้งแต่ผู้เริ่มต้นจนถึงขั้นสูง ว่าด้วยการออกแบบระบบ async ด้วย RabbitMQ ตั้งแต่ AMQP model และ exchange routing ไปจนถึง acknowledgement, publisher confirm, dead-letter exchange, work queue, RPC, quorum queue และการ scale — ทุกหัวข้อมีเหตุผล, trade-off และตัวอย่าง Node, Python และ Go คู่กัน

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 ปรับจูน →

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