POLYGLOT SUPPLY CHAIN PLATFORMRust (actix-web) + Go (worker pool) + Next.js 16 + PostgreSQL

Software-Defined Electronics Supply Chain & PCBA Quoting Engine

Ingest messy customer Bills of Materials, enrich every MPN concurrently across global distributors in Go, score stock-out risk with in-process Rust ML inference, and enforce zero-trust multi-tenant ABAC permissions between OEMs and EMS providers.

Rust ABAC Evaluation
< 1.8 µs
Lock-free ArcSwap PDP
Go Distributor Fan-Out
8 Workers
DigiKey • Mouser • Catalog
In-Process Rust ML
32-D Vector
GBDT Risk + Cosine Search
Tenant Isolation
Zero-Trust
ABAC + SQL Query Linter
System Topology

Why Rust, Go, and TypeScript Each Own a Distinct Boundary

Read full ADRs & trade-off analysis
RUST MONOLITH (ACTIX-WEB)

Sub-Microsecond ABAC Policy Decision Point & ML Inference

Lock-free in-memory policy evaluation via ArcSwap (< 2 µs latency), streaming PCBA BOM normalization, calibrated GBDT log-odds stock-out model, and 32-D parametric cosine vector search.

crates/platform-core • Actix-Web 4.9 • ArcSwap • PrometheusExplore →
GO CONCURRENT INGESTION DAEMON

Bounded Worker-Pool Distributor Fan-Out Service

Dedicated Go service isolating noisy external distributor APIs (DigiKey v4 OAuth2, Mouser Search v1, verified multi-distributor catalog) behind bounded goroutine worker channels.

services/ingest • Go 1.22 • Worker Pools • Price-Break SolverExplore →
DEVELOPER EXPERIENCE & AI AGENTS

Agent Bridge, SQL Multi-Tenant Linter & Policy Simulator

Built-in static analyzer that blocks SQL queries missing tenant_id predicates or unbounded SELECTs, plus an interactive policy rule security scorer for human engineers and coding agents.

crates/platform-cli • MCP Bridge • Multi-Tenant GuardrailsExplore →

Multi-Distributor BOM Enrichment + Rust ML Stock-Out Scoring

Live output from the Rust /api/v1/bom/enrich bridge calling the Go ingestion worker pool and in-process GBDT risk scorer.

Run interactive batch in Studio →
#Normalized MPNDistributor Stock (Go Fan-Out)Best Tier PriceML Stock-Out ProbLifecycleSecond-Source / Engineering Action
1
STM32F401RET6
STMicroelectronics • Qty 2
DigiKey (8.4k) • Mouser (5.1k) • Farnell (1.9k)$3.68 @ 1k0.18 (Low)ActivePin-compatible GD32F405RGT6 cosine sim 0.94 (-35% cost)
2
LM1117-3.3
Texas Instruments • Qty 4
DigiKey (42.1k) • Mouser (38.9k)$0.33 @ 1k0.07 (Low)ActiveDrop-in SOT-223 second source AZ1117EH-3.3 qualified
3
RC0603FR-0710KL
Yageo • Qty 48
DigiKey (1.85M) • Mouser (2.40M)$0.0018 @ 5k0.04 (Low)Active10kΩ 0603 ±1% thick film — tape & reel consolidated
4
OPA2350UA
Texas Instruments • Qty 1
DigiKey (310 left, 28w lead)$3.60 @ 1000.89 (Critical)NRNDML Stock-Out Alert (89% prob): qualify OPA2353UA (18.4k in stock)