Data Topologies (Data Topology)

เนื่องจาก pipeline architecture ส่วนใหญ่ถูก deploy เป็น monolith จึงมักเชื่อมโยงกับฐานข้อมูล monolithic เดียว แต่ก็ไม่เสมอไป database topology สามารถแตกต่างกันมากใน architectural style นี้ ตั้งแต่ฐานข้อมูลเดียวไปจนถึงฐานข้อมูลแยกต่อ filter

ตัวอย่างใน Figure 12-2 แสดง pipeline architecture สำหรับ continuous fitness function (architectural test) ทั่วไปที่ทำงานอยู่ใน production environment ซึ่งวิเคราะห์ operational characteristic เฉพาะอย่าง (เช่น responsiveness หรือ scalability) สังเกตว่า Capture Raw Data filter จะโหลด database แยกที่เก็บข้อมูลดิบ filter นี้ส่งข้อมูลดิบผ่าน pipe ไปยัง Time Series Selector filter ซึ่งอ่านข้อมูล configuration (เช่น ช่วงเวลาที่จะวิเคราะห์) จาก database แยกอีกตัวหนึ่ง จากนั้นข้อมูลที่ถูกแปลงแล้วจะถูกส่งผ่าน pipe อีกตัวไปยัง Trend Analyzer filter ซึ่งวิเคราะห์ข้อมูลและเก็บผลการวิเคราะห์นั้นไว้ใน database แยกอีกตัว จากนั้น filter นี้จะส่งข้อมูลวิเคราะห์ผ่าน pipe สุดท้ายไปยัง Graphing Tool filter ซึ่งปิดท้าย pipeline ด้วยการสร้างรายงานแบบกราฟิกจากข้อมูล

Pipeline data topologies

Figure 12-2. Pipeline architecture สามารถมี database เดียวหรือหลาย database ได้