HELM
Ch 02 · The Modern Stack Landscape
Chapter 02 · Map of the territory

The 2026 stack — one map you can carry in your head

You will be asked, weekly, "what should we use for X?". This chapter is the answer-sheet: the seven layers of a modern stack and the three or four tools that matter in each, with one-line guidance on when to pick what.

2.1 · The seven layers of a modern stack

1 · Client Web (React/Next/Vue/Svelte/Solid/Astro) · Mobile (RN/Flutter/native) · Desktop (Electron/Tauri) 2 · Edge / CDN Cloudflare · Fastly · Vercel Edge · AWS CloudFront · Akamai · Bunny 3 · API / Gateway Kong · Apigee · AWS API Gw · Envoy · Tyk · Hasura · GraphQL Mesh 4 · Application runtime Node/Bun/Deno · Python/FastAPI · Go · Rust · Java/Spring · .NET · Elixir 5 · Data Postgres · MySQL · Redis · Mongo · ClickHouse · DuckDB · Vector (pgvector/Qdrant) · S3 6 · Async / Streaming Kafka · NATS · RabbitMQ · Redis Streams · SQS/SNS · Pub/Sub · Temporal 7 · Platform / Infra K8s · Docker · Terraform/Pulumi · ArgoCD/Flux · AWS/GCP/Azure · Fly · Render

2.2 · Client layer

ChoiceWhen
Next.js (React)Default for most product web apps. App Router, RSC, edge runtime.
AstroContent-heavy sites; islands architecture; ship near-zero JS.
SvelteKitSmaller bundle, simpler mental model. Strong DX.
Vue / NuxtBig in EU and Asia; great template ergonomics.
SolidJS / QwikBest-in-class reactivity / resumability; smaller community.
React Native + ExpoMobile when you have a React team.
FlutterMobile + desktop with one codebase; rich UI control.
Tauri / ElectronCross-platform desktop. Tauri = small + fast (Rust).

2.3 · Edge & CDN

ChoiceNotes
CloudflareCDN + Workers + R2 + D1 + Durable Objects; the best-rounded edge platform.
Vercel Edge / AWS Lambda@EdgeEdge runtimes tied to a deploy platform.
FastlyProgrammable edge (VCL → Compute@Edge); great for media.
BunnyCheap pull CDN; good for static assets.

2.4 · API / Gateway

ChoiceNotes
Kong / Envoy / NGINXBattle-tested ingress + policy.
AWS API Gateway / GCP Endpoints / Azure APIMManaged, deep cloud integration.
Hasura / PostGraphileInstant GraphQL on top of Postgres.
Tyk / ApigeeEnterprise API management with portals + billing.

2.5 · Application runtime

RuntimeSweet spot
Node 22 / Bun 1 / Deno 2Web BFFs, real-time, JS/TS unified stacks.
Python 3.12 / FastAPIData, ML, AI, glue services.
GoHigh-throughput services, infra tooling.
Rust (Axum / Actix / Loco)Safety-critical, perf-critical, embedded edge runtimes.
Java / Spring · KotlinEnterprise, financial, JVM ecosystems.
.NET 9Microsoft shops; excellent perf with AOT.
Elixir / PhoenixMassive concurrency (LiveView, Channels).

2.6 · Data layer

FamilyPicks
OLTP relationalPostgres (Neon, Supabase, RDS, Aurora), MySQL (PlanetScale).
KV / cacheRedis, Valkey, Dragonfly, Cloudflare KV.
DocumentMongoDB, CouchDB, Firebase Firestore.
Wide-columnCassandra, ScyllaDB.
OLAP / analyticsClickHouse, DuckDB, Snowflake, BigQuery, Databricks.
SearchOpenSearch, Elasticsearch, Typesense, Meilisearch.
Vectorpgvector, Qdrant, Weaviate, Pinecone, Milvus.
Time-seriesTimescaleDB, InfluxDB, VictoriaMetrics.
GraphNeo4j, Memgraph, Apache AGE.
ObjectS3, R2, GCS, Azure Blob, MinIO.

2.7 · Async & messaging

ChoiceNotes
Kafka (or Redpanda)High-throughput event streaming, log-style.
NATS / JetStreamLightweight pub-sub + persistent streams; very fast.
RabbitMQClassic AMQP; rich routing.
SQS / SNS / EventBridge / Pub/SubCloud-managed queues & events.
Temporal / Inngest / Trigger.devDurable execution: long-running, retryable workflows.

2.8 · Platform / infra

ConcernPicks
ContainersDocker, containerd, BuildKit.
OrchestrationKubernetes, Nomad. Managed: EKS / GKE / AKS.
IaCTerraform, OpenTofu, Pulumi, AWS CDK.
GitOpsArgoCD, Flux.
PaaS / "K8s-lite"Render, Railway, Fly.io, Cloud Run, App Runner.
Edge platformsCloudflare Workers, Vercel, Deno Deploy.
Internal dev platformsBackstage, Port, Cortex.

2.9 · Cross-cutting (auth · observability · AI)

ConcernPicks
Identity / authAuth0, Clerk, WorkOS, Keycloak, Ory, Cognito.
SecretsHashiCorp Vault, AWS KMS / Secrets Manager, Doppler, SOPS.
ObservabilityOpenTelemetry · Datadog · Honeycomb · Grafana / Loki / Tempo · Sentry.
CI/CDGitHub Actions, GitLab CI, CircleCI, Buildkite.
AI in devCopilot, Cursor, Claude Code, Cody, Continue. (Ch 16.)

2.10 · A pragmatic default stack for a new project (2026)

SaaS web app, small team

Next.js · Vercel · Supabase (Postgres + auth + storage) · Stripe · Upstash · Sentry · GitHub Actions.

API-heavy back-office

FastAPI or Go · Postgres + Redis · NATS · Cloudflare in front · Fly.io or AWS ECS · OTel + Grafana.

Event-driven enterprise

Java/Kotlin · Kafka · Postgres + ClickHouse · Kubernetes · ArgoCD · Datadog · Vault.

AI-native product

Next.js + FastAPI · Postgres + pgvector · Redis · S3 · LangGraph + LiteLLM · LangFuse · OTel.

Conway's Law
The shape of your software ends up mirroring the shape of your org. If your team is two pizzas, do not pick a 30-microservice architecture. Match the stack to the team you actually have.

2.11 · Self-check

Q1 · Best default for a content-heavy marketing site with near-zero JS?
Next.js with full RSC
Astro
CRA
Electron
Q2 · "Durable execution" tools (Temporal, Inngest) solve…
Caching
Long-running, retryable, stateful workflows
Vector search
SSL termination