22. Multi-Tenant Serving

Chapter 22 of 24 · 25 min

Serving multiple tenants on shared infrastructure reduces per-tenant costs through resource multiplexing while introducing isolation, fair resource allocation, and billing challenges. Different isolation levels serve different use cases: logical isolation suits trusted tenants while hardware separation may be required for security-sensitive workloads.


EXERCISE

Implement a multi-tenant inference service that enforces per-tenant rate limits and GPU memory quotas using Kubernetes ResourceQuota. Add tenant-specific Prometheus metrics for compute usage and request counts. Verify that one tenant's runaway workload does not impact another tenant's latency SLO.