Arkitektura serverless ndërtojnë aplikacione nga shërbime të menaxhuara, të shtyrura nga ngjarjet (Lambda, API Gateway, DynamoDB, S3, SQS, etj.) pa menaxhuar shërbuesit — AWS i menaxhon shkallëzimin dhe infrastrukturën. Kuptimi i mënyrës se si të projektojmë sisteme serverless dhe kompromiseve të tyre është i vlefshëm për arkitekturën moderne të cloud-it.
Një arkitekturë serverless tipike
A serverless web app/API often combines:
API GATEWAY → receives HTTP requests, routes to Lambda (the API entry point)
LAMBDA → functions handle the business logic (run on demand, auto-scale)
DYNAMODB → serverless NoSQL database (scales automatically)
S3 → static assets / file storage (host the frontend, store uploads)
COGNITO → managed authentication
SQS/SNS/EventBridge → async messaging and event-driven flows
CLOUDFRONT → CDN for the frontend
→ No servers to manage; everything scales automatically; pay per use.
