Outgrowing Lambda Functions, Not Lambda | Honeycomb
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.
Related posts
- How to price serverless GPUs
Modal easyNovice
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. Reservations must be sized for peak demand over the whole contract, while serverless bills only for actual use. Modal reports typical discounts of 2-5x against peak-to-average ratios of 5-10x for inference, training and agentic workloads, and 10-100x for burst load above a reserved baseline. The model's assumptions are also examined: perfect demand prediction, instant autoscaling, all-or-none strategies and GPU cost as the only factor.
- How OrderServ achieved up to 64% cost savings with multi-tenant ECS
AWS Architecture Blog mediumAdeptCognizant's OrderServ food-ordering platform moved from one dedicated ECS Fargate cluster per brand (21 microservices each) to a shared multi-tenant cluster. Isolation is enforced by a .NET tenancy library that resolves tenant context per request with AsyncLocal, routes data access with tenant prefixes and fails closed, backed by STS session-tag scoped credentials and per-tenant Valkey RBAC. Switching from Fargate to EC2 Auto Scaling warm pools on Bottlerocket cut scale-out from 5–7 minutes to 30–60 seconds and compute cost by 47–64% with Savings Plans, using a five-layer scaling strategy that includes per-tenant throttling. A FireLens and EventBridge crash-observability pipeline with EFS-persisted .NET mini dumps costs about $10/month per service, and passkeys replaced SMS OTP to cut authentication costs by 80%.
- How to reduce Postgres compute costs as you scale
Neon mediumAdept
Compute, not storage, usually dominates managed Postgres bills, and allocation-based services like Amazon RDS leave most provisioned capacity idle. On RDS, costs fall through careful planning of instance count, multi-AZ use and instance size, through downsizing guided by CloudWatch metrics such as CPUUtilization and FreeableMemory, and through query tuning: EXPLAIN ANALYZE, indexes, materialized views, caching and fixing ORM N+1 queries. Manual resizing is slow, error-prone and causes downtime, so Neon positions its autoscaling (autoscaler-agent, a modified Kubernetes scheduler and NeonVM) and scale-to-zero autosuspend as the way to make compute spend track actual load.
- Aderant modernizes analytics data pipeline with Apache Iceberg and AWS Lambda
AWS Architecture Blog mediumAdeptAderant 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. CDC events from SQL Server flow via AWS DMS, S3 notifications, SQS and containerized Lambda (PyIceberg) into bronze tables in single-digit seconds. Glue jobs with DynamoDB watermarks perform MERGE-based deduplication into silver. Gold tables are produced two ways: incremental Glue jobs for 77 standard tables, and Iceberg materialized views with snapshot diffing for 34 complex window/CTE queries, with deltas pushed into native Redshift tables. Moving from Redshift Spectrum to native tables gave 10–26x faster queries (sub-100 ms), and Lambda instead of streaming cut compute costs by 77% across 700 tenants and 266 source tables.
- Linear programming for fun and profit
Modal mediumAdept
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. It solves that program with Google's GLOP simplex solver from OR-Tools and outputs a delta of instances to spin up or down. Cheap preprocessing heuristics, such as pruning instance types, keep solves to fractions of a second rather than minutes, trading a little optimality for predictable scaling latency. Background workers make the actual cloud requests and feed observed capacity-limit failures back into later solves. The approach lets Modal exploit price arbitrage, such as H200s priced below H100s, and saves millions per year.