Cloud Computing
Intermediate
What is Cloud Function?
A serverless compute service that runs code in response to events without requiring server management or infrastructure provisioning.
Cloud functions execute small pieces of code (functions) in response to triggers like HTTP requests, database changes, file uploads, or scheduled timers. Major implementations include AWS Lambda, Google Cloud Functions, and Azure Functions. Functions are stateless, scale automatically from zero to thousands of instances, and charge only for actual execution time (measured in milliseconds). They are ideal for event processing, API backends, data transformations, and automation tasks. Limitations include cold start latency, execution time limits (typically 5-15 minutes), and complexity in managing many interconnected functions.