---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?difficulty=medium&tag=cost-optimization"
---

# Posts

Filtered by topics: Cost optimization, difficulty: medium.

Posts 1–24 of 149, page 1 of 7, newest first.

## 2026-11-25

- [Outgrowing Lambda Functions, Not Lambda | Honeycomb](https://swe.quest/articles/outgrowing-lambda-functions-not-lambda-honeycomb-70c5a0734377ce87.md): Honeycomb · 2026-11-25 · Medium · 20 min read · Serverless, Cost optimization, Cloud platforms, Capacity planning, Observability
  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.
- [Rethinking read replicas for the lakebase architecture](https://swe.quest/articles/rethinking-read-replicas-for-the-lakebase-architecture-35eaea5162536008.md): Neon · 2026-11-25 · Medium · 15 min read · PostgreSQL, Replication, Storage engines, Cloud platforms, Cost optimization
  Lakebase Postgres implements read replicas as additional read-only computes attached to the same disaggregated storage as the primary, rather than as physical clones with their own volumes.

## 2026-11-24

- [Introducing preemptible compute: the same compute, half the price](https://swe.quest/articles/introducing-preemptible-compute-the-same-compute-half-the-price-8c66db34ac82eb9a.md): Together AI · 2026-11-24 · Medium · 4 min read · Cloud platforms, Kubernetes, Cost optimization, Model training, Inference & serving
  Together GPU Clusters now offer preemptible nodes on Kubernetes and Slurm at a flat 50% of on-demand price, billed sub-hourly, drawing from unused capacity and joining existing clusters with a \`together.ai/compute-class=preemptible\` label.

## 2026-11-17

- [How Rakbank built centralized observability at scale with Amazon OpenSearch Service](https://swe.quest/articles/how-rakbank-built-centralized-observability-at-scale-with-amazon-opensearch-1bb98e77fef163aa.md): AWS Architecture Blog · 2026-11-17 · Medium · 9 min read · Observability, Cost optimization, Cloud platforms, Search, Kubernetes
  Rakbank's retail digital banking platform ingests about 150 GB/day of logs from EKS microservices via a Fluent Bit DaemonSet into a cross-account, three-AZ Amazon OpenSearch Service domain reached privately over Transit Gateway, while dual-writing raw logs to S3 for 7-year compliance retention queried with Athena.

## 2026-11-13

- [Introducing Spend Management: Spending limits and alerts for Cloudflare](https://swe.quest/articles/introducing-spend-management-spending-limits-and-alerts-for-cloudflare-dcd9025e1197ec48.md): Cloudflare · 2026-11-13 · Medium · 9 min read · Cost optimization, System design, Serverless, Data pipelines
  Cloudflare Spend Management, now in beta for pay-as-you-go customers, lets users set spending limits and alert thresholds on Workers and Durable Objects, automatically pausing billable invocations when a cap is hit.

## 2026-11-12

- [Sandbox resourcing: burst, don't reserve](https://swe.quest/articles/sandbox-resourcing-burst-don-t-reserve-6ee1eed03f706498.md): Modal · 2026-11-12 · Medium · 6 min read · Sandboxing & isolation, Cost optimization, Capacity planning, Scheduling, AI agents
  Modal Sandboxes default to a tiny guaranteed request (0.125 cores, 128 MiB) and burst into a shared pool of idle machine capacity, billed per second on actual use rather than a fixed peak reservation.
- [Mubit + Neon AI Gateway: an agent that cuts its own frontier-model tokens by 73%](https://swe.quest/articles/mubit-neon-ai-gateway-an-agent-that-cuts-its-own-frontier-model-tokens-by-73-358da1147275d399.md): Neon · 2026-11-12 · Medium · 10 min read · AI agents, LLMs, Cost optimization, Inference & serving, PostgreSQL
  Mubit, a proxy placed in front of Neon AI Gateway, records an agent's model calls, groups recurring calls into tasks, and fine-tunes a small open-weight model once a task has at least 25 good replies.

## 2026-11-09

- [Fact-Checking at Scale: Building a More Accurate and Efficient Synopsis Factuality System](https://swe.quest/articles/fact-checking-at-scale-building-a-more-accurate-and-efficient-synopsis-b4a7ea27d675f2cc.md): Netflix TechBlog · 2026-11-09 · Medium · 11 min read · LLMs, Evaluation, Cost optimization, System design
  Netflix replaced its synopsis fact-checker, which made five long-context (100k+ token) reasoning-model calls per synopsis, with a cascade.
- [Which Claude model should you build with? Fable, Opus, Sonnet, or Haiku](https://swe.quest/articles/which-claude-model-should-you-build-with-fable-opus-sonnet-or-haiku-6c6ec0a3b89623a4.md): claude.dev · 2026-11-09 · Medium · 17 min read · LLMs, AI for coding, AI agents, Cost optimization
  Opus 5.5 at medium effort is the recommended starting point for most coding and knowledge work.

## 2026-11-06

- [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.

## 2026-11-05

- [LLM Cost Optimization: 3 Patterns to Cut LLM Token Spend](https://swe.quest/articles/llm-cost-optimization-3-patterns-to-cut-llm-token-spend-f19f5dd3713227bf.md): Honeycomb · 2026-11-05 · Medium · 9 min read · LLMs, Cost optimization, Observability, AI agents
  LLM token spend is best reduced by using traces to find three waste patterns: repeated input context that doesn't improve results, retry storms and runaway agent loops, and output tokens that don't lift outcomes.

## 2026-10-30

- [Introducing DBArena: open, reproducible benchmarks for hosted Postgres](https://swe.quest/articles/introducing-dbarena-open-reproducible-benchmarks-for-hosted-postgres-fcea976f1f3d4cee.md): Supabase · 2026-10-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Cloud platforms, Cost optimization
  DBArena publishes open, reproducible benchmarks of hosted Postgres, starting with Supabase Postgres (heap and OrioleDB), Amazon RDS and Google Cloud SQL across up to seven vCPU-matched tiers on Postgres 17 with default configs.

## 2026-10-29

- [Speeding up language models for travel applications](https://swe.quest/articles/speeding-up-language-models-for-travel-applications-59383cdd398ccff9.md): Amazon Science · 2026-10-29 · Medium · 4 min read · Inference & serving, Model training, LLMs, Performance engineering, Cost optimization
  Combining knowledge distillation with Medusa multi-token decoding let Booking.com replace large LLMs with a 1.1B-parameter TinyLlama student that matches a Llama-3.1 70B teacher while running 10 to 20 times as fast.

## 2026-10-28

- [Why ClickHouse Cloud wins at real-time analytics](https://swe.quest/articles/why-clickhouse-cloud-wins-at-real-time-analytics-ff3bf2806ccb7be7.md): ClickHouse · 2026-10-28 · Medium · 21 min read · Analytics & OLAP, Storage engines, Query engines, Performance engineering, Cost optimization
  In the CostBench streaming benchmark (113.2 billion stock quotes ingested at about 1M rows/s while queries ran), ClickHouse Cloud scored 412× to 1,996× better end-to-end performance per dollar than Snowflake, Databricks, BigQuery and Redshift Serverless.

## 2026-10-20

- [Observability At Scale — Every Byte Counts](https://swe.quest/articles/observability-at-scale-every-byte-counts-3491ffe2c3088798.md): Wise Engineering · 2026-10-20 · Medium · 14 min read · Observability, Cost optimization, Performance engineering, Kubernetes
  Five observability changes at Wise cut monthly spend by 40%.
- [Spin-Up, Test, Tear-Down: How trivago Runs 600+ Preview Environments on Kubernetes](https://swe.quest/articles/spin-up-test-tear-down-how-trivago-runs-600-preview-environments-on-kubernetes-05cd513386944763.md): trivago tech · 2026-10-20 · Medium · 13 min read · Kubernetes, Deployment, Cost optimization, Testing, CI/CD
  trivago runs 600+ per-pull-request preview environments on GKE that sit at zero replicas most of the time, using ArgoCD ApplicationSets with a pull-request generator for lifecycle and the KEDA HTTP add-on's interceptor proxy to hold requests while a deployment scales from zero.

## 2026-10-16

- [Everything We Talked About at O11yDay London 2026](https://swe.quest/articles/everything-we-talked-about-at-o11yday-london-2026-0f7b0e96a8f38f57.md): Honeycomb · 2026-10-16 · Medium · 11 min read · AI agents, Observability, AI for coding, Code review, Cost optimization
  Across ten sessions at O11yDay London, the recurring bottleneck was not writing code but reviewing it, operating agents in production, and proving the spend is worth it.

## 2026-10-13

- [Open Models have crossed a threshold](https://swe.quest/articles/open-models-have-crossed-a-threshold-c54376af892bf600.md): LangChain · 2026-10-13 · Medium · 7 min read · Evaluation, LLMs, AI agents, Cost optimization
  Open-weight models GLM-5 and MiniMax M2.7 now score close to closed frontier models on core agent tasks in LangChain's Deep Agents eval suite.

## 2026-10-09

- [How to Build a Model Router in the Harness](https://swe.quest/articles/how-to-build-a-model-router-in-the-harness-cfe4402ea89738e9.md): LangChain · 2026-10-09 · Medium · 11 min read · AI agents, LLMs, Cost optimization, Evaluation, AI for coding
  Routing each coding-agent thread to one of three model tiers (fast, balanced, performance) cut median cost per thread by 64% versus always using a top frontier model, with no measurable change in merged-PR rate (29.2% vs 27.3%, p=0.49) across 973 threads in Open SWE.

## 2026-10-08

- [Why BigQuery can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-bigquery-can-t-match-clickhouse-cloud-for-real-time-analytics-fd197ffd824251d5.md): ClickHouse · 2026-10-08 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Cloud platforms, Data pipelines
  In the CostBench benchmark, ClickHouse Cloud and BigQuery ingest 113.2 billion stock quotes at a target of 1M rows/s while aggregate and drill-down queries run continuously, and ClickHouse Cloud scores 438× better end-to-end performance per dollar under BigQuery Capacity pricing and 512× under On-demand.

## 2026-10-06

- [Why Databricks can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-databricks-can-t-match-clickhouse-cloud-for-real-time-analytics-64110106fa23e085.md): ClickHouse · 2026-10-06 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  In a vendor-run CostBench test, ClickHouse Cloud and Databricks each ingested a stream of 113.2 billion stock quotes, targeting 1M rows/s, while aggregate and drill-down queries ran on schedule.

## 2026-10-05

- [Scaling Kubernetes Workloads with Node Swap](https://swe.quest/articles/scaling-kubernetes-workloads-with-node-swap-f795d2bfe3f76482.md): Kubernetes Blog · 2026-10-05 · Medium · 6 min read · Kubernetes, Linux, Sandboxing & isolation, Performance engineering, Cost optimization
  Kubernetes node swap, GA since v1.34 and backed by fast NVMe Local SSDs, lets nodes page out dormant anonymous memory and pack far more pods.
- [Executable UDFs are now generally available on ClickHouse Cloud](https://swe.quest/articles/executable-udfs-are-now-generally-available-on-clickhouse-cloud-afc730ccd3e99d10.md): ClickHouse · 2026-10-05 · Medium · 20 min read · Analytics & OLAP, Rust, LLMs, Cost optimization, Observability
  Executable UDFs are now generally available on ClickHouse Cloud across AWS, GCP and Azure, adding a Native runtime for statically linked Rust/Go/C++/JavaScript binaries, outbound network access, per-process memory limits, a deterministic flag that enables the query cache, Cloud API and Terraform support, and per-query UDF metrics in 26.6+.

## 2026-09-29

- [Node.js at scale, rebalanced: how we cut cost by 38%](https://swe.quest/articles/node-js-at-scale-rebalanced-how-we-cut-cost-by-38-1008b397ea498cc9.md): Booking.com Engineering · 2026-09-29 · Medium · 17 min read · JavaScript, Performance engineering, Cost optimization, Load balancing, Runtimes & VMs
  Booking.com cut compute costs for its largest Node.js React SSR service by 38% (30% fewer pods, 20% less memory per pod, up to 10% lower tail latency) without touching service code, by moving from pm2's cluster-based processes to wattpm worker threads and revisiting long-untouched configuration.

[Next page](https://swe.quest/index.md?difficulty=medium&tag=cost-optimization&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=cost-optimization](https://swe.quest/feed.xml?difficulty=medium&tag=cost-optimization). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
