New release adds powerful microservice features to real-time apps and enables application logic to be executed directly within the Data Stream Network
SAN FRANCISCO, CA --November 18, 2015 -- 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 real-time apps. PubNub BLOCKS execute business logic directly on the data streaming through PubNub's network without spliting 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. Tweet This : PubNub Announces BLOCKS to Simplify Real-time App Development 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 execute directly inside the PubNub Data Stream Network across 15 global points of presence to deliver specific business functionality for real-time 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 an SMS vendor to send alerts
- Emai - Connect with an email vendor to send email notifications
- Rapid Innovation - BLOCKS executes 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 speaks JavaScript so developers can customize and build microservices in a language they already know.
- Global Scalability - PubNub BLOCKS are instantly replicated to 15 global points of presence, ensuring that stream logic happens at the point closest to any device's location.