Track fleets and assets in real time, without building your own backend layer.

See how PubNub powers a transport and logistics dashboard that streams vehicle location, delivery status, sensor readings, and dispatcher commands across drivers, dispatchers, and customers instantly, on any device.

Success Stories in Motion

Powering real-time visibility, tracking, and communication to streamline logistics and transportation operations for global organizations.

MothershipZoomyTennaSwiggyGettGrasshopperCanadianTireCitymapperWISE SYSTEMSManhaimChargezoneMothershipZoomyTennaSwiggyGettGrasshopperCanadianTireCitymapperWISE SYSTEMSManhaimChargezone

Features

This live demo shows how the PubNub JavaScript SDK adds real-time fleet visibility and control to a browser-based logistics dashboard. It simulates using the same pub/sub, online status updates, and publish patterns you'd wire into mobile apps, dispatch consoles, and IoT devices in production.


Explore the JavaScript SDK, Signals, Presence, Push Notifications, and App Context documentation for detailed implementation for your own platform.



Live Vehicle Tracking & Delivery Status

Vehicles report location and delivery status over the PubNub network and appear on the dispatcher dashboard in real time.

Fleet Dispatch & Route Control

Dispatch vehicles, redirect routes, and view vehicle properties from the dashboard, enabling administrative commands to flow bidirectionally.

Frequently asked questions

expand_less

How does the PubNub platform work?

PubNub is a real-time communication platform that provides cloud-based infrastructure and APIs to instantly send and receive messages between devices, apps, or services. Built on a global ultra-low-latency data stream network, it lets developers create fast, interactive experiences without managing servers or complex back-end systems.

PubNub uses a publish/subscribe (pub/sub) messaging pattern. Messages—like chat updates, IoT data, or collaborative edits—are published to channels and instantly received by all subscribed clients, enabling real-time communication across millions of devices and users.

PubNub offers:

  • Real-time messaging, presence detection, state sync, chat, and collaboration
  • Low-latency IoT communication between devices and the cloud
  • Live updates and real-time dashboards
  • SDKs for web, mobile, and IoT platforms
  • Cloud-native, globally distributed infrastructure for scale and reliability

PubNub handles infrastructure, message routing, and security

PubNub is a real-time communication platform that provides cloud-based infrastructure and APIs to instantly send and receive messages between devices, apps, or services. Built on a global ultra-low-latency data stream network, it lets developers create fast, interactive experiences without managing servers or complex back-end systems.

PubNub uses a publish/subscribe (pub/sub) messaging pattern. Messages—like chat updates, IoT data, or collaborative edits—are published to channels and instantly received by all subscribed clients, enabling real-time communication across millions of devices and users.

PubNub offers:

  • Real-time messaging, presence detection, state sync, chat, and collaboration
  • Low-latency IoT communication between devices and the cloud
  • Live updates and real-time dashboards
  • SDKs for web, mobile, and IoT platforms
  • Cloud-native, globally distributed infrastructure for scale and reliability

PubNub handles infrastructure, message routing, and security

expand_more

How does PubNub ensure message delivery under poor network conditions or device reconnection scenarios?

PubNub ensures reliable message delivery during poor network conditions or reconnections through message persistence and timetoken-based catch-up. Message persistence ensures no data is lost even if a device is offline for an extended period. Timetoken-based catch-up enables precise resumption, minimizing the risk of duplicate or missed messages. Built-in reconnection logic in the SDKs ensure that most network issues are handled seamlessly, so end users rarely notice disruptions. Additionally, the low client complexity—thanks to PubNub abstracting much of the logic within its SDKs.

With PubNub, there's no need to manually implement complex reconnection logic or message buffering

PubNub ensures reliable message delivery during poor network conditions or reconnections through message persistence and timetoken-based catch-up. Message persistence ensures no data is lost even if a device is offline for an extended period. Timetoken-based catch-up enables precise resumption, minimizing the risk of duplicate or missed messages. Built-in reconnection logic in the SDKs ensure that most network issues are handled seamlessly, so end users rarely notice disruptions. Additionally, the low client complexity—thanks to PubNub abstracting much of the logic within its SDKs.

With PubNub, there's no need to manually implement complex reconnection logic or message buffering

expand_more

Does Pubnub offer edge network capabilities or Points of Presence (PoPs) in key regions?

