Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

Serverless Compute Cheat Sheet

Serverless Compute Cheat Sheet

Back to Cloud Computing
Updated 2026-03-17
Next Topic: Supabase Cheat Sheet

Serverless compute is a cloud execution model where infrastructure management is abstracted away, allowing developers to deploy code that runs in response to events with automatic scaling and pay-per-use billing. The three major providers—AWS Lambda, Azure Functions, and Google Cloud Functions—each offer distinct runtime support, pricing structures, and integration ecosystems, while sharing challenges like cold starts and execution time limits. Understanding the nuances of concurrency models, deployment strategies, and observability patterns is critical: a function that cold-starts in 2 seconds might be fine for batch processing but unacceptable for user-facing APIs, and choosing between provisioned concurrency versus SnapStart can mean the difference between 50/month and 500/month in compute costs.

What This Cheat Sheet Covers

This topic spans 17 focused tables and 142 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Execution ModelsTable 2: Platform Feature ComparisonTable 3: Cold Start Mitigation TechniquesTable 4: Concurrency and Scaling PatternsTable 5: Runtime and Language SupportTable 6: Pricing and Cost ModelsTable 7: Deployment and Packaging MethodsTable 8: Event Sources and TriggersTable 9: Observability and Debugging ToolsTable 10: Workflow Orchestration PatternsTable 11: Performance Optimization TechniquesTable 12: Security and Access ControlTable 13: API Gateway Patterns and ConfigurationTable 14: Error Handling and Resilience PatternsTable 15: Deployment Strategies and VersioningTable 16: Advanced Patterns and Edge CasesTable 17: Serverless Anti-Patterns and Limitations

Table 1: Execution Models

ModelExampleDescription
Synchronous Invocation
aws lambda invoke --function-name MyFunc
--payload '{"key":"value"}'
• Caller waits for response
• used for API Gateway, ALB, and direct invocations
• 6MB request/response limit (200MB with streaming)
• timeout up to 15 minutes for Lambda, 60 minutes for Cloud Run.
Asynchronous Invocation
aws lambda invoke --invocation-type Event
--function-name MyFunc
• Lambda queues request and returns immediately
• automatic retry up to 2 times
• used for S3, SNS, EventBridge
• supports destination routing for success/failure.
Event Stream Polling
Lambda polls SQS queue every 1-20 seconds;
processes batch of 1-10 messages
• Lambda pulls events from sources like SQS, Kinesis, DynamoDB Streams
• supports batch processing with configurable batch size and window
• built-in partial failure handling.

More in Cloud Computing

  • Serverless Architecture Cheat Sheet
  • Supabase Cheat Sheet
  • Amazon Web Services (AWS) - Core Cheat Sheet
  • Cloud Compliance and Governance Cheat Sheet
  • Cloud IAM (Identity and Access Management) Cheat Sheet
  • Cloud Well-Architected Framework Principles Cheat Sheet
View all 40 topics in Cloud Computing