Comparing Serverless vs Pod-Based

1. Understanding Serverless Pricing

ComponentBilling
StoragePer GB-month
Read unitsPer query (RUs)
Write unitsPer upsert (WUs)
Min cost$0 when idle

2. Understanding Pod Pricing

ComponentBilling
PodsPer hour × pod count × size
ReplicasLinear multiplier
StorageIncluded in pod cost
Always-onPay whether queried or not

3. Comparing Performance Characteristics

Serverless

  • Cold start: ~1–5s after idle
  • Warm latency: comparable to pods
  • Scales auto with load
  • Variable cost

Pod-Based

  • Always warm; no cold start
  • Predictable p99 latency
  • Manual scaling
  • Fixed cost

4. Comparing Scaling Behavior

AspectServerlessPod
Read scalingAutoAdd replicas
Storage scalingAuto (∞)Add shards / pod size
Write throughputAuto-batchedPer pod limit

5. Choosing for Variable Workloads

Note: Pick serverless for spiky, low-utilization, or unpredictable traffic. Cold starts only hurt the very first query.
WorkloadChoice
RAG dev/testServerless
Internal toolsServerless
Long-tail SaaS tenantsServerless

6. Choosing for Predictable Workloads

WorkloadChoice
Sustained high QPSPod (p2)
Strict p99 SLAPod
Large fixed corpusPod (s1) or serverless

7. Understanding Feature Differences

FeatureServerlessPod
CollectionsNo (uses backups)Yes
Selective metadata indexingNoYes
Auto-scalingYesManual
ImportsYes (bulk import)No
Namespaces10K+~100K

8. Comparing Regional Availability

CloudServerlessPod
AWSMultiple regionsMultiple regions
GCPAvailableAvailable
AzureLimitedLimited

9. Migrating Between Types

Pod → Serverless Migration

  1. Create serverless index with same dim/metric.
  2. Export from pod (collection or paginated query+fetch).
  3. Re-upsert in batches into serverless.
  4. Dual-write briefly; validate parity.
  5. Cut over reads; delete pod index.

10. Implementing Hybrid Deployment Strategies

PatternUse Case
Hot pod + cold serverlessActive tenants on pod, archive on serverless
Region splitPod in primary, serverless in secondary
Dev vs prodServerless dev, pod prod (or vice versa)