RoyceServerless in 2026: Three Paradigms Serverless has evolved into three distinct...
Serverless has evolved into three distinct paradigms:
Each has different boilerplates, different tradeoffs, and different sweet spots.
| Starter | Platform | Language | Cold Start | Best For |
|---|---|---|---|---|
| SST Ion | AWS | TypeScript | 100ms-2s | Full AWS serverless SaaS |
| Serverless Framework | Multi-cloud | TypeScript/Python | 100ms-2s | Multi-cloud functions |
| Hono (Cloudflare) | Cloudflare | TypeScript | ~0ms | Edge API |
| Vercel AI SDK | Vercel | TypeScript | ~50ms | AI streaming apps |
| Architect | AWS | Node.js | 100ms-2s | AWS Lambda specialist |
Price: Free | Creator: SST team
SST v3 (Ion) is the most complete serverless framework. Defines your entire AWS infrastructure as TypeScript — Lambda functions, DynamoDB tables, S3 buckets, API Gateway, RDS, SQS, and more. Live Lambda development (local code, real AWS resources, real-time feedback).
// sst.config.ts — Infrastructure as TypeScript
const api = new sst.aws.ApiGatewayV2("Api");
const table = new sst.aws.Dynamo("Counter", {
fields: { userId: "string" },
primaryIndex: { hashKey: "userId" },
});
api.route("GET /count", {
handler: "functions/count.handler",
link: [table], // Typed access to DynamoDB from Lambda
});
// functions/count.ts — Lambda with type-safe resource access
const db = new DynamoDBClient({});
const result = await db.send(new GetItemCommand({
TableName: Resource.Counter.name, // Type-safe from SST binding
Key: { userId: { S: "user_123" } },
}));
return { statusCode: 200, body: JSON.stringify(result.Item) };
};
Choose if: You're building a serverless SaaS on AWS with full infrastructure-as-code.
Price: Free | Creator: Hono team
Hono runs at Cloudflare's edge — 300+ locations worldwide, ~0ms cold start, ~10ms global response times. The Express-like API makes it familiar.
npm create cloudflare@latest my-api --template hono
cd my-api && npm run dev # Runs locally with Wrangler
Choose if: You need a globally distributed API with essentially zero cold start.
Price: Free | Creator: Vercel
Purpose-built for AI applications. Streaming text, structured outputs, tool calling, and multi-provider support (OpenAI, Anthropic, Google, and 20+ providers). Native Next.js integration with React Server Components.
Choose if: You're building AI features in a Next.js/Vercel app.
| Factor | Serverless | Traditional Server |
|---|---|---|
| Cost | $0 idle, $$/request | Fixed monthly cost |
| Scale | Automatic, unlimited | Manual scaling |
| Cold start | 100ms-2s (Lambda) | 0ms |
| Vendor lock-in | High | Low |
| State | Stateless only | Stateful possible |
| Local dev | Complex | Simple |
| Long-running tasks | Max 15min (Lambda) | Unlimited |
Serverless is the right architecture for:
Serverless is the wrong architecture for:
Compare serverless and traditional SaaS boilerplates on StarterPick.