Home → Cloud → Article

Honeycomb Migrates Query Compute From Lambda Functions To Lambda Managed Instances

TL;DR

Honeycomb switched 70% of query workload from Lambda Functions to AWS Lambda Managed Instances, achieving 7.5x cost efficiency per CPU-second through better fleet packing and Compute Savings Plans.

Key Points

  • Lambda Managed Instances delivers 7.5x cheaper CPU-seconds vs Lambda Functions on Graviton5 with Savings Plans
  • Achieved break-even utilization at 12.5% fleet capacity through multi-concurrency (up to 16 invokes per environment)
  • Required architectural changes: multi-concurrency invokes, GC optimization, memory pressure handling, and telemetry rethinking
  • Peak query load grew 50x weekly (six years), ingest reached 6.7M events/sec; Lambda Functions throttling became limiting factor

Why It Matters

This deep-dive reveals how serverless economics shift at scale—Lambda Functions' per-millisecond billing becomes expensive when workloads mature from spiky to steady-state. The architectural patterns (multi-concurrency, intelligent routing with fallback, queue-based batching) are directly applicable to other teams hitting similar Lambda scaling limits.
Read the full technical deep-dive

Source: www.honeycomb.io