Yes, PubNub has a global edge network with Points of Presence (PoPs) in key regions: North America, Asia, Europe, and South America. This ensures data is routed through the closest servers to users, minimizing latency and improving real-time performance.

On average, PubNub delivers messages in under 100 milliseconds worldwide, thanks to its optimized infrastructure and intelligent routing.

PubNub also offers a 99.999% uptime SLA (Service Level Agreement), meaning it's built for high availability and reliability, even under heavy load or across distributed geographies


Yes, PubNub has a global edge network with Points of Presence (PoPs) in key regions: North America, Asia, Europe, and South America. This ensures data is routed through the closest servers to users, minimizing latency and improving real-time performance.

On average, PubNub delivers messages in under 100 milliseconds worldwide, thanks to its optimized infrastructure and intelligent routing.

PubNub also offers a 99.999% uptime SLA (Service Level Agreement), meaning it's built for high availability and reliability, even under heavy load or across distributed geographies


expand_more

What software architecture pattern does PubNub use?

PubNub utilizes a Publish/Subscribe (Pub/Sub) messaging model to deliver real-time communication across devices, eliminating the need for users to manage infrastructure. Publishers send messages to named channels (topics), and all subscribed clients receive them instantly. This decouples senders from receivers, enabling scalable, low-latency messaging with no need to handle servers, sockets, or scaling logic.


PubNub’s architectural foundation is a highly optimized, globally distributed Publish/Subscribe system designed for real-time messaging at planetary scale. It abstracts away the complexity of scaling, securing, and managing real-time infrastructure, allowing developers to focus purely on building applications that react instantly to data. By combining a robust Pub/Sub backbone with layers like user access control, message persistence (history), presence tracking (state detection), and edge functions (serverless), PubNub enables a broad range of real-time use cases (chat, live dashboards, multiplayer games, streaming & location tracking) with minimal development and operational overhead.


Channel-Based, Real-Time Pub/Sub Architecture

PubNub structures communication around string-based channels, enabling granular or broad message targeting. Channels can represent chat rooms, IoT devices, user sessions, or system events, allowing millions of concurrent streams without conflict.


Clients subscribed to a channel receive published messages within ~100 milliseconds (ultra-low latency), thanks to PubNub’s globally distributed edge network, which minimizes delay by routing through the nearest data center(PoP).

Unlike request/response systems, PubNub’s Pub/Sub model is asynchronous — messages are pushed to subscribers in real time, enabling use cases like chat, live dashboards, multiplayer games, and location tracking.

The decoupled architecture supports massive scalability: publishers don’t track subscribers, and channel topologies are dynamic. Edge-based stateless routing supports ephemeral messaging, while TLS and PubNub Access Manager (PAM) provide encryption and fine-grained, token-based access control.


Beyond core messaging, PubNub offers presence detection, message persistence, and PubNub Functions — a serverless layer injecting logic (e.g., filtering, enrichment, validation) directly into message streams without extra backend infrastructure.

This architecture powers real-world applications such as live support chat, IoT telemetry, collaborative editing, and real-time asset tracking.

PubNub utilizes a Publish/Subscribe (Pub/Sub) messaging model to deliver real-time communication across devices, eliminating the need for users to manage infrastructure. Publishers send messages to named channels (topics), and all subscribed clients receive them instantly. This decouples senders from receivers, enabling scalable, low-latency messaging with no need to handle servers, sockets, or scaling logic.


PubNub’s architectural foundation is a highly optimized, globally distributed Publish/Subscribe system designed for real-time messaging at planetary scale. It abstracts away the complexity of scaling, securing, and managing real-time infrastructure, allowing developers to focus purely on building applications that react instantly to data. By combining a robust Pub/Sub backbone with layers like user access control, message persistence (history), presence tracking (state detection), and edge functions (serverless), PubNub enables a broad range of real-time use cases (chat, live dashboards, multiplayer games, streaming & location tracking) with minimal development and operational overhead.


Channel-Based, Real-Time Pub/Sub Architecture

PubNub structures communication around string-based channels, enabling granular or broad message targeting. Channels can represent chat rooms, IoT devices, user sessions, or system events, allowing millions of concurrent streams without conflict.


