Serverless Functions
What is Serverless Functions?
Serverless Functions: Run code without managing servers. You upload a function, define a trigger, and pay only when it runs. (AWS: Lambda; GCP: Cloud Functions; Azure: Azure Functions) Serverless functions let you run code without managing servers. You upload a function, connect it to a trigger such as an HTTP request, a file upload or a schedule, and pay only for the time it runs. AWS Lambda, Google Cloud Functions and Azure Functions are the best known.
Frequently asked questions about Serverless Functions
How is Serverless Functions used in practice?
They fit tasks that are small, event-driven or irregular: resizing an uploaded image, processing a webhook, or a nightly job. Scaling is automatic, from zero to many parallel runs.
What should you keep in mind with Serverless Functions?
The limits matter. Functions can start slowly after being idle, have maximum run times, and are awkward for long-running or stateful work. Costs are low at small scale but can surprise you at high volume. For a typical web application, a regular container or server is often simpler, with serverless functions used for specific side tasks.
At a glance
| Category | Cloud services |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |