Backend & Full Stack Engineer Guide: Architecting High-Volume Logistics, Waybill Tracking, Volumetric Pricing & Manifest Systems

Parcel logistics and freight networks process ratusan ribu waybill scans, subdistrict tariff lookups, and manifest handoffs every day. Having engineered production logistics booking, unloading manifest verification, and multi-tier tariff systems, I bring deep domain expertise as a Senior Backend Engineer and Full Stack Engineer.

1. Volumetric vs. Actual Weight Tariff Calculation & Origin-Destination Matrix Caching

Carrier pricing depends on the greater of actual gross weight and dimensional volumetric weight ($\frac{L \times W \times H}{6000}$ for road/sea or $\frac{L \times W \times H}{5000}$ for air express), multiplied by origin-city to destination-subdistrict zone rates:

from decimal import Decimal, ROUND_CEILING

def compute_chargeable_weight_kg(
    actual_kg: Decimal, length_cm: Decimal, width_cm: Decimal, height_cm: Decimal, divisor: int = 6000
) -> Decimal:
    volumetric_kg = (length_cm * width_cm * height_cm) / Decimal(divisor)
    raw_chargeable = max(actual_kg, volumetric_kg)
    # Round up to nearest 1.0 kg after carrier tolerance threshold
    return raw_chargeable.quantize(Decimal("1"), rounding=ROUND_CEILING)

2. Idempotent Barcode / QR Scan State Machines for Hub Unloading

3. Related Backend & Full Stack Engineering Guides


⚡ Hire Aldian Fazrihady — Senior Cloud, GCP, Backend, AI Application & Full Stack Engineer

Need production cloud architecture, GCP/AWS infrastructure, high-throughput backend systems, AI agents, or full stack web engineering? Book a 1-Day Programming Sprint for $100 USD (International Card / Apple Pay) or Rp 1,000,000 (Indonesian QRIS / Bank Virtual Account), or hire directly on Upwork:

Book $100 / Rp 1M 1-Day Sprint → Hire on Upwork (100% Job Success) →


About the Author — Hire Aldian Fazrihady (Cloud Engineer, GCP Professional Cloud Architect, GCP Professional Data Engineer, Backend, AI & Full Stack Engineer)

Aldian Fazrihady is a Top-Rated Senior Cloud Engineer, GCP Professional Cloud Architect (Google Cloud Certified), GCP Professional Data Engineer (Google Cloud Certified), Backend Engineer (Python, Django, FastAPI, Go, PostgreSQL), AI Application Engineer (LLMs, RAG, MCP, Google ADK, LangGraph), and Full Stack Engineer (React, Next.js, TypeScript) with 15+ years of production software engineering experience.

Hire Aldian Fazrihady on Upwork | Book 1-Day Programming Service ($100 USD / Rp 1.000.000) | View Live AI Portfolio | Send a Direct Message

Related Engineering Articles

Engineering Role Pillar Guides & Category Hubs