Engravion
Software & IoT Solutions
🚀 Engravion 3.0 is live — faster, smarter, more powerful. Read the release notes →
Engineering

How We Cut Data Pipeline Failures by 94% at Scale

কীভাবে ফ্লোসিঙ্ক টিম আমাদের এক্সিকিউশন ইঞ্জিনকে নতুন করে ডিজাইন করেছে, যার মাধ্যমে প্রতিদিন শত শত কোটি ইভেন্ট পরিচালনাকারী এন্টারপ্রাইজ ডেটা পাইপলাইনগুলোর জন্য ফাইভ-নাইনস নির্ভরযোগ্যতা অর্জন করা সম্ভব হয়েছে, সেই গল্প।

Super Admin May 19, 2026 2 min read 2,605 views

When Meridian Financial came to us with a problem — their data pipelines were failing silently and corrupting downstream analytics — we realised our existing retry logic was fundamentally broken for their scale.

In this post we walk through the three architectural changes that took their pipeline failure rate from 6% to 0.06%.

The Problem: Silent Failures in Distributed Systems

At 500M events per day, a 6% failure rate means 30 million lost or corrupted records every 24 hours. Most of these failures were invisible at the pipeline level — data was being ingested, transformed, and written, but the values were wrong due to race conditions in our distributed state management.

1. Moving to Exactly-Once Semantics

The first change was adopting a two-phase commit protocol for all transform nodes. Previously, we used at-least-once delivery with idempotency checks — but idempotency checks at this scale were too expensive. Two-phase commit added 12ms median latency but eliminated the class of duplicate-write errors entirely.

2. Schema Registry with Backward Compatibility Enforcement

The second change was introducing a centralised schema registry that blocks any schema change that would break existing consumers. Before this, a producer publishing a new required field would silently break 40 downstream pipelines.

3. Real-time Lineage Tracking

Finally, we added event-level lineage tracking — every record now carries a metadata header describing its full transformation history. When an anomaly is detected, we can trace it back to the exact source record and transform node within milliseconds.

The results spoke for themselves: Meridian's pipeline failure rate dropped from 6% to 0.06% within the first month of rollout.

Share this article: X LinkedIn Facebook

0 Comments

Leave a Comment

Comments are moderated and appear once approved.

Super Admin

Author

মেসেজ করুন