NexQloud Knowledge Base

Discover tailored support solutions designed to help you succeed with NexQloud, no matter your question or challenge.

A headphone sitting on top of a desk next to a monitor.
Knowledge Base
How Serverless Works: Event-Driven Execution

How Serverless Works: Event-Driven Execution

Serverless architecture is inherently event-driven. Instead of deploying a continuously running application, you deploy pieces of code (functions) or containers that lie dormant until triggered by a specific event.

The workflow is straightforward:

  1. Event Trigger: An event occurs, such as an HTTP request, a file upload to cloud storage, a new message in a queue, or a scheduled time.
  2. Automatic Execution: Nexqloud's platform instantly spins up the necessary runtime environment (executing your code in a secure, isolated container).
  3. Task Completion: Your code runs, performs its task (e.g., processes an image, validates data, sends a notification), and returns a result.
  4. Automatic Shutdown: The platform scales the resources back down to zero. You are not charged when your code is not running.