Glossary/Data Storage & Compute

Serverless Compute

Serverless Compute is a cloud service model where code executes on demand without managing servers, infrastructure, or capacity planning, with automatic scaling and pay-per-use pricing.

Serverless compute removes operational burden of managing compute infrastructure: users provide code (functions, queries), cloud platforms automatically provision resources, execute the code, and clean up. Users don't provision servers, manage scaling, or plan capacity; cloud platforms handle all of that. Pricing is usage-based: if a function executes 1,000 times a month, you pay for 1,000 executions; if it doesn't execute, you pay nothing. Serverless enables dramatic cost savings for bursty workloads (execute occasionally, rest of time idle) that would otherwise require always-on infrastructure.

Serverless compute includes function-as-a-service (FaaS) like AWS Lambda for event-driven code execution, and query-based services like Athena for on-demand SQL queries against data lakes. The term "serverless" is marketing: servers still run the code, but users don't manage them. Serverless abstracts infrastructure details from users, enabling focus on code/logic.

Trade-offs include cold starts (first execution takes longer while infrastructure is provisioned), limited execution time (functions must complete in fixed window), and potential cost surprises (many executions can be expensive). Serverless is ideal for sporadic workloads; always-on workloads may be more cost-effective with provisioned infrastructure.

Key Characteristics

  • Automatic provisioning and scaling based on demand
  • Pay-per-use pricing model
  • No infrastructure management by users
  • Automatic cleanup and de-provisioning
  • May experience cold-start latency
  • Limited execution time windows

Why It Matters

  • Reduces operational overhead of infrastructure management
  • Reduces costs for bursty workloads through pay-per-use
  • Enables rapid scaling without manual intervention
  • Reduces time-to-value by eliminating infrastructure setup
  • Enables focus on code/logic rather than infrastructure
  • Simplifies compliance: providers manage security and updates

Example

Athena serverless SQL: analyst runs "SELECT COUNT(*) FROM huge_log_table WHERE date='2024-01-15'". Athena provisions compute automatically, scans S3 objects containing that day's logs (only objects needed), returns count, deallocates resources. User pays for data scanned (per-terabyte pricing). Same query twice costs same amount (if scanning same data); traditional warehouse would require keeping cluster running 24/7 even if used rarely.

Coginiti Perspective

Coginiti connects to serverless query engines like Amazon Athena and Google BigQuery, where compute scales automatically and pricing is query-based. CoginitiScript's query tags enable cost tracking per department, project, or priority on these platforms. For teams using serverless compute, Coginiti's governed analytics catalog helps control costs by ensuring queries reference optimized, version-controlled logic rather than ad hoc queries that may scan excessive data.

Related Concepts

Cloud ComputingCloud FunctionsFunction as a ServiceElastic ScalingQuery as a ServiceManaged ServicesPay-Per-Use PricingCloud Infrastructure

See Semantic Intelligence in Action

Coginiti operationalizes business meaning across your entire data estate.