Web sockets
SSE

Real-time state sync between your applications and services

Connect backends, frontends, devices, and workers into one live ecosystem. Publish versioned state over HTTP and receive matching updates instantly via multiple protocols

Why BigState?

Everything you need to build real-time applications without the complexity

Latency

ms latency

📈

Throughput

High-volume concurrent publishers and subscribers.

🛡️

Explicit Access Control

Use principals and policies to control which identities can perform actions on matching resources.

📦

Inline and Binary States

Store JSON, numbers, strings, and Base64 data inline, or binary inlined content.

How It Works

Three simple steps to real-time data synchronization

1

Publish

Your backend, device, or service writes the latest object state through the HTTP API.

await httpClient.stateSet(OBJECT_NAME, { value: data });
2

Route

BigState stores a versioned state row and matches the object against configured delivery channels.

// Automatic routing via Delivery
3

Deliver

Configured delivery channels send matching state updates to their consumers.

// Delivery routes matching updates

Simple & Powerful API

Get started with just a few lines of code

example.js
import { BigStateHttpClient, BigStateWsDeliveryClient } from 'bigstate.client.javascript';

const httpClient = new BigStateHttpClient({
	baseUrl: 'https://api.bigstate.dev',
	apiKey: 'YOUR_API_KEY',
});

const LOCATION_OBJECT = 'user:location@YOUR_OWNER';
example.js
await httpClient.objectCreate(LOCATION_OBJECT, {
	type: 2,
	ttl: 100000,
	validity: 60,
	info: { name: 'User Location' },
});
example.js
await httpClient.deliveryCreate('my-delivery', {
	name: 'Location updates',
	objects: [LOCATION_OBJECT],
	type: 1,
});
example.js
const wsClient = new BigStateWsDeliveryClient({
	baseUrl: 'https://ws.delivery.bigstate.dev',
	apiKey: 'YOUR_API_KEY',
});
example.js
wsClient.setDeliveries(['my-delivery']);
wsClient.setMessageHandlers([(message) => {
	console.log('New state:', message.data.state);
}]);
example.js
await httpClient.stateSet(LOCATION_OBJECT, {
	at: new Date().toISOString(),
	value: { lat: 40.7128, lng: -74.0060 },
});

Built for Any Use Case

From simple dashboards to complex distributed systems

Real-Time User Experiences

Build responsive applications that sync instantly. Connect frontend interfaces to backend states for live collaboration, chat, dashboards — everything updates in real-time without lag.

🤖

AI-Powered Intelligence

Feed your AI with live data. Use BigState as a data source for analytics, training, and autonomous decision-making. Let AI agents act on real-time insights.

📡

IoT & Connected Devices

Manage thousands of connected devices. Stream sensor data, device states, and commands in real-time across your entire infrastructure.

📦

Instant Content Distribution

Publish once, distribute everywhere. Push digital assets, documents, and media to all applications simultaneously with zero latency.

Ready to Build Real-Time Apps?

Start building with BigState today. Our comprehensive documentation and tutorials will help you get up and running in minutes.