Compare

Foony vs Azure Web PubSub

Azure’s raw WebSocket service against a batteries-included realtime platform: reliability, presence, and the 2 KB metering rule.

Azure Web PubSub is the sibling of Azure SignalR for non-SignalR clients: raw WebSockets, optional pub/sub subprotocols, unit-day pricing. It gives you a scalable socket. Most of what this page compares is how much you build on top of that socket versus what comes built in.

When Foony fits

  • Reliability by default. Web PubSub connections are fire-and-forget unless clients implement the reliable subprotocol, and the official client SDK wrapping it is JavaScript and C# only, in preview. Foony’s guarantees are on for every client.
  • History exists. Web PubSub stores no customer data, a client that misses the short redelivery window is disconnected and starts over. Foony replays from storage for up to 30 days.
  • Presence without webhooks. Web PubSub’s pattern is handling connect and disconnect events on your own server and rebroadcasting counts.
  • Simpler metering: Web PubSub counts outbound traffic in 2 KB increments and bills webhook calls and even diagnostic logs as messages.
  • A server-optional architecture. In Web PubSub’s default mode, simple WebSocket clients must have a registered event handler webhook or the service drops the connection.

When Azure Web PubSub fits

  • You need bring-your-own-protocol sockets, including MQTT 3.1.1 and 5.0 clients (in preview), on Azure.
  • Azure-native everything: Entra ID, Functions bindings, Event Hubs listeners, private endpoints, and Premium geo-replication.
  • A million concurrent connections on one Premium P2 instance is a documented, supported configuration.

Features

FoonyAzure Web PubSub
DeliveryEffectively exactly once (idempotent publish, client dedup), on for every clientBest effort unless clients implement the reliable subprotocol (SDK in preview)
HistoryPer-prefix channel rules, up to 30 daysNone, no customer data stored
PresenceBuilt in, with automatic re-entry on reconnectDIY from connect/disconnect webhooks
ProtocolsWebSocket SDKs, REST, Pusher protocolRaw WebSocket, pub/sub subprotocols, MQTT in preview

Limits and pricing

FoonyAzure Web PubSub
Pricing modelPer message, in and out$1.61/unit/day (1,000 connections), $1 per extra million messages
Message countingOne message is one message up to the size limitOutbound in 2 KB increments, webhooks and trace logs count
Free tier9M messages/month, 300 concurrent connections, free forever20 connections, 20k messages/day, hard cap
Message size64 KB free, up to 1 MB on paid plans1 MB per WebSocket frame

Competitor numbers last checked July 2026. If something has drifted, tell us and we will fix it.

Try it on the free tier

9M messages a month, presence, history, and the Pusher-compatible API are all on the free plan. No card required.