Confidential client, name withheld under NDA

High-Speed Supply Chain Data Synchronization with Node.js & Kafka

Quick answer: A Node.js ETL pipeline on Kafka can sync millions of supply chain records in about 30 minutes, validate them daily and recover failed syncs. Bacancy Technology built this for a supply chain intelligence platform.

Outcomes deliveredDelivered from August 2025, ongoing, by a team of 3
30 min

Data synchronization time

Down from nearly 24 hours

40%

Less manual reprocessing

Failed syncs now recover automatically

30%

Less regression testing effort

Manual tests replaced by automation

250+

Automated tests in CI pipelines

Guarding data model changes

Client name withheld under NDA. To honour our non-disclosure agreement and compliance obligations, we describe this client by industry and region only. The project scope, technology and outcomes are shared without details that could identify them.

About the Client

The client is a supply chain intelligence platform that helps organizations manage sustainability risks and run end-to-end supply chain due diligence. It processes millions of supply chain records across its UK and Hong Kong operations.

Its legacy Ruby on Rails sync took nearly 24 hours, which delayed data availability. Verifying migrated data was hard, and limited test coverage left teams relying on manual testing. Failed or partial syncs needed manual recovery, record by record.

Bacancy Technology replaced the sync with a Node.js ETL pipeline and Kafka-based distributed processing. Our team added a daily Data Correctness Checker, 250+ automated Gherkin tests and automated recovery for failed syncs. Sync time fell to about 30 minutes, and the platform became easier to scale.

Client type
Supply chain intelligence platform
Industry
Logistics and transportation
Location
Hong Kong
Team
3 team members
Timeline
August 2025 to Ongoing
Project size
Non-disclosable

Four problems slowing supply chain data

Slow syncs, hard-to-verify migrations and manual recovery made the client's platform harder to scale.

24-hour sync cycles

What was happening

Millions of records moved through legacy workflows in nearly 24 hours.

Business Impact: Newly updated records reached users late as data volumes grew.

Unverified migrated data

What was happening

The legacy data model made it hard to confirm migrated data was complete.

Business Impact: Missing or inconsistent records needed extra checks on every sync.

Heavy manual testing

What was happening

Limited automated test coverage left data workflow changes to manual testing.

Business Impact: Regression effort rose and issues surfaced late.

Manual sync recovery

What was happening

Failed or partial syncs left data transfers incomplete.

Business Impact: Teams found, reprocessed and validated each affected record by hand.

Challenges & Solutions

Our data engineers rebuilt the sync layer and added the checks that keep it accurate as it scales.

Challenge 1: Cutting long synchronization cycles

Legacy workflows took nearly 24 hours to sync millions of supply chain records.

Solution: Our engineers replaced the legacy Ruby on Rails sync with a Node.js ETL pipeline and checksum-based validation. Sync time fell from nearly 24 hours to about 30 minutes, with accuracy intact across large transfers.

Challenge 2: Verifying data during the model migration

It was hard to confirm whether data migrated from the legacy model was complete and accurate.

Solution: Our data engineers built a Data Correctness Checker that validates migrated data every day. It flags missing or inconsistent records early and shows data quality across ongoing syncs.

Challenge 3: Replacing manual regression testing

Limited automated test coverage made complex data workflow changes hard to validate.

Solution: Our data integration team built an end-to-end testing framework in Gherkin with 250+ tests in the CI pipeline. Regression coverage improved as data models and workflows changed.

Challenge 4: Automating recovery from failed syncs

Failed or partial syncs forced teams to find, reprocess and validate affected records manually.

Solution: Our team introduced Kafka-based distributed processing with dedicated Monitor Fetcher and Processor roles for fault tolerance and horizontal scaling. Automated recovery workflows now restore failed and partial syncs with far less manual work.

How the Platform Works

The client supply chain data dashboard

Core Features

  • Node.js ETL synchronizationSupply chain data synced in about 30 minutes instead of 24 hours.
  • Daily Data Correctness CheckerMissing or inconsistent records flagged every day.
  • End-to-end test automation250+ Gherkin tests run in CI for every model change.
  • Automated sync recoveryFailed and partial syncs reprocessed without manual work.
  • Kafka distributed processingMonitor Fetcher and Processor roles for fault tolerance and scale.

The stack behind the data pipeline

Application and ETL
Node.js | TypeScript
Data processing
Apache Kafka
Data and ORM
SQL | Prisma ORM
Testing
Gherkin
Legacy application
Ruby on Rails

Ready to start?

2500+ projects delivered by Bacancy Technology

Get access to an experienced team of developers and engineers from Bacancy Technology, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.

Book A 30 Min Call
14+Years of business experience
1458+Happy customers
30+Countries with happy customers
1050+Agile-enabled employees

More Case Studies

View All Case Studies