Clients subscribed to a channel receive published messages within ~100 milliseconds (ultra-low latency), thanks to PubNub’s globally distributed edge network, which minimizes delay by routing through the nearest data center(PoP).

Unlike request/response systems, PubNub’s Pub/Sub model is asynchronous — messages are pushed to subscribers in real time, enabling use cases like chat, live dashboards, multiplayer games, and location tracking.

The decoupled architecture supports massive scalability: publishers don’t track subscribers, and channel topologies are dynamic. Edge-based stateless routing supports ephemeral messaging, while TLS and PubNub Access Manager (PAM) provide encryption and fine-grained, token-based access control.


Beyond core messaging, PubNub offers presence detection, message persistence, and PubNub Functions — a serverless layer injecting logic (e.g., filtering, enrichment, validation) directly into message streams without extra backend infrastructure.

This architecture powers real-world applications such as live support chat, IoT telemetry, collaborative editing, and real-time asset tracking.

expand_more

Does PubNub support JSON Web Tokens (JWT) for authentication and authorization workflows?

Yes, PubNub has JSON Web Tokens support in multiple areas:

PubNub Functions JWT Module

PubNub Functions includes a built-in JWT SDK library for generating and verifying JSON Web Tokens. The jsonwebtoken module is available with the following require statement:

The JWT module provides three main methods:

  • decode to extract and return the payload and optionally the header from a token without verifying its signature or authenticity
  • verify to check the validity of a given token against a secret key, ensuring it hasn't been altered and meets expected conditions
  • sign to create and sign a new JWT with the provided payload and secret key

Access Manager JWT Integration

PubNub's Access Manager (PAM) supports JWT for authentication and authorization. When using JWT, PubNub validates the token to ensure it matches the required permissions for channels, groups, and resources. This allows fine-grained access control without storing session states on the server.

Recent Functions Updates

PubNub has recently added new built-in libraries to support JWT (along with UUID and JSONPath Plus) in Functions v2

Yes, PubNub has JSON Web Tokens support in multiple areas:

PubNub Functions JWT Module

PubNub Functions includes a built-in JWT SDK library for generating and verifying JSON Web Tokens. The jsonwebtoken module is available with the following require statement:

The JWT module provides three main methods:

  • decode to extract and return the payload and optionally the header from a token without verifying its signature or authenticity
  • verify to check the validity of a given token against a secret key, ensuring it hasn't been altered and meets expected conditions
  • sign to create and sign a new JWT with the provided payload and secret key

Access Manager JWT Integration

PubNub's Access Manager (PAM) supports JWT for authentication and authorization. When using JWT, PubNub validates the token to ensure it matches the required permissions for channels, groups, and resources. This allows fine-grained access control without storing session states on the server.

Recent Functions Updates

PubNub has recently added new built-in libraries to support JWT (along with UUID and JSONPath Plus) in Functions v2

expand_more

Is message latency the same on the free tier as in paid plans?

PubNub's infrastructure provides consistent performance across all account types. With 15+ global Points of Presence and automatic scaling, latency stays under 100ms and uptime meets a 99.999% SLA1.

The platform uses a globally distributed edge network with multiple PoPs for ultra-low latency and regional failover—no custom infrastructure needed2. This infrastructure delivers enterprise-grade SLAs, multitenant isolation, and built-in observability so you can track latency, delivery, and usage in real time.

The latency performance is determined by PubNub's global network infrastructure rather than account tier, as the same edge network and Points of Presence serve all users.

PubNub's infrastructure provides consistent performance across all account types. With 15+ global Points of Presence and automatic scaling, latency stays under 100ms and uptime meets a 99.999% SLA1.

The platform uses a globally distributed edge network with multiple PoPs for ultra-low latency and regional failover—no custom infrastructure needed2. This infrastructure delivers enterprise-grade SLAs, multitenant isolation, and built-in observability so you can track latency, delivery, and usage in real time.

The latency performance is determined by PubNub's global network infrastructure rather than account tier, as the same edge network and Points of Presence serve all users.

Add Real-Time Fleet & Asset Tracking Without Rebuilding Infrastructure

Ready to see how you can implement live vehicle tracking, fleet dispatch, sensor monitoring, and driver push alerts into your own transport and logistics platform?


Tell us what you're building, and we'll follow up with the next steps.

Loading...
By submitting, you agree to our Terms and Conditions and Privacy Policy.