Functions
Functions

Trigger Realtime Business Logic

Execute business logic across connected experiences at scale without worrying about servers.

PubNub Functions is a “serverless” environment that lets you run your code as messages are published and as users connect. Build everything from content filtering to audience sentiment analysis to rules engines, and flexibly integrate any 3rd party API without needing to manage or provision servers.

Functions

Build Event-Driven Connected Experiences at Massive Scale and Low Latency

PubNub Functions
PubNub Functions

Execute functions on the edge – transforming, enriching, and filtering messages as they route through the PubNub network.

Vault
Vault

Store secrets like authentication keys and tokens to protect sensitive information.

KV Store
KV Store

Ensure persistence in PubNub Functions to count messages and maintain state.

Functions Endpoints
Functions Endpoints

Utilize REST Functions to respond directly to HTTP requests and integrate any 3rd party service without spinning up servers.

Blocks Catalog
Blocks Catalog

Choose from 50+ prebuilt functions available with PubNub and deploy in a couple of clicks, all available in the Blocks Catalog.

Powered by a reliable, secure, and scalable programmable infrastructure

A single click and your serverless functions are deployed to the programmable PubNub Data Stream Network.

Extensible
Extensible

All serverless compute lives in the network, and flexible design patterns empowers the integration of any 3rd party service.

Scale to any Audience
Scale to any Audience

Never worry about provisioning and maintaining servers, while supporting millions of Functions executions per second for massive audiences.

Eliminate Server Bills
Eliminate Server Bills

Pay-per-use pricing makes Functions cost-effective and easy to scale.

CI/CD Support
CI/CD Support

APIs and CLI for deploying and activating Functions delivers seamless integration into a CI/CD model.

Serverless Functions In-Action Today

  • Augment Messages

    Mutate messages in flight, like translating a chat message between languages.

  • Filter and Analyze Data

    Sift through messages based on their characteristics, like monitoring a temperature data stream for anomalies.

  • Reroute Streams

    Redirect messages to a third party service, like sending stock data to a data analytics platform for analysis.

Functions Mobile Functions Watch

Ready To Get Started?

Contact Sales