What is Lambda Function (Serverless Function)?
Turkish: Lambda Fonksiyon
A Lambda function is a serverless code unit that runs when triggered, with automatic scaling and pay-per-use billing.
What is a Lambda Function?
A Lambda function is a serverless function model, commonly associated with AWS Lambda, that runs short-lived code when a specific event occurs. Developers do not manage servers; the cloud provider handles the runtime, scaling, and capacity layer.
A Lambda function can be triggered by an HTTP request, queue message, file upload, scheduled task, or database event. The function runs in a chosen runtime, reads environment variables and permissions, and returns a result or writes to another service. Memory, timeout, retry behavior, and IAM permissions need careful configuration to avoid cost, security, and failure-handling problems.
Good Fit Scenarios
- Capturing webhooks and transforming data quickly
- Resizing images, generating PDFs, or processing files
- Scheduled reporting, cleanup, or integration jobs
- Small API endpoints with bursty traffic
Lambda is not always a good fit for long-running jobs, persistent connections, or workloads that need heavy local state. Cold starts, external service connections, and observability should be planned early. The concept is closely tied to serverless, AWS, and the broader serverless function pattern.
Related Terms
AWS is Amazon's broad cloud platform offering compute, storage, database, networking, and artificial intelligence services.
Cold StartA cold start is the extra latency when a serverless function or scaled instance initializes before handling its first request.
Serverless FunctionA serverless function is a short-lived cloud code unit triggered by events such as HTTP requests, queue messages, cron jobs, or file uploads.
ServerlessServerless is a cloud architecture model where server provisioning and capacity planning move to the provider while code runs in response to events.