Haystack query latency spikes after bulk document indexing

a close up of hay bales stacked on top of each other

Problem After a bulk indexing run of several hundred thousand documents, the Haystack SearchQuerySet latency spikes dramatically. The 95th‑percentile response time, which normally sits around 0.8 s, climbs to 5 s–12 s for simple term queries. The issue appears only after the indexing job finishes; during indexing the query latency remains low. Typical symptoms observed in production: API … Read more

Docker inference worker queue backlog causing latency spikes in streaming

blue and red cargo ship on dock during daytime

Problem: Inference Queue Backlog Causing Latency Spikes in Real‑Time Streaming A high‑throughput video streaming service runs a fleet of Docker containers, each hosting an AI inference worker that processes incoming frames. Over the past weeks the pipeline has exhibited intermittent latency spikes and dropped frames. Monitoring shows a growing backlog in the internal inference queue, … Read more

Intermittent Mistral AI query latency spikes during high concurrency batch jobs

A close up of a cell phone on a table

Problem: Intermittent Mistral AI Query Latency Spikes During High‑Concurrency Batch Jobs During nightly batch processing, a fleet of GPU‑accelerated inference servers receives up to 10,000 concurrent requests per batch. The SLA for a single query is ≤ 150 ms, yet certain batches exhibit response times of 600‑800 ms, a 4‑5× increase. The latency spikes are non‑deterministic: the … Read more

Google Gemini logprob NaN after network latency spike in hybrid cloud

Google logo neon light signage

Problem Description During inference with the Google Gemini model in a hybrid‑cloud deployment, the logprob field in the response payload intermittently contains NaN or null values. The symptom manifests as: Inconsistent token scoring – generated text appears correct, but downstream ranking logic that relies on log probabilities fails. API errors such as HTTP 400 with … Read more

Google Gemini query latency spikes in staging during peak CI load

a person holding a cell phone in their hand

Problem: Google Gemini Query Latency Spikes in Staging During Peak CI Load During nightly integration runs the staging environment experiences Gemini model response times up to 5× the SLA threshold (e.g., 300 ms → 1.5 s). The spikes are correlated with the start of a large CI batch (≈200 concurrent test jobs). Symptoms include: Latency histogram in … Read more

Claude model latency spike after traffic surge in API gateway

Abstract purple and gold elements within a reflective swirling structure

Problem During a traffic surge on the API gateway that fronts the Anthropic Claude service, response times for /v1/complete calls jumped from the typical 300‑500 ms to several seconds, occasionally reaching 30 s. The latency spike was intermittent but correlated with periods when the gateway handled thousands of concurrent requests per second. Typical error messages observed in … Read more

Grafana dashboard query latency spikes over 8000ms with PromQL aggregations

a close-up of a server room

Problem Description Grafana dashboards that visualize real‑time model inference latency and GPU utilization are experiencing intermittent rendering latency spikes that exceed 8000 ms. The symptoms observed in the UI and logs are: Panel data request timed out after 8000 ms (Grafana UI). Grafana logs contain datasource query timeout and Failed to query datasource: context deadline exceeded. Prometheus … Read more

Prometheus query latency spikes with high-cardinality metrics

white angel statue on brown wooden floor

Problem Description During peak ingestion windows of a real‑time LLM inference pipeline, Prometheus query latency exceeds the 5‑second Service‑Level Objective (SLO). The most common symptom is a timeout error returned by the HTTP API: error: query timeout after 5s Dashboard panels that aggregate inference_latency_seconds by endpoint and model start rendering in 10‑12 seconds. The issue correlates … Read more

Meta LLaMA query latency spike after model update

cable network

Problem Description In a development sandbox that runs Meta LLaMA (v1) on a single NVIDIA A100 GPU, query latency jumped from an average of 150 ms to > 800 ms** within a two‑hour window. The workload is low‑concurrency (1‑5 queries per minute) and uses the default inference script from the Meta LLaMA 2 Documentation. The spike broke … Read more

Kubernetes AI inference latency spike during peak hours

a group of blue boxes

Problem – Latency Spike in Kubernetes‑Hosted AI Inference Service During peak traffic windows the inference endpoint that serves ~100 ms predictions suddenly starts responding in 1 s +. The spike is repeatable, lasts for the duration of the load burst, and then returns to baseline once traffic subsides. Key observations: CPU and memory usage on GPU‑accelerated pods stay … Read more