Muhammad Atashi
PRODUCTION LLM SERVING PLATFORM — HAMOONTECH PRODUCTION INFRASTRUCTURE · VLLM · KUBERNETES · SRECase 09 of 11 · /work/llm-serving
Index09 / 11
SourcePrivate core
Work / Production LLM Serving PlatformApplied buildProduction DeployedSanitized private core

Production LLM Serving Platform

Tail latency drops when KV memory fragmentation, redundant prefill, and synchronous side work are removed from the GPU path.

CORE QUESTION — How do you cut production p95 tail latency by >4x on constrained 24GB GPUs without dropping concurrent document throughput?

OwnsServes concurrent LLM routing traffic on vLLM + Kubernetes with bounded tail SLOsStackvLLM · PagedAttention · Kubernetes · Redis Cache · Celery / Kafka · PrometheusReleaseProduction-deployed @ HamoonTech · 850 ms → <200 ms p95 on 2x NVIDIA A10G 24GB

Built at HamoonTech for production customer-support routing on 2x NVIDIA A10G 24GB GPUs: replaced naive request-at-a-time inference with vLLM continuous batching and PagedAttention, added Redis semantic caching (~35% redundant forward-pass reduction), moved downstream work into Celery/Kafka queues, and instrumented SLO alerting via Prometheus and Grafana.

Maturity · Production Deployed — Production platform built at HamoonTech (Jun 2022 – May 2024); proprietary code & raw customer traffic remain private.

FIG. 2 — Production vLLM & cache topology2× A10G serving cluster
bounded observation: measurement window duration and exact sample size on 2× A10G are deliberately left undisclosed

DEPLOYED P95 SERVING LATENCY

850 ms → <200 ms p95

Measured before and after deploying vLLM continuous batching + PagedAttention on 2x NVIDIA A10G 24GB.

PRODUCTION ROUTING TRAFFIC

~15,000 documents/day

Sustained customer-support document flow at 15–25 peak concurrency on Kubernetes.

REDIS SEMANTIC CACHE BYPASS

~35%

Redundant GPU forward passes eliminated prior to vLLM admission; downstream enrichment offloaded to Celery & Kafka.

BOUNDARY — Observed on the deployed HamoonTech stack (Jun 2022 – May 2024); measurement window & exact sample size are undisclosed.

Iteration-level continuous batching, PagedAttention, Redis semantic bypass, and Celery/Kafka async offloading.
FIG. F — Architecture, operating pathStages in record order
  1. 01Ingress

    FastAPI routing · TLS · rate bounds

  2. 02Semantic Cache

    Redis hit bypass (~35%)

  3. 03vLLM Engine

    Continuous batching · PagedAttention

  4. 04GPU Pool

    2x NVIDIA A10G 24GB · K8s pods

  5. 05Async Bus

    Celery / Kafka background pipelines

  6. 06Observe

    Prometheus · Grafana p95 SLOs

FIG. F — The operating path as recorded. Nodes are stages of the system, not claims about deployment.

Engineering decisions — ledger of 3, as recorded. The signal edge marks the rejected alternative in each row.

RefDecision — and whyTrade-off acceptedRejected alternative
AMove KV allocation onto PagedAttention continuous batching Static batching starves mixed-length support routing queries and fragments 24GB A10G VRAM.Tighter coupling to vLLM worker lifecycle and CUDA memory tuning.Scale naive sequential FastAPI + HuggingFace generate replicas horizontally.
BGate GPU admission behind a Redis semantic cache Recurring support intents triggered redundant prefills across peak bursts, wasting limited A10G compute.Cache invalidation and similarity-threshold tuning required to prevent stale routing answers.Send every normalized query unconditionally through the LLM forward pass.
COffload enrichment and multi-stage transforms to Celery/Kafka Keeping downstream I/O outside inference worker threads stabilizes tail SLOs during burst ingestion.Additional operational surface for broker lag monitoring and dead-letter recovery.Run synchronous downstream webhook and persistence calls inside the inference request.

Revision table — evidence provenance, verbatim from the record

RevEvidenceResultSemantics
ADeployed serving path p95 latency
Observed before and after migrating customer-support routing to vLLM continuous batching + PagedAttention + semantic caching. Measurement window and sample size are omitted as unknown.
850 ms → <200 ms p95 on 2x NVIDIA A10G 24GBRECORDED Supported
BProduction traffic & cache bypass
Recorded on the deployed HamoonTech Redis semantic cache + Celery/Kafka workflow path; not claimed as an external cross-tenant benchmark.
~15,000 documents/day · 15–25 peak concurrency · ~35% redundant forward-pass reductionRECORDED Supported
CIndependent external reproduction
Proprietary employer workload; raw customer traffic and exact request distributions remain private.
None claimedRECORDED Not claimed

Schedule of capabilities — 6 entries, as recorded

  • vLLM continuous iteration-level batching
  • PagedAttention block allocation for KV cache
  • Redis semantic cache deduplication before GPU dispatch
  • Celery & Kafka decoupling for multi-step ingestion
  • Kubernetes pod scheduling & health probes
  • Prometheus + Grafana latency & queue-depth dashboards

Audience — MLOps & LLMOps Platform Teams · Production AI Infrastructure Engineers · Site Reliability Engineers · High-Throughput Inference Teams

Measurement contract — what would make the preferred answer fail?

EVALUATION METHOD

Serving p95 collapses when iteration-level batching, KV paging, and semantic deduplication shield limited 24GB GPUs from redundant work.

Before/after production measurement on the deployed HamoonTech 2x NVIDIA A10G Kubernetes stack across live customer-support routing volume.

01

Tail latency delta

measured before/after on deployed path
02

Sustained volume

production daily document throughput
03

Concurrent slots

peak active routing concurrency
04

Semantic cache bypass

redundant forward passes avoided via Redis
05

Async offloading

Celery/Kafka decoupling outside GPU loop
06

Undisclosed unknowns

measurement window · sample size listed explicitly

NOTE 1 — OWNERSHIP.

Production engineering platform built at HamoonTech (Jun 2022 – May 2024)

Sanitized production architecture case study grounded in HamoonTech serving telemetry; proprietary configs, customer data, and internal cluster manifests are omitted.

NOTE 2 — READING. Numbers on this page carry their boundary lines. Quoting a result without its boundary omits its scope.

Exclusions — Proprietary employer source code and manifests not published · Measurement window & exact request sample sizes are undisclosed · Hardware ceiling scoped to 2x NVIDIA A10G 24GB class

Quick navigation

Jump to System or Page

↑↓ select↵ openESC close