---
title: "Outgrowing Lambda Functions, Not Lambda | Honeycomb"
description: "Honeycomb moved most of its S3-backed query mapper compute from Lambda Functions to AWS Lambda Managed Instances, eventually cutting query costs 40-56%, though the switchover itself was easy and the savings came from months of tuning."
url: "https://swe.quest/articles/outgrowing-lambda-functions-not-lambda-honeycomb-70c5a0734377ce87"
canonical: "https://www.honeycomb.io/blog/outgrowing-lambda-functions-not-lambda"
source: "Honeycomb"
published: "2026-11-25"
difficulty: "medium"
kind: "Case study"
reading_minutes: 20
tags: ["serverless","cost-optimization","cloud","capacity-planning","observability"]
---

# Outgrowing Lambda Functions, Not Lambda | Honeycomb

A post on [Honeycomb](https://swe.quest/sources/honeycomb.md), published 2026-11-25, 20 min read, Case study. Original: [https://www.honeycomb.io/blog/outgrowing-lambda-functions-not-lambda](https://www.honeycomb.io/blog/outgrowing-lambda-functions-not-lambda)

## Summary

Honeycomb moved most of its S3-backed query mapper compute from Lambda Functions to AWS Lambda Managed Instances, eventually cutting query costs 40-56%, though the switchover itself was easy and the savings came from months of tuning. Lambda Functions had grown 5-8x more expensive per core-millisecond than EC2 because of an older Graviton mix and GB-second billing for network-bound waiting on S3. Agent-driven MCP queries also turned spiky load into a steady baseline. LMI is about 7.5x cheaper per CPU-second, but it bills for the whole fleet, so it only breaks even above roughly 12.5-14% utilization. Getting there required 16-way multi-concurrency, changes to GC, memory shedding and telemetry, capping the bang-bang autoscaler's max fleet size, and retry-then-spill routing plus query batching.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Capacity planning](https://swe.quest/tags/capacity-planning.md) (Reliability & operations)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)

## Prerequisites

- AWS Lambda basics ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- Columnar storage
- EC2 Savings Plans

## Keywords

AWS Lambda Managed Instances, AWS Lambda, Graviton5, Amazon S3, Honeycomb, Compute Savings Plans, MCP

## Related posts

- [How to price serverless GPUs](https://swe.quest/articles/how-to-price-serverless-gpus-860219d00ad9fa69.md): Modal · 2026-07-06 · Easy · 7 min read · Cost optimization, Serverless, Capacity planning, Inference & serving, Hardware
  Whether serverless or reserved GPUs are cheaper comes down to one comparison: the ratio of reserved to serverless cost equals the reservation discount multiplied by the workload's peak-to-average demand ratio, so serverless wins whenever peak-to-average exceeds the discount.
- [How OrderServ achieved up to 64% cost savings with multi-tenant ECS](https://swe.quest/articles/how-orderserv-achieved-up-to-64-cost-savings-with-multi-tenant-ecs-935530e80e7948f4.md): AWS Architecture Blog · 2026-11-06 · Medium · 13 min read · Multi-tenancy, Cloud platforms, Cost optimization, Capacity planning, Observability
  Cognizant's OrderServ food-ordering platform moved from one dedicated ECS Fargate cluster per brand (21 microservices each) to a shared multi-tenant cluster.
- [How to reduce Postgres compute costs as you scale](https://swe.quest/articles/how-to-reduce-postgres-compute-costs-as-you-scale-00db750fe1e313ab.md): Neon · 2024-04-29 · Medium · 12 min read · PostgreSQL, Cost optimization, Capacity planning, Cloud platforms, Serverless
  Compute, not storage, usually dominates managed Postgres bills, and allocation-based services like Amazon RDS leave most provisioned capacity idle.
- [Aderant modernizes analytics data pipeline with Apache Iceberg and AWS Lambda](https://swe.quest/articles/aderant-modernizes-analytics-data-pipeline-with-apache-iceberg-and-aws-lambda-5b9fc37de182f3f3.md): AWS Architecture Blog · 2026-11-19 · Medium · 9 min read · Data pipelines, Analytics & OLAP, Serverless, Multi-tenancy, Cloud platforms
  Aderant replaced a 15-minute batch pipeline for its Stridyn legal analytics tool with an event-driven medallion architecture (bronze, silver, gold) built on Apache Iceberg tables in S3.
- [Linear programming for fun and profit](https://swe.quest/articles/linear-programming-for-fun-and-profit-77f85e06bfe14840.md): Modal · 2025-05-07 · Medium · 8 min read · Capacity planning, Cost optimization, Algorithms, Cloud platforms, Serverless
  Modal provisions GPU and CPU capacity across multiple clouds with a "resource solver" that formulates demand, prices, availability and per-instance limits as a linear program.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
