Chapter 15 : Event-Driven Architecture Style (Event-Driven Architecture Style)

  1. ระบุความแตกต่างสี่ข้อระหว่าง event กับ message

  2. ความแตกต่างระหว่าง initiating event กับ derived event คืออะไร?

  3. poison event คืออะไร?

  4. event processor หนึ่งตัวสามารถ trigger derived event ได้หลายตัวหรือไม่? ถ้าได้ ทำไมคุณถึงอยากทำแบบนี้?

  5. ทำไมคุณถึงอยาก trigger event จาก event processor ที่ไม่มี event processor อื่นตอบสนอง?

  6. trade-off เชิงลบบางอย่างของการใช้ asynchronous processing มีอะไรบ้าง?

  7. อธิบาย Swarm of Gnats antipattern และเหตุผลที่ควรหลีกเลี่ยงมัน

  8. ระบุเหตุผลหลักสองข้อที่ทำให้ event-driven architecture มี responsiveness สูงและมี performance characteristics ที่ดี

  9. มีเทคนิคใดบ้างสำหรับป้องกันการสูญเสียข้อมูลเมื่อส่งและรับ message จาก queue?