Renting Out One T4 to Three Customers: Gemma 4, vLLM Multi-LoRA and a Rust Gateway
9.1 relevance
Score Breakdown
technical depth 10
novelty 9
actionability 9
community 7
strategic 8
personal 10
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Multi-tenant GPU serving architecture with Rust, highly technical and directly relevant.
Summary
A Rust gateway (axum, 245 lines) fronts a shared GCP T4 running Gemma 4 E2B via vLLM Multi-LoRA, enforcing per-tenant API keys, adapters, and prefix caches. vLLM's priority scheduling mitigates contention, dropping TTFT from 29.9s to 6.52s for other tenants when one sends long prompts. The system bills by GPU time via a ledger matching vLLM's counters, turning a single VM into a multi-tenant business.