PubNub Announces BLOCKS to Simplify Realtime App Development

PubNub Announces BLOCKS to Simplify Realtime App Development

PubNub, the world’s leading Data Stream Network for mobile applications, today announced the release of BLOCKS, a set of customizable microservices that give developers a simple way to add code and deploy features for realtime apps.

PubNub BLOCKS executes business logic directly on the data streaming through PubNub’s network without splitting it off to an intermediary server controlled by the customer. This revolutionary approach streamlines app development, reduces endpoint-to-endpoint latency, and allows apps to better leverage the enormous scalability of PubNub’s Data Stream Network.

The Challenge
Traditionally, developers have expended significant time and effort to collect streaming data onto their own servers to filter, transform, and otherwise process that data, only to push that data back to the network for delivery. This approach is both costly and complex, requiring in-house expertise in distributing computing and many servers to run relatively simple business logic.

PubNub BLOCKS is the Solution
Using PubNub BLOCKS, developers can accelerate product development and reduce deployment costs by selecting from a catalog of microservices (such as BLOCKS for GPS location tracking or sensor data filtering and alerting) that developers can deploy, modify, and even create their own from scratch. PubNub BLOCKS executes directly inside the PubNub Data Stream Network across 15 global points of presence to deliver specific business functionality for realtime apps.

The initial rollout of PubNub BLOCKS will include the following customizable microservices:

 - Chat Routing and Escalation – Transfer a chat session to another chat user or helpdesk rep

 - Spammer Throttle - Filter out messages according to pre-defined spam rules

 - Sensor Anomaly Detection - Alert a user when a sensor reading passes a threshold

 - Vote Count - Count votes as they pass through the network to display live results

 - Leaderboard - Rank users or entities according to a key/value pair

 - Geo Notification - Create an alert when a user is within a certain distance of another

 - Bitcoin Market Prices – Tap into a bitcoin API to get the latest price

 - SMS - Connect with a SMS vendor to send alerts

 - Email - Connect with an email vendor to send email notifications

Key Benefits:

 - Rapid Innovation — BLOCKS execute business logic within PubNub’s Data Stream Network to accelerate features from prototype to production.

 - Minimal latency — Developers can offload work from intermediate servers by deploying customizable microservices in the network. Fewer server hops mean significantly reduced endpoint-to-endpoint latency, reduced server cost, and easier development.

 - Maximum flexibility — Developers can choose from a catalog of pre-existing BLOCKS or build their own from scratch, providing infinite flexibility for how they manage their data streams within the PubNub network.

 - Reduced time to market — BLOCKS speak JavaScript and SQL so developers can customize and build microservices in languages they already know.

 - Global Scalability — PubNub BLOCKS is instantly replicated to 15 global points of presence, ensuring that stream logic happens at the point closest to any device’s location.

“Building realtime apps shouldn’t be anywhere near as difficult as it is today, which is why BLOCKS are a developer’s dream come true,” said Stephen Blum, CTO of PubNub.

“They give engineers who are trying to solve difficult yet common problems an easy way to ship their features quickly while reducing their overall costs.”

PubNub BLOCKS early access will be available in January 2016. To request early access to PubNub BLOCKS, please visit

About PubNub

PubNub is a secure global Data Stream Network (DSN) and easy-to-use API that enables its customers to connect, scale, and manage realtime applications and IoT devices. With over 70 SDKs for every platform, 250ms worldwide data transfer times, and scalability for hundreds of millions of devices, PubNub’s unique infrastructure provides the ability to easily connect and operate world-class realtime applications and IoT devices. PubNub is headquartered in San Francisco.

Visit PubNub online at

Related News

Move Over Periscope and Meerkat, + Bitcoin is Here is definitely one of the most exciting creations to come out the Bitcoin community lately. Twitter was taken by storm upon its launch it seems, with praises for its decentralized realtime streaming video service; a service that gives Meerkat and Periscope a run for their money. It wasn’t but a few weeks ago the tech media outlets were abuzz over Meerkat and Periscope and their possibilities for disrupting realtime hyper-local streaming from mobile devices. “Finally, a super quick and simple method for video sharing”, they exclaimed. The arguments raged for weeks in the media....

BCH Hash Watch: Majority of Miners Signal BCHN, Coinex Exchange Announces Fut...

Bitcoin Cash proponents have recently noticed that the last 612 blocks or more than 61% of the last 1,000 blocks have been mined using BCHN, according to Coin Dance statistics. Moreover, data also shows that 82% of Bitcoin Cash hashpower is signaling BCHN, as the prominent miners and Antpool have started signaling. BCH fans are patiently waiting as there’s 53 days left until the November 15th Bitcoin Cash upgrade. reported on September 1, on how there’s a high chance the BCH blockchain will bifurcate into two networks. At that time, our newsdesk....

Guest Post: Chain Splits and Resolutions

An often misunderstood topic is that of chain splits and how they are potentially resolved. With the recent proposal from Shaolinfry discussing User Activated Soft Forks (UASF) getting much attention, these misunderstandings must be clarified to fully understand the implications of chain splits and their potential resolutions. Types of Forks. Miners can create chain splits through the deliberate orphaning of blocks that appear to be valid to some clients. Users maintain a set of consensus rules that they require of all blocks. When users disagree about the sets of consensus rules to....

The Blockchain Meets Big Data and Realtime Analysis

Analysis by Steven McKie. Big Data. It's a popular buzzword that you've seen all over the Net the past few years. It's a very serious billion-dollar industry now - with frontrunners from all different niche avenues of data collection and analytics. With the number of unique data sources available to these data-focused companies, the possibilities for analytics and selling that service to others seems exponential. And, with the rise of worldwide ledger-based systems like that of Bitcoin and other blockchain-based technologies, the lines are blurring between what's kosher in extrapolating....

Network Alternative Bitcoin Unlimited Closing In On ‘Opponent’ Segwit Proposal

The number of blocks mined using the alternative Bitcoin client, Bitcoin Unlimited (BU), is increasing. Over the past weeks and months BU, also known as BUIP 001, has seemingly been increasingly adopted by Bitcoin participants. Segwit, a proposal for an upgrade of the mining protocol by the development team called ‘Core’, still mines 600 more blocks per....