---
title: "Cost optimization"
description: "Reducing infrastructure or cloud spend"
url: "https://swe.quest/tags/cost-optimization?per=96"
---

# Cost optimization

Topic in Reliability & operations: Reducing infrastructure or cloud spend

By difficulty: [Easy](https://swe.quest/tags/cost-optimization.md?difficulty=easy) · [Medium](https://swe.quest/tags/cost-optimization.md?difficulty=medium) · [Hard](https://swe.quest/tags/cost-optimization.md?difficulty=hard)

Posts 1–96 of 204, page 1 of 3, newest first.

## 2026-11-30

- [Training and Serving Multimodal LLMs in Production](https://swe.quest/articles/training-and-serving-multimodal-llms-in-production-25a82cfa670b2153.md): Canva Engineering · 2026-11-30 · Hard · 21 min read · Inference & serving, Model training, LLMs, Computer vision, Cost optimization
  Canva fine-tuned a 4B Qwen3.5 vision-language model to run 30+ content and quality checks on over 100k images a day, cutting LLM costs by about 85% and halving the false negative rate without raising false positives.

## 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

- [Your agents don't care that you're a batch shop](https://swe.quest/articles/your-agents-don-t-care-that-you-re-a-batch-shop-f2ee189b6981b5bb.md): ClickHouse · 2026-11-24 · Easy · 10 min read · Analytics & OLAP, AI agents, Cost optimization, Capacity planning, Performance engineering
  Agent workloads turn one business question into tens of sequential, bursty queries, so even batch-oriented firms querying yesterday's data need engines that minimize compute-seconds per query.
- [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-19

- [How Abundant designed efficient rollout architecture with Modal Sandboxes](https://swe.quest/articles/how-abundant-designed-efficient-rollout-architecture-with-modal-sandboxes-6590e651fd7feefd.md): Modal · 2026-11-19 · Easy · 4 min read · Sandboxing & isolation, Model training, Evaluation, Serverless, Cost optimization
  Abundant runs its reinforcement learning rollout platform on Modal, with each of 75,000+ RL tasks executing in an isolated Modal Sandbox and Modal Functions powering the scheduler API.

## 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

- [Scale distributed AI workloads with Ray and Anyscale on Amazon EC2](https://swe.quest/articles/scale-distributed-ai-workloads-with-ray-and-anyscale-on-amazon-ec2-0c6441d44d076c17.md): AWS Architecture Blog · 2026-11-12 · Easy · 8 min read · ML platforms, Cloud platforms, Cost optimization, Model training, Inference & serving
  Ray, run as the managed Anyscale service inside your own AWS account, can carry a multimodal AI/ML pipeline from a single instance to multi-node clusters without code changes.
- [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-11-04

- [Dharma Field Extractor: Any Document In, Structured Fields in JSON Out](https://swe.quest/articles/dharma-field-extractor-any-document-in-structured-fields-in-json-out-ab0fec69412fc965.md): Hugging Face · 2026-11-04 · Easy · 8 min read · Computer vision, Model training, Evaluation, LLMs, Cost optimization
  Dharma-AI's Field Extractor is a 2B-parameter vision-language model, a LoRA adapter on DharmaOCR-LITE v1.1 trained on 43,384 field-annotated examples, that turns document images into typed JSON, either open-ended or filling a caller-supplied schema with nulls for missing fields.

## 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-22

- [Introducing our Training API](https://swe.quest/articles/introducing-our-training-api-a5babdede3e3cd17.md): Modal · 2026-10-22 · Hard · 7 min read · Model training, ML platforms, Multi-tenancy, Cost optimization, Open source
  Spindle is an open-source, Tinker-compatible post-training server that runs in a user's Modal workspace and bills for GPU time instead of tokens, so teams can customize models and features.

## 2026-10-21

- [How Specializing the Vocabulary of SLMs Can Cut Inference Cost by 77% in Real Applications](https://swe.quest/articles/how-specializing-the-vocabulary-of-slms-can-cut-inference-cost-by-77-in-real-c0f4e920b37cfe6d.md): Hugging Face · 2026-10-21 · Hard · 11 min read · Inference & serving, LLMs, Cost optimization, Model training
  VocabX rebuilds a fine-tuned small model's tokenizer by choosing tokens for the cost they save rather than how often they appear.
- [How Shopify turns open models into task experts](https://swe.quest/articles/how-shopify-turns-open-models-into-task-experts-a2ba67e222beb92b.md): Shopify Engineering · 2026-10-21 · Hard · 5 min read · Model training, Inference & serving, Evaluation, AI agents, Cost optimization
  Shopify's Sidekick keeps a frontier model for merchant conversation and planning but offloads token-heavy subagent work, such as GraphQL query generation, to open models it post-trains and self-hosts.

## 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

- [Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM](https://swe.quest/articles/advancing-generative-recommendation-inference-our-collaboration-with-nvidia-on-edd2a66abab4a278.md): Spotify Engineering · 2026-10-16 · Hard · 7 min read · Inference & serving, Recommendations & ranking, LLMs, Cost optimization
  Spotify consolidated its LLM-based generative recommendation inference onto TensorRT LLM, working with NVIDIA to add the features it had been splitting across engines. vLLM handled beam search for semantic-ID candidate generation, but its beam search runs outside the core GPU engine and recomputes partially filled KV blocks.
- [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-15

- [OLTP is expensive, you can ClickHouse it.](https://swe.quest/articles/oltp-is-expensive-you-can-clickhouse-it-cd5e8f20ed5b5b0f.md): ClickHouse · 2026-10-15 · Easy · 6 min read · PostgreSQL, Analytics & OLAP, Cost optimization, Storage engines, Event-driven architecture
  Data that has stopped changing doesn't need Postgres's ACID machinery, so it can be offloaded to ClickHouse for roughly an order of magnitude better unit economics.

## 2026-10-14

- [Why Redshift Serverless can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-redshift-serverless-can-t-match-clickhouse-cloud-for-real-time-analytics-8ba7c0518a8afd27.md): ClickHouse · 2026-10-14 · Hard · 20 min read · Analytics & OLAP, Stream processing, Cost optimization, Performance engineering, Cloud platforms
  In a CostBench continuous-ingestion test streaming 113.2 billion stock quotes at a target of 1M rows/s, ClickHouse Cloud scored 1,996× better end-to-end performance per dollar than Redshift Serverless.

## 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.
- [Toward RL on mixed-precision, mixed-accelerator samplers](https://swe.quest/articles/toward-rl-on-mixed-precision-mixed-accelerator-samplers-1c0dc5519077aec1.md): Modal · 2026-10-13 · Hard · 17 min read · Model training, Inference & serving, LLMs, Hardware, Cost optimization
  RL training of Qwen3.6-35B-A3B on agentic coding stays stable when samplers run on six accelerator types (A100 through B300, RTX PRO 6000) in NVFP4, FP8 and BF16 with their own kernels, feeding a BF16 trainer on B200.

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

## 2026-09-21

- [Kubernetes v1.37: Tracking When a PersistentVolumeClaim Was Last Used (Beta)](https://swe.quest/articles/kubernetes-v1-37-tracking-when-a-persistentvolumeclaim-was-last-used-beta-f2e1a2088a092b2f.md): Kubernetes Blog · 2026-09-21 · Medium · 5 min read · Kubernetes, Storage systems, Cost optimization
  Kubernetes v1.37 promotes the PersistentVolumeClaimUnusedSinceTime feature gate to Beta and enables it by default.
- [Can Jev Be a Better Agent Evaluator?](https://swe.quest/articles/can-jev-be-a-better-agent-evaluator-99ff69918ef5b7f5.md): LangChain · 2026-09-21 · Medium · 8 min read · Evaluation, AI agents, LLMs, Cost optimization
  Jev, a "System One" model from TypeSafe AI that returns typed answers and probabilities instead of generating text, was tested as an agent evaluator against GPT-5.6 Luna, GPT-5.6 Terra and Claude Sonnet 4.6.
- [AI coding has made CI a bottleneck, so we reworked ours to keep up](https://swe.quest/articles/ai-coding-has-made-ci-a-bottleneck-so-we-reworked-ours-to-keep-up-1594c74d280c863b.md): Linear · 2026-09-21 · Medium · 8 min read · CI/CD, Developer productivity, Cost optimization, TypeScript, Performance engineering
  Linear cut pull request CI wait time from over 6 minutes to about 5 and halved runner time per test, even as its test suites nearly quadrupled.

## 2026-09-16

- [Migrating from closed to open source models, Together](https://swe.quest/articles/migrating-from-closed-to-open-source-models-together-1266d38cb0fbfc09.md): Together AI · 2026-09-16 · Easy · 8 min read · LLMs, Evaluation, Inference & serving, Cost optimization, Deployment
  Moving from closed to open source LLMs can take weeks rather than years when it follows a five-stage process: discover, evaluate, adapt, decide, production.

## 2026-09-11

- [Evolving Pinterest’s Embedding Retrieval Platform](https://swe.quest/articles/evolving-pinterest-s-embedding-retrieval-platform-c93c0b5fa7cc0d54.md): Pinterest Engineering · 2026-09-11 · Hard · 7 min read · Vector search, Search, Cost optimization, Recommendations & ranking, Performance engineering
  Pinterest is evolving Manas, its in-house distributed search platform serving billions of embeddings across 80+ clusters, along three fronts: quantization, SSD-based ANN serving, and multi-embedding retrieval.
- [AI Functions in ClickHouse: Upgrade your SQL to the AI age](https://swe.quest/articles/ai-functions-in-clickhouse-upgrade-your-sql-to-the-ai-age-11cec6552950f306.md): ClickHouse · 2026-09-11 · Medium · 12 min read · LLMs, SQL, RAG & retrieval, Analytics & OLAP, Cost optimization
  ClickHouse's beta AI Functions call LLM and embedding providers directly from SQL.

## 2026-09-10

- [Why Snowflake can’t match ClickHouse Cloud for real-time analytics](https://swe.quest/articles/why-snowflake-can-t-match-clickhouse-cloud-for-real-time-analytics-a0d24a843f0ecba4.md): ClickHouse · 2026-09-10 · Medium · 18 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  In the CostBench continuous-ingestion benchmark (113.2 billion stock quotes streamed toward 1M rows/s while aggregate and drill-down queries ran on the freshest data), ClickHouse Cloud scored 412× better end-to-end performance per dollar than Snowflake.

## 2026-09-08

- [CostBench: Putting real-time analytics to the test](https://swe.quest/articles/costbench-putting-real-time-analytics-to-the-test-d29d773d94c62f6a.md): ClickHouse · 2026-09-08 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  CostBench measures real-time analytics performance per dollar as one continuous workload: more than 100 billion NBBO stock quotes are streamed at a target of 1 million rows/sec while aggregate and drill-down queries run on a fixed schedule.

## 2026-09-04

- [Comparing token economics across 42 AI models](https://swe.quest/articles/comparing-token-economics-across-42-ai-models-653e0d85d2add5a0.md): Neon · 2026-09-04 · Medium · 10 min read · Evaluation, LLMs, Cost optimization, Inference & serving
  A synthetic workload of 100 support tickets (20 scenarios × 5 tone variants) was run through 42 models via Neon AI Gateway, with responses graded on seven checks including JSON validity, correct classification and escalation, and policy compliance.

## 2026-09-02

- [Kubernetes v1.37: Scale Workloads to Zero with HorizontalPodAutoscaler](https://swe.quest/articles/kubernetes-v1-37-scale-workloads-to-zero-with-horizontalpodautoscaler-d8e25c817e5e1444.md): Kubernetes Blog · 2026-09-02 · Medium · 5 min read · Kubernetes, Capacity planning, Cost optimization
  Kubernetes v1.37 promotes HPA scale-to-zero to Beta and enables it by default, so a HorizontalPodAutoscaler with minReplicas: 0 can scale workloads to zero and back based on object or external metrics such as queue length.
- [How we make AI coding more cost efficient without sacrificing task quality](https://swe.quest/articles/how-we-make-ai-coding-more-cost-efficient-without-sacrificing-task-quality-07be31d835dcfb01.md): GitHub Engineering · 2026-09-02 · Medium · 10 min read · AI agents, AI for coding, LLMs, Evaluation, Cost optimization
  GitHub Copilot cut agent costs by optimizing for whole-task outcomes rather than per-tool-call token counts, after finding that aggressive shell-output compression (RTK) made agents reread or rerun commands and raised end-to-end cost.

## 2026-09-01

- [How Uken Games reduces observability costs by 87% with ClickHouse](https://swe.quest/articles/how-uken-games-reduces-observability-costs-by-87-with-clickhouse-b3d46180eaebbbed.md): ClickHouse · 2026-09-01 · Medium · 7 min read · Observability, Cost optimization, Analytics & OLAP, Games
  Uken Games replaced Datadog with an open-source observability stack: OpenTelemetry collectors in an agent-plus-gateway layout, SigNoz on a single ClickHouse node for traces, AWS-managed Prometheus for metrics, CloudWatch for logs, and Grafana alerts defined as code via a custom CloudFormation resource.

## 2026-08-31

- [Rerouting the Stream: How Lyft Moved to the Apache Flink Kubernetes Operator](https://swe.quest/articles/rerouting-the-stream-how-lyft-moved-to-the-apache-flink-kubernetes-operator-54f95160e73c8a70.md): Lyft Engineering · 2026-08-31 · Medium · 12 min read · Stream processing, Kubernetes, Deployment, Capacity planning, Cost optimization
  Lyft retired its homegrown Flink Kubernetes operator and moved hundreds of streaming jobs to the open-source Apache Flink Kubernetes Operator.

## 2026-08-25

- [How Render Workflows powers our internal data pipeline](https://swe.quest/articles/how-render-workflows-powers-our-internal-data-pipeline-2023ee9b00fda571.md): Render · 2026-08-25 · Medium · 10 min read · Data pipelines, Analytics & OLAP, Python, Testing, Cost optimization
  Render's two-person data team replaced a time-spaced set of cron jobs with a Render Workflows DAG that waits for a late-arriving Go-built invoice projection dataset, runs dbt in projection-independent and projection-dependent partial builds, then fans out downstream tasks like doc sync, cost monitoring and Metabase cache warming in parallel.

## 2026-08-21

- [Does it matter how you feed an agent its context?](https://swe.quest/articles/does-it-matter-how-you-feed-an-agent-its-context-9b5070d3af38ec07.md): OLX Tech · 2026-08-21 · Medium · 7 min read · AI for coding, AI agents, Cost optimization, Evaluation
  How context is packaged for a coding agent (one big prompt, handoff notes pointing to files, staged ICM pipeline) barely changed cost, speed or quality on a realistic 18–20 file change across three mature codebases.

## 2026-08-20

- [Shopify powers observability for global-scale commerce with ClickHouse](https://swe.quest/articles/shopify-powers-observability-for-global-scale-commerce-with-clickhouse-36dcf526b053ca23.md): ClickHouse · 2026-08-20 · Medium · 8 min read · Observability, Analytics & OLAP, Scaling, Cost optimization, Multi-tenancy
  Shopify consolidated metrics, logs, traces, exceptions and profiles from multiple vendors onto Observe, an internal observability platform built on self-hosted ClickHouse, and saw a 16x query improvement out of the box (over 30x at peak) along with predictable costs.

## 2026-08-19

- [How we think about text classification in the LLM era](https://swe.quest/articles/how-we-think-about-text-classification-in-the-llm-era-a6b9a6bf775ffc1a.md): Medium Engineering · 2026-08-19 · Medium · 13 min read · LLMs, Machine learning, Evaluation, Cost optimization
  Medium replaced its aging NSFW story classifier with a prompt-based LLM classifier that runs inside Snowflake Cortex SQL queries.
- [Gisting: Compressing LLM Agent context to ↑ throughput and ↓ cost](https://swe.quest/articles/gisting-compressing-llm-agent-context-to-throughput-and-cost-77b1a192c9e3be28.md): Shopify Engineering · 2026-08-19 · Hard · 5 min read · Inference & serving, LLMs, Model training, Cost optimization, Performance engineering
  Shopify compressed the ~6,000-token system prompt of its Sidekick GraphQL agent into ~1,500 learned gist tokens (4:1) without losing prediction quality.

## 2026-08-17

- [Multi-tenancy at Scale: How to Give Every User Their Own Database](https://swe.quest/articles/multi-tenancy-at-scale-how-to-give-every-user-their-own-database-68099102015dea58.md): Turso · 2026-08-17 · Medium · 7 min read · Multi-tenancy, SQLite, System design, Cost optimization, TypeScript
  The standard warning against database-per-tenant assumes each database is a server process like PostgreSQL or MySQL, with its own memory, connection pool and backup schedule.

## 2026-08-11

- [Thinking of ACE? We Can Do It with Fewer Tokens](https://swe.quest/articles/thinking-of-ace-we-can-do-it-with-fewer-tokens-2dc38e3991553657.md): Hugging Face · 2026-08-11 · Hard · 8 min read · AI agents, LLMs, Evaluation, Cost optimization
  ALTK-Evolve and ACE both turn an LLM agent's past trajectories into reusable lessons without weight updates.
- [How we selected the next vector database at Booking.com](https://swe.quest/articles/how-we-selected-the-next-vector-database-at-booking-com-464edc602538488f.md): Booking.com Data Science · 2026-08-11 · Medium · 8 min read · Vector search, Performance engineering, RAG & retrieval, ML platforms, Cost optimization
  Booking.com replaced its OpenSearch-backed internal Embedding Service with Weaviate after running its own production-shaped benchmark instead of trusting public comparisons.

## 2026-08-06

- [How Cursor Router chooses the right model for the task · Cursor](https://swe.quest/articles/how-cursor-router-chooses-the-right-model-for-the-task-cursor-5ca9c42f82fc2ccc.md): Cursor · 2026-08-06 · Medium · 6 min read · LLMs, AI for coding, Evaluation, Cost optimization
  Cursor Router picks a model per agent turn in two stages: Compass, a complexity predictor trained on implicit user-satisfaction signals (moving on vs. correcting the agent), decides whether a turn stays on a cheap model (Grok) or gets upgraded.

## 2026-08-05

- [Sidekick's continual learning loop](https://swe.quest/articles/sidekick-s-continual-learning-loop-f72e46000910fa09.md): Shopify Engineering · 2026-08-05 · Hard · 9 min read · Model training, Evaluation, Inference & serving, LLMs, Cost optimization
  Shopify's Sidekick GraphQL agent improves daily through a continual learning loop that turns production failures into model weight updates, beating frontier-model quality while cutting estimated serving costs from about $27M to $1M per year (96%).

## 2026-08-03

- [I created a playground for 110 database systems](https://swe.quest/articles/i-created-a-playground-for-110-database-systems-ec974e8b67b5bfec.md): ClickHouse · 2026-08-03 · Medium · 17 min read · Virtualization, Multi-tenancy, Analytics & OLAP, Storage systems, Cost optimization
  ClickBench Playground hosts around 100 database systems with a preloaded 100-million-row dataset for interactive querying and side-by-side "race" comparisons.

## 2026-07-31

- [Autoscaling endpoints for LLM inference](https://swe.quest/articles/autoscaling-endpoints-for-llm-inference-44142f946febf6fd.md): Together AI · 2026-07-31 · Medium · 10 min read · Inference & serving, Capacity planning, LLMs, Performance engineering, Cost optimization
  LLM serving breaks classic autoscaling assumptions. GPU utilization misrepresents load, and multi-minute cold starts mean scaling has to act on leading signals.

## 2026-07-29

- [How GPT-5.6 fuses frontier intelligence with frontier efficiency](https://swe.quest/articles/how-gpt-5-6-fuses-frontier-intelligence-with-frontier-efficiency-a9efc2ffff6e005e.md): OpenAI · 2026-07-29 · Easy · 7 min read · Inference & serving, AI agents, Performance engineering, Cost optimization, LLMs
  GPT-5.6's cost efficiency comes from optimizations across inference and the agentic harness, many of them landed by GPT-5.6 Sol running in Codex.

## 2026-07-23

- [A sandbox doesn't constrain an API Key: What Polsia learned running autonomous companies on Render](https://swe.quest/articles/a-sandbox-doesn-t-constrain-an-api-key-what-polsia-learned-running-autonomous-57778f83154d604e.md): Render · 2026-07-23 · Easy · 5 min read · AI agents, Identity & auth, Sandboxing & isolation, Cost optimization, LLMs
  Polsia, a solo-built platform where AI agents run businesses (outreach, ads, support, engineering) on nightly loops, shared production lessons in a talk at Render's localhost event.

## 2026-07-15

- [Model Routing Is Simple. Until It Isn’t.](https://swe.quest/articles/model-routing-is-simple-until-it-isn-t-aff4745dc4d94524.md): Hugging Face · 2026-07-15 · Easy · 5 min read · Inference & serving, AI agents, LLMs, Cost optimization
  LLM model routing in agentic systems is a systems optimization problem, not a classification one.

## 2026-07-10

- [Better tools made Copilot code review worse. Here’s how we actually improved it.](https://swe.quest/articles/better-tools-made-copilot-code-review-worse-here-s-how-we-actually-improved-it-d13b0645c05f1e51.md): GitHub Engineering · 2026-07-10 · Medium · 9 min read · AI agents, Code review, LLMs, Evaluation, Cost optimization
  Swapping Copilot code review's bespoke exploration tools for the shared Copilot CLI tools (grep, glob, view) initially raised review cost and reduced useful comments, because the tool instructions encouraged broad, repo-browsing behavior instead of diff-anchored investigation.

## 2026-07-07

- [Run AI workloads on any cloud, store on Hugging Face: zero-egress storage with SkyPilot](https://swe.quest/articles/run-ai-workloads-on-any-cloud-store-on-hugging-face-zero-egress-storage-with-595c5291113e315b.md): Hugging Face · 2026-07-07 · Medium · 8 min read · Storage systems, Cloud platforms, Model training, Cost optimization, ML platforms
  SkyPilot now supports Hugging Face Storage as a first-class backend (\`store: hf\`), so jobs on any of 20+ clouds, Kubernetes or on-prem can mount Hub buckets (read-write) or model/dataset repos (read-only) via an \`hf://\` URL and an existing \`HF\_TOKEN\`.

## 2026-07-06

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

## 2026-06-30

- [Clever ingests 200x more logs at the same cost with ClickHouse Cloud](https://swe.quest/articles/clever-ingests-200x-more-logs-at-the-same-cost-with-clickhouse-cloud-cafdd48afca59e57.md): ClickHouse · 2026-06-30 · Medium · 8 min read · Observability, Analytics & OLAP, Cost optimization, System design
  Clever replaced a split Datadog/Athena logging setup with ClickHouse Cloud.

## 2026-06-25

- [Optimizing cloud economics with linear elastic caching](https://swe.quest/articles/optimizing-cloud-economics-with-linear-elastic-caching-1df4c9ca9645409f.md): Google Research · 2026-06-25 · Medium · 7 min read · Caching, Algorithms, Cost optimization, Machine learning, Databases
  Linear elastic caching treats cache memory as a cost that grows linearly with data size and time held, and frames each page's retention as a ski rental problem: keep paying for RAM or evict and risk a miss penalty.

## 2026-06-23

- [The end-to-end cost-performance of real-time analytics: Snowflake vs. ClickHouse Cloud](https://swe.quest/articles/the-end-to-end-cost-performance-of-real-time-analytics-snowflake-vs-clickhouse-a79249cfefaab552.md): ClickHouse · 2026-06-23 · Medium · 29 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  CostBench measures real-time analytics cost-performance end to end: continuous ingest at a fixed 1 million rows/sec, keeping raw data ordered for pruning, maintaining fresh pre-aggregations, and serving queries continuously while all of that runs.

## 2026-06-18

- [Appcues delivers personalized customer engagement with ClickHouse Cloud](https://swe.quest/articles/appcues-delivers-personalized-customer-engagement-with-clickhouse-cloud-70117f941c9e140c.md): ClickHouse · 2026-06-18 · Medium · 8 min read · Analytics & OLAP, Databases, Performance engineering, Cost optimization
  Appcues moved its customer-facing product analytics and segmentation from Snowflake plus Airflow rollups to ClickHouse Cloud, covering 1.31 PB of data and over 1 billion user profiles.

## 2026-06-16

- [Sourcegraph MCP server and a cheaper model beat a Mythos-class model alone](https://swe.quest/articles/sourcegraph-mcp-server-and-a-cheaper-model-beat-a-mythos-class-model-alone-62154a407988cfbb.md): Sourcegraph · 2026-06-16 · Easy · 3 min read · AI agents, Evaluation, AI for coding, LLMs, Cost optimization
  On nine discovery-heavy CodeScaleBench tasks, Claude Sonnet 4.6 using the Sourcegraph MCP server with no source on disk scored a mean reward of 0.698, beating Claude Fable 5 with a full local checkout (0.568) and winning six of nine tasks at $1.02 versus $1.83 per quality point.

## 2026-06-15

- [Cisco Talos empowers threat researchers while reducing TCO by 75% with ClickHouse Cloud](https://swe.quest/articles/cisco-talos-empowers-threat-researchers-while-reducing-tco-by-75-with-b07e23f1f37bf66e.md): ClickHouse · 2026-06-15 · Medium · 6 min read · Analytics & OLAP, Cloud platforms, Cost optimization, Data pipelines, Threat detection
  Cisco Talos moved its file-hash reputation service, nearly 2 trillion rows (192 TB compressed, ~2 PB raw) growing by 27 billion rows a day, from a self-managed ClickHouse cluster on EKS to ClickHouse Cloud with zero downtime.

## 2026-06-12

- [How We Cut Kafka Consumer Deployment Costs by 83%](https://swe.quest/articles/how-we-cut-kafka-consumer-deployment-costs-by-83-5cc00640348d4168.md): trivago tech · 2026-06-12 · Medium · 5 min read · Queues & messaging, Performance engineering, Java & JVM, Concurrency, Cost optimization
  Trivago's PSE-kafka service, which consumes hotel price messages and pushes them to an external Ads service, suffered chronic consumer lag at only ~10% CPU because of three compounding bottlenecks.

## 2026-06-11

- [Agentic Testing: Where Agents Fit in the E2E Testing Stack](https://swe.quest/articles/agentic-testing-where-agents-fit-in-the-e2e-testing-stack-fa760680a95bc5c9.md): Slack Engineering · 2026-06-11 · Medium · 11 min read · Testing, AI agents, LLMs, Cost optimization
  Across 200+ agent-driven E2E runs against Slack test workspaces, agents using Playwright MCP were the most reliable (0% failures on a simple thread-reply flow, ~12% on a longer search flow).

## 2026-06-02

- [TPC-H for less than a cent: ClickHouse Cloud vs. Snowflake, Databricks, BigQuery, and Redshift](https://swe.quest/articles/tpc-h-for-less-than-a-cent-clickhouse-cloud-vs-snowflake-databricks-bigquery-e1c9aad2d347b55d.md): ClickHouse · 2026-06-02 · Easy · 6 min read · Analytics & OLAP, Performance engineering, Cost optimization, Query engines
  On TPC-H SF100 (100 GB, 866M rows, 22 join-heavy queries), a single 59-core Graviton3 ClickHouse Cloud node finished hot runs in 19.8s for $0.063.
- [From single pull requests to full software packages: Detecting malicious code at scale](https://swe.quest/articles/from-single-pull-requests-to-full-software-packages-detecting-malicious-code-at-717a58a001a046a1.md): Datadog Engineering · 2026-06-02 · Medium · 12 min read · Supply chain security, Threat detection, AI agents, LLMs, Cost optimization
  Datadog extended BewAIre, its LLM-based malicious code detector, from pull requests to full dependency packages by stacking a cheap filter model in front of an agentic investigation model.

## 2026-05-26

- [The Best Managed Kubernetes Hosting in 2026](https://swe.quest/articles/the-best-managed-kubernetes-hosting-in-2026-7c6dc96dc69f229d.md): Railway · 2026-05-26 · Easy · 14 min read · Kubernetes, Cloud platforms, Cost optimization
  Kubernetes is only worth its operational cost for four kinds of teams: large service fleets, dedicated platform teams, BYOC or compliance-driven multi-tenancy, and exotic workloads such as GPU pools or custom CNI.

## 2026-05-21

- [How Partition Access Visualizations Reduced our Data Lake S3 Cost by 33%](https://swe.quest/articles/how-partition-access-visualizations-reduced-our-data-lake-s3-cost-by-33-b418166304951941.md): Yelp Engineering · 2026-05-21 · Medium · 6 min read · Cost optimization, Data pipelines, Storage systems, Cloud platforms, Observability
  Yelp attributes data lake usage by aggregating S3 server access logs per table, date partition and IAM role, then plotting partition value against access time: daily batch jobs appear as a y=x diagonal, backfills as vertical lines, and ad hoc queries as scatter.

## 2026-05-17

- [Production is the New Prototype: Notes from LangChain Interrupt 2026](https://swe.quest/articles/production-is-the-new-prototype-notes-from-langchain-interrupt-2026-598a0cd4d231f95d.md): 8th Light · 2026-05-17 · Easy · 8 min read · AI agents, Evaluation, Observability, LLMs, Cost optimization
  Production agent deployments at LangChain Interrupt 2026 point to operational discipline, not model capability, as the hard part of shipping agents.

## 2026-05-06

- [Agentic analytics starts with query-ready data: the write-side cost of Snowflake vs. ClickHouse](https://swe.quest/articles/agentic-analytics-starts-with-query-ready-data-the-write-side-cost-of-snowflake-e188e777c7d23ef1.md): ClickHouse · 2026-05-06 · Medium · 23 min read · Analytics & OLAP, Storage engines, Cost optimization, Performance engineering
  Under continuous ingest, keeping data sorted for chunk-level pruning is a write-side cost that standard query benchmarks ignore.

## 2026-05-01

- [Goodbye limitations, hello data: How Qonto is rethinking observability with ClickHouse Cloud](https://swe.quest/articles/goodbye-limitations-hello-data-how-qonto-is-rethinking-observability-with-756d9cefa803d826.md): ClickHouse · 2026-05-01 · Easy · 8 min read · Observability, Analytics & OLAP, AI agents, Cost optimization
  Qonto, a European digital bank, moved trace storage from Grafana Tempo to ClickHouse Cloud, extending query windows from 2-3 hours to two weeks without sampling and adopting a wide-events model instead of the logs/metrics/traces pillars.

## 2026-04-22

- [ClickHouse Cloud on Google Cloud Now Powered by Google Axion Processors: 30–55% Faster Queries, ~15% Fewer Compute Credits](https://swe.quest/articles/clickhouse-cloud-on-google-cloud-now-powered-by-google-axion-processors-30-55-c5e0059b06f012b1.md): ClickHouse · 2026-04-22 · Easy · 5 min read · Hardware, Performance engineering, Cloud platforms, Analytics & OLAP, Cost optimization
  ClickHouse Cloud is migrating its Google Cloud fleet from x86 N2D instances to Arm-based Axion C4A instances, yielding 30–55% faster queries across all 43 ClickBench queries, roughly halved load times, and first place on the combined ClickBench ranking.

## 2026-04-08

- [The three villains to agentic observability: retention, sampling and rollups](https://swe.quest/articles/the-three-villains-to-agentic-observability-retention-sampling-and-rollups-8717547c3ecf409f.md): ClickHouse · 2026-04-08 · Easy · 16 min read · Observability, Analytics & OLAP, Cost optimization, AI agents
  Retention limits, trace sampling and metric roll-ups are framed as workarounds for storage engines that struggle with cost and high cardinality, not observability best practices.

## 2026-03-24

- [Smarter Auto-Scaling for ClickHouse: The Two-Window Approach](https://swe.quest/articles/smarter-auto-scaling-for-clickhouse-the-two-window-approach-5a9450c56fbc9543.md): ClickHouse · 2026-03-24 · Medium · 9 min read · Capacity planning, Cost optimization, Cloud platforms, Analytics & OLAP
  ClickHouse Cloud replaced its single 30-hour lookback window for vertical auto-scaling with a two-window recommender.

## 2026-03-17

- [How Socialpruf built a faster, more reliable data stack by replacing Neon with Postgres managed by ClickHouse](https://swe.quest/articles/how-socialpruf-built-a-faster-more-reliable-data-stack-by-replacing-neon-with-ba1cc6a2c844f08b.md): ClickHouse · 2026-03-17 · Easy · 7 min read · PostgreSQL, Analytics & OLAP, Schema migrations, Databases, Cost optimization
  Socialpruf, a social analytics platform ingesting hundreds of posts per second, moved customer-facing dashboard queries from Postgres to ClickHouse via CDC, cutting multi-second load times to millisecond aggregations.

## 2026-03-03

- [Why We Ditched Flink Table API Joins: Cutting State by 75% with DataStream Unions](https://swe.quest/articles/why-we-ditched-flink-table-api-joins-cutting-state-by-75-with-datastream-unions-939c1fa5429761f5.md): Zalando Engineering · 2026-03-03 · Hard · 9 min read · Stream processing, Performance engineering, Cost optimization, Cloud platforms
  Chained Flink 1.20 Table API/SQL joins amplified state because each join operator keeps its own copy of upstream records in RocksDB, pushing Zalando's Product Offer Enrichment jobs to about 240GB of state.

## 2026-02-25

- [How InMobi achieved 20x faster queries and 80% cost savings with ClickHouse](https://swe.quest/articles/how-inmobi-achieved-20x-faster-queries-and-80-cost-savings-with-clickhouse-7024c9110d80fdcc.md): ClickHouse · 2026-02-25 · Medium · 8 min read · Analytics & OLAP, Ads, Cost optimization, Data pipelines, Resilience
  InMobi moved its publisher-facing real-time ad reporting APIs from a serverless warehouse on blob storage to ClickHouse.

## 2026-02-12

- [Neon Compute Autoscaling Report](https://swe.quest/articles/neon-compute-autoscaling-report-e5a9b1a72b233ac7.md): Neon · 2026-02-12 · Medium · 11 min read · Cost optimization, Capacity planning, PostgreSQL, Cloud platforms
  Neon's December 2025 fleet data shows production Postgres databases using 2.4x less compute and about 50% lower cost than they would if sized for a provisioned platform using AWS RDS's rightsizing rule (P99.5 utilization + 20%).

## 2026-01-27

- [How Buildkite transformed test analytics and cut costs with ClickHouse Cloud](https://swe.quest/articles/how-buildkite-transformed-test-analytics-and-cut-costs-with-clickhouse-cloud-3d237a53f50d4550.md): ClickHouse · 2026-01-27 · Easy · 8 min read · Analytics & OLAP, Cost optimization, Stream processing, CI/CD, Testing
  Buildkite Test Engine replaced a Kafka/Flink pipeline that pre-aggregated test metrics into Postgres, DynamoDB and Iceberg with on-demand queries against ClickHouse Cloud, letting customers group and filter billions of test executions by arbitrary JSON tags in real time.

## 2026-01-26

- [SkyPilot at Shopify: Multi-cloud GPUs without the pain](https://swe.quest/articles/skypilot-at-shopify-multi-cloud-gpus-without-the-pain-4e974636618c8521.md): Shopify Engineering · 2026-01-26 · Medium · 6 min read · ML platforms, Kubernetes, Scheduling, Cloud platforms, Cost optimization
  Shopify runs all ML training through SkyPilot as a launcher onto persistent Kubernetes clusters on Nebius and GCP, with a custom policy plugin that intercepts every request to validate labels, route jobs and inject configuration.

## 2026-01-22

- [Optimizing inference speed and costs: Lessons learned from large-scale deployments](https://swe.quest/articles/optimizing-inference-speed-and-costs-lessons-learned-from-large-scale-1e80b28572985147.md): Together AI · 2026-01-22 · Easy · 6 min read · Inference & serving, LLMs, Cost optimization, Performance engineering
  Lower LLM inference latency and cost come mainly from how inference runs rather than from buying more GPUs.

## 2026-01-20

- [Deploying a Cost-Effective, Scalable PhotoDNA System for CSAM Detection](https://swe.quest/articles/deploying-a-cost-effective-scalable-photodna-system-for-csam-detection-e4c3c230fe188366.md): Scribd Tech · 2026-01-20 · Easy · 6 min read · Threat detection, System design, Cloud platforms, Cost optimization, Privacy
  Scribd built a known-CSAM detection pipeline that separates event-driven PhotoDNA hash generation on AWS Lambda (including images extracted from PDFs) from a GPU-backed batch matcher on SageMaker that compares hashes against versioned NCMEC hash sets with conservative distance thresholds.

## 2026-01-15

- [When to use Read Replicas vs. bigger compute](https://swe.quest/articles/when-to-use-read-replicas-vs-bigger-compute-061db4b923addf0b.md): Supabase · 2026-01-15 · Medium · 12 min read · PostgreSQL, Replication, Scaling, Capacity planning, Cost optimization
  Choosing between vertical scaling and Postgres Read Replicas comes down to diagnosing the bottleneck first, using pg\_stat\_statements, read/write ratio queries, CPU utilization and EXPLAIN ANALYZE.

## 2026-01-12

- [Supercharging S3 Intelligent Tiering with Content Crush](https://swe.quest/articles/supercharging-s3-intelligent-tiering-with-content-crush-e97600972650b144.md): Scribd Tech · 2026-01-12 · Medium · 5 min read · Storage systems, Cost optimization, Cloud platforms
  Scribd's hundreds of billions of S3 objects made Intelligent Tiering's per-object monitoring fee prohibitive (about $250,000/month per 100 billion objects), so they built Content Crush to collapse the hundreds or thousands of derived files per uploaded document into a single Apache Parquet object while preserving a virtual keyspace.

## 2025-12-02

- [How Pump uses ClickHouse Cloud to bring cloud costs into focus](https://swe.quest/articles/how-pump-uses-clickhouse-cloud-to-bring-cloud-costs-into-focus-c7c5f0c4554ef0f2.md): ClickHouse · 2025-12-02 · Medium · 6 min read · Analytics & OLAP, Cost optimization, Data pipelines, PostgreSQL, Cloud platforms
  Pump built Pump View, a multi-cloud cost visibility tool, on ClickHouse Cloud after deciding Postgres could not handle ingesting about 5 billion billing records (about 5 TB uncompressed) per day.

[Next page](https://swe.quest/tags/cost-optimization.md?per=96&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=cost-optimization](https://swe.quest/feed.xml?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)
