Retail · Data Engineering

Shipping cost per order down 40% through real-time rate shopping

A streaming data platform ingests carrier rate feeds and compares them in real time, to find the most cost-effective carrier for each order.

lower shipping cost per order across US and Canada
40%
saving in logistics spend
10–20%
seasonal surge handled with no slower response time
4×

The operating problem

Rates changed constantly, in formats that never matched

Carrier prices came as XML and JSON from many vendors. Schemas drifted, volumes were high, and standardising and mapping the data was complex.

Gaps in quality and freshness stood between the business and an instant answer on which carrier was cheapest.

What Ganit engineered

A low-latency pipeline that prices every carrier in real time

Spark Streaming ingests vendor feeds at high throughput and standardises them. Business users query live rates, carrier performance and spend trends, while masking protects sensitive columns.

Databricks: Spark Streaming, Unity Catalog, Workflows, SQL Warehouse and Dashboards.

  1. Streaming Ingestion

    High-throughput, low-latency intake of XML and JSON vendor feeds, with continuous carrier coverage.

  2. Rate Comparison

    Compares dynamic rates to identify the most cost-effective carrier.

  3. Data Quality Dashboards

    Anomaly and volume-spike detection on the feeds.

  4. Carrier Analytics

    Unified view of carrier performance, service levels and spend trends.

How the work changed

From uneven feeds to a live view of the cheapest carrier

Current stateThe gapDesired state
Schema drift and unstructured inputs.Automated ingestion of XML and JSON feeds.
Data quality and freshness gaps.Quality dashboards flag anomalies and volume spikes.
High data volumes, peaking in the holidays.A 4× seasonal surge handled with no slower response time.

What closed the gapStreaming Ingestion · Rate Comparison · Data Quality Dashboards · Carrier Analytics

Next story · FintechProduction Spark workloads moved off Databricks, SLAs intact