News

Announcing PubNub Functions and Endpoints

2 min read Michael Carroll on Jun 19, 2017
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

We're pleased to announce PubNub Functions, serverless compute directly at the edge of the network, which executes business logic on messages in-flight as they are streamed through PubNub.

We have two announcements we’re excited to share with you!

BLOCKS is Now Functions

First, we’ve renamed PubNub BLOCKS to PubNub Functions. Our pre-built Functions and integrations will still be available in our branded BLOCKS Catalog.

As you may know, PubNub Functions is serverless compute directly at the edge of the network, which executes business logic on messages in-flight as they are streamed through PubNub.  With a single click, developers have access to the Functions they need to build and operate their real-time app – without worrying about deploying, maintaining, and scaling server infrastructure.

PubNub Functions is built specifically to enhance real-time apps running on the PubNub Data Stream Network:

  • Deploys functions in milliseconds to 15 points of presence worldwide
  • Scales automatically with usage
  • Requires no start-up time; your functions always run “hot”
  • Backed by 99.999% SLA’s
  • Adds minimal latency to low-latency data stream applications

Endpoints

Second, we are introducing webhook integration into PubNub Functions with Endpoints! Endpoints makes PubNub Functions available to anything capable of making an HTTP request, without the need to publish to a channel via one of our 70+ SDKs.

Creating a webhook is super easy. Simply select “On Request” as the event type when creating a new Function, and specify the desired URI path:

Creating a webhook

With the ability to deploy secure Functions and REST endpoints in the network through the click of a button, developers can quickly:

  • Transform, filter, aggregate, and re-route messages with custom business logic
  • Integrate 3rd party services for things like sentiment analysis, geolocation, and machine learning
  • Build massive-scale social apps, online multiplayer games, or IoT use cases
  • Store and retrieve stateful data for things like polls and vote aggregation using PubNub’s globally replicated Key/Value database
  • Implement authentication models such as OAUTH
  • Deliver advanced chat functionality such as @mentions and language translation in a few lines of code
  • Create chatbots for any real-time app or messaging platform

For further learning, check out the Functions and Endpoints documentation or our Facebook Messenger chatbot tutorial.

We’ll keep you posted as we release more Endpoints webinars and tutorials in the near future.

More from PubNub

NPP and HIPAA: Notice of Privacy Practices Definition
Healthcare CategoryJan 6, 20235 min read

NPP and HIPAA: Notice of Privacy Practices Definition

A Notice of Privacy Practices (NPP) is one of the requirements of HIPAA and helps patients understand their personal data rights.

Michael Carroll

Michael Carroll

HIPAA Violation Examples
Healthcare CategoryJan 5, 20236 min read

HIPAA Violation Examples

HIPAA violations can be financially expensive and devastating to a brand. Examine some examples of HIPAA violations, and learn...

Michael Carroll

Michael Carroll

HIPAA Technical Safeguards: How To Protect Sensitive Data
Healthcare CategoryJan 5, 20236 min read

HIPAA Technical Safeguards: How To Protect Sensitive Data

HIPAA covered entities must follow the five technical safeguards to achieve HIPAA compliance and prevent data corruption.

Michael Carroll

Michael Carroll