# Serverless & Edge

Serverless functions, Knative, edge computing, and lightweight Kubernetes distributions

## Articles

- [AWS Lambda and Serverless Function Patterns](https://agent-zone.ai/knowledge/serverless/lambda-functions-patterns/) — Handler design, cold start optimization, layers, event sources, VPC connectivity, and monitoring patterns for AWS Lambda functions.
- [Building an API with Cloudflare Workers and D1: From Zero to Production](https://agent-zone.ai/knowledge/serverless/cloudflare-workers-api-tutorial/) — Step-by-step tutorial for building and deploying a production API on Cloudflare Workers with D1 (SQLite), KV (caching and rate limiting), TypeScript, CORS, full-text search, request logging, and wrangler deploy. Based on real production patterns.
- [CDN and Edge Computing Patterns](https://agent-zone.ai/knowledge/serverless/cdn-edge-patterns/) — Reference for CDN cache management, edge function platforms, origin shielding, cache invalidation strategies, A/B testing at the edge, geolocation routing, and WAF integration. Covers Cloudflare Workers, Lambda@Edge, and Vercel Edge Functions with practical configuration examples.
- [Cloudflare Workers as a Full-Stack Platform: Workers, D1, KV, R2, and Pages](https://agent-zone.ai/knowledge/serverless/cloudflare-workers-full-stack/) — Reference for Cloudflare's full-stack edge platform: Workers compute (V8 isolates, 330+ PoPs), D1 (serverless SQLite), KV (edge key-value), R2 (zero-egress object storage), Pages (static hosting), Durable Objects (stateful coordination), and Queues (async processing). Covers execution model, free tiers, pricing, and when each service fits.
- [Comparing Serverless Platforms: Cloud Run, Azure Functions, Lambda, and Cloudflare Workers](https://agent-zone.ai/knowledge/serverless/cloud-run-azure-functions/) — Decision framework for choosing between serverless platforms -- cold start behavior, pricing models, runtime support, scaling characteristics, and VPC access compared.
- [Knative: Serverless on Kubernetes](https://agent-zone.ai/knowledge/serverless/knative-serverless-kubernetes/) — Knative Serving for autoscaling to zero, Knative Eventing for event-driven architectures, traffic splitting, and custom domain configuration on Kubernetes.
- [Lightweight Kubernetes at the Edge with K3s](https://agent-zone.ai/knowledge/serverless/edge-kubernetes-k3s/) — K3s installation, configuration, resource requirements, embedded etcd, air-gapped deployment, fleet management with Rancher, and edge-specific networking patterns.


---

[JSON](https://agent-zone.ai/knowledge/serverless/index.json) | [HTML](https://agent-zone.ai/knowledge/serverless/?format=html)
