Multi-Carrier Rate Calculation at the Edge
A serverless shipping rate engine that replaces manual quotes with multi-carrier rate calculations.
<50ms
P95 Response Time
3
Carrier Integrations
~25%
Shipping Cost Reduction
300+
Global Edge Nodes
Manual Carrier Lookups Were Killing Checkout Speed
Shipping quotes required cross-referencing carrier tariff PDFs, estimating box counts by hand, and toggling between UPS and DSV dashboards.
A Single API Call Replaces the Entire Workflow
We built a serverless rate calculation pipeline that enriches orders, optimizes packing, and fans out to multiple carriers.
3D Packing Optimization
Integrates Optioryx for real-time bin packing across boxes and pallets. Supports item-class constraints, rotation rules, and fill-rate optimization to minimize dimensional weight surcharges.
Edge-Compute Rate Engine
Deployed on Cloudflare Workers with multi-layer UPS OAuth caching (in-memory → KV → refresh). Zero cold starts, auto-scaling, and sub-50ms P95 latency across 300+ global PoPs.
Multi-Carrier Aggregation
A single POST fans out to every configured carrier — from real-time rating APIs to zone-based freight tables with cross-border toll calculation. A pluggable adapter pattern makes adding new carriers a config change, not a rewrite.
Shopify Product Sync
Automated GraphQL sync with cursor-based pagination and throttle-aware batching keeps product dimensions in lockstep with the Shopify catalog — eliminating spreadsheet drift.
The Stack
10 Technologies Powering the Engine
Architectural Impact
From manual carrier lookups to sub-second automated rates
1 API Call
Replaces Multi-Step Manual Workflow
What previously required cross-referencing carrier tariff PDFs is now a single call that returns priced shipping options across all active carriers in EU and USA with a Multi-Region architecture.
~25%
Shipping Cost Reduction
3D packing optimization right-sizes every shipment. Dimensional weight charges fell roughly 25% by eliminating guesswork box selection and maximizing fill rates.
<50ms
P95 API Latency
Cloudflare Workers edge deployment with multi-layer OAuth caching delivers consistent sub-50ms responses globally — fast enough for real-time Shopify checkout integration.
Zero
Servers to Maintain
Fully serverless architecture on Cloudflare Workers + D1 + KV. No provisioning, no patching, no capacity planning. Infrastructure scales automatically from zero to peak traffic without intervention.
Shipping Logistics Eating Your Margins?
Connect with our Lead Architects for a deep-dive analysis of your current technical constraints.