NewHow the Agent Session Protocol builds trust between autonomous systems.
Use Case

Multi tenant event routing

Isolate tenant data while sharing infrastructure across your platform.

Your platform grows to fifty tenants.

Each one needs event routing.

You build isolation logic.

Then metering. Then billing hooks.

Tenant data leaks across boundaries.

Your team fixes it. Weeks lost.

npayload isolates every tenant from day one.

You focus on your product, not plumbing.

See how it flows

Tenant isolation

Every tenant gets their own scoped channels and subscriptions. Data never crosses tenant boundaries.

Tenant Isolation
Tenant A
12 channels4.2K/s
+6
Tenant B
8 channels1.8K/s
+2
Tenant C
23 channels7.1K/s
+17
Zero data leakage between tenants

Usage metering

Track events per tenant for billing. npayload meters everything. You decide how to charge.

Live Dashboard
Events/sec
12,847
+23%
P99 Latency
38ms
−12%
Delivery Rate
99.97%
+0.02%
Active Channels
1,204
+8

API first integration

One API call provisions a tenant. No custom infrastructure, no manual setup.

Adapters
Kafka
SQS
Pub/Sub
EventBridge
Azure SB
SNS
HTTP
RabbitMQ
Keep what you have. Add what you need.

Ecosystem growth

Tenants discover and subscribe to each other through events. The ecosystem grows without your team building integrations.

Billing API42ms
Shipping Service38ms
Analytics51ms
Notification Hub29ms

How it works

1

Connect your platform once

One integration gives every tenant on your platform real time event capabilities.

2

Tenants are isolated automatically

Each tenant gets scoped channels and subscriptions. No data leaks between tenants.

3

Meter and bill per tenant

npayload tracks events per tenant. You access metering data and bill however you choose.

Multi Tenant Event Routing: Before and After

Without npayload

  • Tenant data isolation requires custom scoping logic in every service
  • A noisy tenant overwhelms shared infrastructure and degrades service for everyone
  • Billing per tenant requires custom metering code that drifts from actual usage
  • Adding event capabilities to your platform means building pub/sub from scratch
  • Debugging a tenant's event flow means searching through logs shared with every other tenant

With npayload

  • Every tenant gets scoped channels and subscriptions with isolation enforced by the platform
  • Per tenant rate limiting and backpressure prevent noisy neighbors from affecting others
  • Built in metering tracks events per tenant, ready for your billing system
  • One integration gives every tenant on your platform real time event capabilities
  • Tenant scoped observability shows each tenant's event flow in isolation

npayload vs Building Multi Tenant Events Yourself

FeaturenpayloadBuild it yourself
Tenant isolationRLS enforced scoping per tenant at the infrastructure levelApplication level scoping with risk of data leaks
Noisy neighbor protectionPer tenant rate limiting with configurable thresholdsShared rate limits that punish all tenants equally
MeteringAutomatic event counting per tenant via built in meteringCustom counters that drift from actual usage
Tenant onboardingProvision channels and subscriptions via API in secondsCustom provisioning workflow per tenant
ObservabilityTenant scoped dashboards and tracingFilter shared logs by tenant ID manually
ScaleCells scale independently per tenant or group of tenantsShared infrastructure with complex capacity planning

Frequently asked questions

How does npayload isolate tenant data?+
npayload uses Row Level Security (RLS) to scope every operation to the authenticated tenant. Channels, subscriptions, and messages are isolated at the database level. One tenant cannot access or even discover another tenant's data.
Can I give each tenant their own event namespace?+
Yes. Each tenant gets scoped channels within your organization. You control the naming convention and access policies. Tenants can publish and subscribe within their scope without affecting other tenants.
How does per tenant metering work?+
npayload automatically tracks event volume per tenant. You access metering data through the API and integrate it with your billing system. No custom counting code required.
What happens when a tenant generates a spike in traffic?+
Per tenant rate limiting contains the spike to that tenant's allocation. Other tenants continue to operate normally. You configure rate limits per tier, so premium tenants can have higher thresholds.