What are common use cases for OpenFaaS and how can teams try it?

Updated

OpenFaaS is a serverless platform that runs on Kubernetes and deploys functions as portable OCI images, on-premises or in the cloud. Teams typically adopt it for three recurring jobs: letting customers run custom code inside a product, running ETL and data pipelines at scale, and making Kubernetes usable without building autoscaling, queuing, and event triggers from scratch. If your workload fits one of those shapes, the fastest way to judge fit is to deploy it to a Kubernetes cluster, ship a function, and then evaluate OpenFaaS Pro against your scaling, event, and access-control requirements.

Use case 1: A sandbox for your customer's code

The problem: you want customers to extend your product with custom code, but running untrusted code safely is hard to get right.

How OpenFaaS is used here: code snippets become isolated functions, built and deployed through a REST API. Each tenant runs in its own namespace, with security boundaries enforced at every layer. The site cites production use by Waylay (IoT), LivePerson, Cognite (ML/data science), and RudderStack.

This is the pattern to pick if your product needs a "bring your own code" extension point and you care more about tenant isolation than about raw execution speed. Two concrete entry points the site names:

  • Add a FaaS capability to your product
  • Build a function editor for your customers

Use case 2: ETL and data pipelines

The problem: you're processing large volumes of data, and managing infrastructure for parallel execution, retries, and scaling is a project in itself.

How OpenFaaS is used here: fan out to thousands of parallel function executions that scale automatically. Batch jobs and ML models run as functions with built-in retries, whether they take milliseconds or hours. The site cites Surge, which runs async jobs at scale — importing financial and government data to power background checks for customers through Salesforce.

Choose this pattern when your jobs are bursty, long-running, or need retries without you writing the orchestration layer. The relevant starting point is queue-based scaling with OpenFaaS.

Use case 3: Kubernetes, made usable

The problem: Kubernetes has the building blocks, but wiring up auto-scaling, queuing, retries, and event triggers from scratch takes months of work.

How OpenFaaS is used here: you deploy to any Kubernetes cluster and get a unified experience for running code, with functions scaling to meet demand and down to zero when idle. Templates get code into production within minutes, and you can write functions in any language while bringing existing microservices along.

This is the right framing if your team already runs Kubernetes and wants serverless behavior without assembling the control plane yourself.

What event-driven workloads can it handle?

Functions can be invoked through events from Apache Kafka, AWS SQS/SNS, GCP Pub/Sub, RabbitMQ, PostgreSQL, Cron, and MQTT. If your pipeline is triggered by one of those sources, you don't need to build a custom poller — the event connector is the integration point.

OpenFaaS vs OpenFaaS Pro

The open-source project gives you the core deploy-and-run model. OpenFaaS Pro adds the operational features that usually decide a production rollout:

Capability OpenFaaS (open source) OpenFaaS Pro
Autoscaling — Included
Event connectors — Included
Monitoring dashboards — Included
SSO — Included
RBAC — Included
Direct-to-engineering support — Included

Use the table as a checklist, not a verdict: if you only need to run functions on Kubernetes and can handle scaling and access control yourself, the open-source path may be enough. If you need autoscaling, event connectors, dashboards, SSO, or RBAC, those are the specific gaps Pro fills.

How to try it

  1. Confirm the prerequisite: a Kubernetes cluster. OpenFaaS deploys to any Kubernetes cluster, on-premises or in the cloud.
  2. Deploy OpenFaaS to that cluster and write a new function. The site's claim to verify against your own setup is that you can ship it to production in minutes and it will scale to meet demand.
  3. Start from a template rather than a blank function — templates are described as working out of the box, and you can create your own.
  4. Test the scaling behavior that matters to you: scale to match your traffic type, including down to zero when idle to save on costs.
  5. Evaluate OpenFaaS Pro if steps 2–4 surface gaps in autoscaling, event connectors, monitoring, SSO, or RBAC. The site offers a free trial request for Pro; pricing details are on the pricing page, and the trial terms are not specified there, so confirm scope and duration with the vendor.

Choosing between the three patterns

  • Customer-facing extension point → prioritize namespace isolation and a REST API for build/deploy.
  • ETL and batch → prioritize parallel fan-out, retries, and queue-based scaling.
  • Kubernetes simplification → prioritize templates, scale-to-zero, and the event sources you already run.

If none of these match how your team ships code, the platform is likely a poor fit regardless of feature list.