From ec9fad42dcd62dc8dac3622008f511af4fa7c566 Mon Sep 17 00:00:00 2001 From: amitthacker Date: Tue, 1 Dec 2026 18:48:25 +0530 Subject: [PATCH 1/8] Docs: add Architecture & Benchmark under Chat & Messaging > Platform Nisha Sharma's page on how the platform scales and the November 2026 benchmark: 5 million concurrent connections held for 60 minutes, 20 million deliveries a second at peak, 10 billion+ deliveries across the test. Labels say "deliveries" wherever the figure counts deliveries. Co-Authored-By: Claude Opus 5.5 --- docs.json | 1 + fundamentals/architecture-and-benchmark.mdx | 139 ++++++++++++++++++++ 2 files changed, 140 insertions(+) create mode 100644 fundamentals/architecture-and-benchmark.mdx diff --git a/docs.json b/docs.json index f9d7ceccf..55f1dc386 100644 --- a/docs.json +++ b/docs.json @@ -146,6 +146,7 @@ "fundamentals/implementation-checklist", "fundamentals/key-concepts", "fundamentals/network-allowlist", + "fundamentals/architecture-and-benchmark", { "group": "Features", "pages": [ diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx new file mode 100644 index 000000000..385f1520d --- /dev/null +++ b/fundamentals/architecture-and-benchmark.mdx @@ -0,0 +1,139 @@ +--- +title: "Architecture & Benchmark" +sidebarTitle: "Architecture & Benchmark" +description: "How CometChat holds millions of concurrent connections, and how we measure it." +canonical: "https://www.cometchat.com/docs/fundamentals/architecture-and-benchmark" +--- + +This page explains how the CometChat platform is built to scale, and shares the results of our November 2026 benchmark. In that test, the platform held 5 million concurrent connections for 60 minutes, behind a global edge network of 4,000 points of presence (PoPs). + +| November 2026 benchmark | Result | +| --- | --- | +| Simultaneous connections | 5,000,000, held for 60 minutes with zero message loss | +| Deliveries at peak | 20 million a second | +| Deliveries across the test | 10 billion+ | +| P90 response time | 45 ms | +| P95 response time | 60 ms | +| P99 response time | 110 ms | + +## Architecture overview + +CometChat is built the way large enterprise platforms are built: in tiers that each do one job and scale on their own. That is how the platform holds millions of open connections while messages keep moving. The platform runs as redundant microservices: if one instance goes down, another picks up its work, so the service keeps running. + +```mermaid +flowchart LR + U["Your users
5,000,000 open connections"] + E["Global edge
4,000 points of presence"] + subgraph P["CometChat platform: each tier scales independently"] + C["Connection tier
10,000 new connections a second"] + M["Messaging tier
P95 response time 60 ms"] + F["Fan-out tier
20 million deliveries a second at peak"] + D["Data tier
Distributed storage and caching"] + end + U -->|1 Connect| E + E -->|2 Hold| C + C -->|3 Process| M + M -->|4 Fan out| F + M <--> D + F -->|5 Deliver| U +``` + +*Conceptual view of the platform at 5 million connections. Figures are from the November 2026 benchmark.* + +1. **Connect.** Users reach CometChat through the global edge network. +2. **Hold.** The connection tier keeps every connection open. +3. **Process.** The messaging tier handles and routes each message. +4. **Fan out.** One message becomes a delivery for every recipient. +5. **Deliver.** Deliveries go back out to every connected user. + +Across the platform: high-availability deployments, encryption in transit and at rest, and a 99.999% uptime SLA available. + +### Benchmark at a glance + +**5 million connections, held for 60 minutes.** Five million concurrent WebSocket connections stayed open for 60 minutes. At peak, 4 messages a second each reached all 5 million connections: 20 million deliveries a second. Across the test, deliveries totalled more than 10 billion. + +Messaging response time at 5 million connections, over 60 minutes at peak concurrency: + +| Measure | Response time | +| --- | --- | +| Average | 30 ms | +| P90 | 45 ms | +| P95 | 60 ms | +| P99 | 110 ms | + +### What this means for your product + +- **5 million** users online at the same moment, each holding a live connection. +- **Zero** messages lost during the hour at peak load. + +## How CometChat scales + +Six design choices let the platform grow without being rebuilt. + +1. **Scale out, not up.** Services are stateless, so capacity is added by adding more of them, not by re-architecting. +2. **Separate the jobs.** Holding connections and processing messages are different tiers, and each scales independently. +3. **Meet users at the edge.** 4,000 points of presence keep the network close to users, for fast delivery. The same edge provides traffic protection before requests reach the platform. +4. **Fan out once, centrally.** A dedicated tier turns one message into a delivery for every recipient. +5. **Keep every message in order.** Messages pass through a durable event log, which preserves their order and prevents loss. +6. **Plan for failure.** Services run in high-availability deployments, and clients reconnect automatically after a network drop. + +### Edge network + +The edge network's 4,000 PoPs sit in front of the platform. They provide traffic protection and network delivery, and they cache content where it is eligible. Messages are never served from a cache: every message is authenticated and handled by the platform itself. + +### Real-time connections + +Each logged-in client keeps a persistent WebSocket connection to a gateway in the connection tier. That connection carries messages, typing indicators, receipts and presence. It opens at login and reconnects automatically after a network drop. The connection tier holds the connections, and the messaging tier processes and routes the messages. + +## Enterprise readiness + +| Area | What you get | +| --- | --- | +| Uptime | A signed 99.999% uptime SLA is available as an add-on. | +| Compliance | ISO 27001:2022 and SOC 2 Type 2. Also GDPR, HIPAA, CCPA/CPRA and PIPEDA. Data is encrypted in transit and at rest. | +| Deployment | Run on CometChat's managed cloud, a dedicated deployment, or your own infrastructure. | +| Transparency | [status.cometchat.com](https://status.cometchat.com/) shows live status and 90-day uptime for each component. | + +## Benchmark + +In November 2026, we ran a full-scale benchmark on the CometChat platform. We opened 5 million concurrent WebSocket connections, held all of them for a full hour, and measured how quickly messages were handled and delivered at that load. + +### How the test ran + +1. **Ramp up: 10,000 new connections a second.** At that rate, 5 million connections take a little over 8 minutes to open. +2. **Hold: 60 minutes at 5 million.** Every connection stayed open for the full hour. +3. **Deliver: 20 million deliveries a second.** At peak, 4 messages a second each reached all 5 million connections. + +The ramp-up time is worked out from the connection rate: 5 million connections at 10,000 a second take 8 minutes 20 seconds. + +### Setup and results + +| Measure | Result | +| --- | --- | +| Peak concurrent connections | 5 million | +| Connection ramp-up | 10,000 new connections per second | +| Time at peak | 60 minutes | +| WebSocket heartbeats | 1.2 billion | +| Message rate at peak | 4 messages per second, each delivered to all 5 million connections | +| Peak delivery rate | 20 million deliveries per second | +| Total deliveries, across the test | 10 billion+ | +| Average response time | 30 ms or less | +| Message loss | Zero | + +### Large-audience fan-out + +```mermaid +flowchart LR + A["Publisher
4 messages per second"] --> B["Fan-out layer
One delivery per recipient"] + B --> R["5 million connected recipients"] +``` + +*At peak: 4 messages per second × 5 million recipients = 20 million deliveries per second.* + +Fan-out is the work of turning one sent message into a delivery for every recipient. Deliveries peaked at 20 million a second and totalled more than 10 billion across the test. + +## Related + +- [Security](https://www.cometchat.com/security) +- [On-Premise Deployment](https://www.cometchat.com/docs/on-premise-deployment/docker/overview) +- [System Status](https://status.cometchat.com/) From 4a15362762c7600f3948cd211b5f0584af53f054 Mon Sep 17 00:00:00 2001 From: amitthacker Date: Tue, 1 Dec 2026 18:50:11 +0530 Subject: [PATCH 2/8] Docs: restore Nisha's wording on Architecture & Benchmark Undo the delivery-label edits from the previous commit so the page matches her file word for word. Co-Authored-By: Claude Opus 5.5 --- fundamentals/architecture-and-benchmark.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx index 385f1520d..441887e27 100644 --- a/fundamentals/architecture-and-benchmark.mdx +++ b/fundamentals/architecture-and-benchmark.mdx @@ -10,7 +10,7 @@ This page explains how the CometChat platform is built to scale, and shares the | November 2026 benchmark | Result | | --- | --- | | Simultaneous connections | 5,000,000, held for 60 minutes with zero message loss | -| Deliveries at peak | 20 million a second | +| Messages delivered at peak | 20 million a second | | Deliveries across the test | 10 billion+ | | P90 response time | 45 ms | | P95 response time | 60 ms | @@ -102,7 +102,7 @@ In November 2026, we ran a full-scale benchmark on the CometChat platform. We op 1. **Ramp up: 10,000 new connections a second.** At that rate, 5 million connections take a little over 8 minutes to open. 2. **Hold: 60 minutes at 5 million.** Every connection stayed open for the full hour. -3. **Deliver: 20 million deliveries a second.** At peak, 4 messages a second each reached all 5 million connections. +3. **Deliver: 20 million deliveries a second.** At peak, 4 messages a second went to all 5 million connections. The ramp-up time is worked out from the connection rate: 5 million connections at 10,000 a second take 8 minutes 20 seconds. @@ -114,9 +114,9 @@ The ramp-up time is worked out from the connection rate: 5 million connections a | Connection ramp-up | 10,000 new connections per second | | Time at peak | 60 minutes | | WebSocket heartbeats | 1.2 billion | -| Message rate at peak | 4 messages per second, each delivered to all 5 million connections | -| Peak delivery rate | 20 million deliveries per second | -| Total deliveries, across the test | 10 billion+ | +| Message rate at peak | 4 messages per second, delivered to all 5 million connections | +| Peak delivery rate | 20 million messages per second | +| Total message deliveries | 10 billion+ | | Average response time | 30 ms or less | | Message loss | Zero | @@ -128,7 +128,7 @@ flowchart LR B --> R["5 million connected recipients"] ``` -*At peak: 4 messages per second × 5 million recipients = 20 million deliveries per second.* +*4 messages per second × 5 million recipients = 20 million deliveries per second.* Fan-out is the work of turning one sent message into a delivery for every recipient. Deliveries peaked at 20 million a second and totalled more than 10 billion across the test. From 3c2499321fc182d6c6411024f418918ae31fa1e1 Mon Sep 17 00:00:00 2001 From: amitthacker Date: Tue, 1 Dec 2026 18:55:16 +0530 Subject: [PATCH 3/8] Docs: use Nisha's drawings on Architecture & Benchmark Replace the two text diagrams with her architecture and fan-out drawings, and add her connections chart under "How the test ran". Each image has a light and a dark version that follows the reader's theme. Co-Authored-By: Claude Opus 5.5 --- fundamentals/architecture-and-benchmark.mdx | 29 ++--- ...ecture-and-benchmark-architecture-dark.svg | 103 ++++++++++++++++++ ...cture-and-benchmark-architecture-light.svg | 103 ++++++++++++++++++ ...rchitecture-and-benchmark-fan-out-dark.svg | 55 ++++++++++ ...chitecture-and-benchmark-fan-out-light.svg | 55 ++++++++++ ...rchitecture-and-benchmark-ramp-up-dark.svg | 47 ++++++++ ...chitecture-and-benchmark-ramp-up-light.svg | 47 ++++++++ 7 files changed, 417 insertions(+), 22 deletions(-) create mode 100644 images/architecture-and-benchmark-architecture-dark.svg create mode 100644 images/architecture-and-benchmark-architecture-light.svg create mode 100644 images/architecture-and-benchmark-fan-out-dark.svg create mode 100644 images/architecture-and-benchmark-fan-out-light.svg create mode 100644 images/architecture-and-benchmark-ramp-up-dark.svg create mode 100644 images/architecture-and-benchmark-ramp-up-light.svg diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx index 441887e27..864c97bef 100644 --- a/fundamentals/architecture-and-benchmark.mdx +++ b/fundamentals/architecture-and-benchmark.mdx @@ -20,23 +20,8 @@ This page explains how the CometChat platform is built to scale, and shares the CometChat is built the way large enterprise platforms are built: in tiers that each do one job and scale on their own. That is how the platform holds millions of open connections while messages keep moving. The platform runs as redundant microservices: if one instance goes down, another picks up its work, so the service keeps running. -```mermaid -flowchart LR - U["Your users
5,000,000 open connections"] - E["Global edge
4,000 points of presence"] - subgraph P["CometChat platform: each tier scales independently"] - C["Connection tier
10,000 new connections a second"] - M["Messaging tier
P95 response time 60 ms"] - F["Fan-out tier
20 million deliveries a second at peak"] - D["Data tier
Distributed storage and caching"] - end - U -->|1 Connect| E - E -->|2 Hold| C - C -->|3 Process| M - M -->|4 Fan out| F - M <--> D - F -->|5 Deliver| U -``` +CometChat platform architecture at 5 million connections: users connect through the global edge to the connection, messaging, fan-out and data tiers, and deliveries go back to every recipient. +CometChat platform architecture at 5 million connections: users connect through the global edge to the connection, messaging, fan-out and data tiers, and deliveries go back to every recipient. *Conceptual view of the platform at 5 million connections. Figures are from the November 2026 benchmark.* @@ -100,6 +85,9 @@ In November 2026, we ran a full-scale benchmark on the CometChat platform. We op ### How the test ran +Open connections during the test: a ramp-up to 5 million at 10,000 new connections a second, then a 60-minute hold. +Open connections during the test: a ramp-up to 5 million at 10,000 new connections a second, then a 60-minute hold. + 1. **Ramp up: 10,000 new connections a second.** At that rate, 5 million connections take a little over 8 minutes to open. 2. **Hold: 60 minutes at 5 million.** Every connection stayed open for the full hour. 3. **Deliver: 20 million deliveries a second.** At peak, 4 messages a second went to all 5 million connections. @@ -122,11 +110,8 @@ The ramp-up time is worked out from the connection rate: 5 million connections a ### Large-audience fan-out -```mermaid -flowchart LR - A["Publisher
4 messages per second"] --> B["Fan-out layer
One delivery per recipient"] - B --> R["5 million connected recipients"] -``` +A publisher sends 4 messages per second to the fan-out layer, which delivers each one to all 5 million connected recipients. +A publisher sends 4 messages per second to the fan-out layer, which delivers each one to all 5 million connected recipients. *4 messages per second × 5 million recipients = 20 million deliveries per second.* diff --git a/images/architecture-and-benchmark-architecture-dark.svg b/images/architecture-and-benchmark-architecture-dark.svg new file mode 100644 index 000000000..6565dec5c --- /dev/null +++ b/images/architecture-and-benchmark-architecture-dark.svg @@ -0,0 +1,103 @@ + + CometChat platform architecture at 5 million connections + Users connect through a global edge network of 4,000 points of presence to the CometChat platform. Inside the platform, a connection tier, a messaging tier and a fan-out tier each scale out independently, backed by a data tier. Deliveries flow back to every recipient. High availability, encryption and an uptime SLA apply across the platform. + + + + + Your users + Web and mobile apps + + + + 5,000,000 + open connections + + + + Global edge + Traffic protection + Eligible caching + Network delivery + + 4,000 + points of presence + + + + CometChat platform + Each tier scales independently + + Connection tier + Holds every open connection + + scales out + 10,000/sec + new connections accepted + + Messaging tier + Processes and routes every message + + scales out + 60 ms + P95 response time + + Fan-out tier + One delivery for every recipient + + scales out + 20M/sec + messages delivered + + Data tier + Distributed storage and caching + + + Across the platform + + High-availabilitydeployments + + Encrypted in transitand at rest + + 99.999% uptime SLAavailable + + + + + + + + + 12345 + Delivered to every recipient + \ No newline at end of file diff --git a/images/architecture-and-benchmark-architecture-light.svg b/images/architecture-and-benchmark-architecture-light.svg new file mode 100644 index 000000000..3f53c01a3 --- /dev/null +++ b/images/architecture-and-benchmark-architecture-light.svg @@ -0,0 +1,103 @@ + + CometChat platform architecture at 5 million connections + Users connect through a global edge network of 4,000 points of presence to the CometChat platform. Inside the platform, a connection tier, a messaging tier and a fan-out tier each scale out independently, backed by a data tier. Deliveries flow back to every recipient. High availability, encryption and an uptime SLA apply across the platform. + + + + + Your users + Web and mobile apps + + + + 5,000,000 + open connections + + + + Global edge + Traffic protection + Eligible caching + Network delivery + + 4,000 + points of presence + + + + CometChat platform + Each tier scales independently + + Connection tier + Holds every open connection + + scales out + 10,000/sec + new connections accepted + + Messaging tier + Processes and routes every message + + scales out + 60 ms + P95 response time + + Fan-out tier + One delivery for every recipient + + scales out + 20M/sec + messages delivered + + Data tier + Distributed storage and caching + + + Across the platform + + High-availabilitydeployments + + Encrypted in transitand at rest + + 99.999% uptime SLAavailable + + + + + + + + + 12345 + Delivered to every recipient + \ No newline at end of file diff --git a/images/architecture-and-benchmark-fan-out-dark.svg b/images/architecture-and-benchmark-fan-out-dark.svg new file mode 100644 index 000000000..38133574f --- /dev/null +++ b/images/architecture-and-benchmark-fan-out-dark.svg @@ -0,0 +1,55 @@ + + How fan-out turns 4 messages a second into 20 million deliveries a second + A publisher sends 4 messages per second to the fan-out layer, which delivers each one to all 5 million connected recipients. + + + Publisher + 4 messages per second + + + Fan-out layer + One delivery per recipient + + + + + + + + + + + + + 5 million connected recipients + \ No newline at end of file diff --git a/images/architecture-and-benchmark-fan-out-light.svg b/images/architecture-and-benchmark-fan-out-light.svg new file mode 100644 index 000000000..b11f8738e --- /dev/null +++ b/images/architecture-and-benchmark-fan-out-light.svg @@ -0,0 +1,55 @@ + + How fan-out turns 4 messages a second into 20 million deliveries a second + A publisher sends 4 messages per second to the fan-out layer, which delivers each one to all 5 million connected recipients. + + + Publisher + 4 messages per second + + + Fan-out layer + One delivery per recipient + + + + + + + + + + + + + 5 million connected recipients + \ No newline at end of file diff --git a/images/architecture-and-benchmark-ramp-up-dark.svg b/images/architecture-and-benchmark-ramp-up-dark.svg new file mode 100644 index 000000000..23549282e --- /dev/null +++ b/images/architecture-and-benchmark-ramp-up-dark.svg @@ -0,0 +1,47 @@ + + Open connections during the benchmark + Connections climb from zero to 5 million in a little over 8 minutes, at 10,000 new connections a second, then stay at 5 million for 60 minutes. + + + 01M2M3M4M5M + 010203040506070 + Minutes from the start of the test + + + + + Ramp-up + 10,000 new connections a second + Hold: 5 million connections for 60 minutes + + \ No newline at end of file diff --git a/images/architecture-and-benchmark-ramp-up-light.svg b/images/architecture-and-benchmark-ramp-up-light.svg new file mode 100644 index 000000000..c0361cb35 --- /dev/null +++ b/images/architecture-and-benchmark-ramp-up-light.svg @@ -0,0 +1,47 @@ + + Open connections during the benchmark + Connections climb from zero to 5 million in a little over 8 minutes, at 10,000 new connections a second, then stay at 5 million for 60 minutes. + + + 01M2M3M4M5M + 010203040506070 + Minutes from the start of the test + + + + + Ramp-up + 10,000 new connections a second + Hold: 5 million connections for 60 minutes + + \ No newline at end of file From c914bc999d932a9916d133721d5af68ce7ad7f5f Mon Sep 17 00:00:00 2001 From: amitthacker Date: Wed, 2 Dec 2026 14:57:34 +0530 Subject: [PATCH 4/8] Docs: Architecture & Benchmark review nits Average response time reads "30 ms or less" in both tables, and the On-Premise Deployment link is relative so link checks cover it. Co-Authored-By: Claude Opus 5.5 --- fundamentals/architecture-and-benchmark.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx index 864c97bef..1b412c185 100644 --- a/fundamentals/architecture-and-benchmark.mdx +++ b/fundamentals/architecture-and-benchmark.mdx @@ -41,7 +41,7 @@ Messaging response time at 5 million connections, over 60 minutes at peak concur | Measure | Response time | | --- | --- | -| Average | 30 ms | +| Average | 30 ms or less | | P90 | 45 ms | | P95 | 60 ms | | P99 | 110 ms | @@ -120,5 +120,5 @@ Fan-out is the work of turning one sent message into a delivery for every recipi ## Related - [Security](https://www.cometchat.com/security) -- [On-Premise Deployment](https://www.cometchat.com/docs/on-premise-deployment/docker/overview) +- [On-Premise Deployment](/on-premise-deployment/docker/overview) - [System Status](https://status.cometchat.com/) From 73cbcb64c672844ba1e50374d85afa861fe52824 Mon Sep 17 00:00:00 2001 From: amitthacker Date: Wed, 2 Dec 2026 14:59:29 +0530 Subject: [PATCH 5/8] Docs: Architecture & Benchmark says "messages delivered" throughout The 20M a second and 10B+ figures now read as messages delivered in every place, so the wording is consistent across the tables, text and fan-out image. Co-Authored-By: Claude Opus 5.5 --- fundamentals/architecture-and-benchmark.mdx | 12 ++++++------ images/architecture-and-benchmark-fan-out-dark.svg | 2 +- images/architecture-and-benchmark-fan-out-light.svg | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx index 1b412c185..b680decbd 100644 --- a/fundamentals/architecture-and-benchmark.mdx +++ b/fundamentals/architecture-and-benchmark.mdx @@ -11,7 +11,7 @@ This page explains how the CometChat platform is built to scale, and shares the | --- | --- | | Simultaneous connections | 5,000,000, held for 60 minutes with zero message loss | | Messages delivered at peak | 20 million a second | -| Deliveries across the test | 10 billion+ | +| Messages delivered across the test | 10 billion+ | | P90 response time | 45 ms | | P95 response time | 60 ms | | P99 response time | 110 ms | @@ -35,7 +35,7 @@ Across the platform: high-availability deployments, encryption in transit and at ### Benchmark at a glance -**5 million connections, held for 60 minutes.** Five million concurrent WebSocket connections stayed open for 60 minutes. At peak, 4 messages a second each reached all 5 million connections: 20 million deliveries a second. Across the test, deliveries totalled more than 10 billion. +**5 million connections, held for 60 minutes.** Five million concurrent WebSocket connections stayed open for 60 minutes. At peak, 4 messages a second each reached all 5 million connections: 20 million messages delivered a second. Across the test, more than 10 billion messages were delivered. Messaging response time at 5 million connections, over 60 minutes at peak concurrency: @@ -90,7 +90,7 @@ In November 2026, we ran a full-scale benchmark on the CometChat platform. We op 1. **Ramp up: 10,000 new connections a second.** At that rate, 5 million connections take a little over 8 minutes to open. 2. **Hold: 60 minutes at 5 million.** Every connection stayed open for the full hour. -3. **Deliver: 20 million deliveries a second.** At peak, 4 messages a second went to all 5 million connections. +3. **Deliver: 20 million messages delivered a second.** At peak, 4 messages a second went to all 5 million connections. The ramp-up time is worked out from the connection rate: 5 million connections at 10,000 a second take 8 minutes 20 seconds. @@ -104,7 +104,7 @@ The ramp-up time is worked out from the connection rate: 5 million connections a | WebSocket heartbeats | 1.2 billion | | Message rate at peak | 4 messages per second, delivered to all 5 million connections | | Peak delivery rate | 20 million messages per second | -| Total message deliveries | 10 billion+ | +| Messages delivered across the test | 10 billion+ | | Average response time | 30 ms or less | | Message loss | Zero | @@ -113,9 +113,9 @@ The ramp-up time is worked out from the connection rate: 5 million connections a A publisher sends 4 messages per second to the fan-out layer, which delivers each one to all 5 million connected recipients. A publisher sends 4 messages per second to the fan-out layer, which delivers each one to all 5 million connected recipients. -*4 messages per second × 5 million recipients = 20 million deliveries per second.* +*4 messages per second × 5 million recipients = 20 million messages delivered per second.* -Fan-out is the work of turning one sent message into a delivery for every recipient. Deliveries peaked at 20 million a second and totalled more than 10 billion across the test. +Fan-out is the work of turning one sent message into a delivery for every recipient. Delivery peaked at 20 million messages a second, and more than 10 billion messages were delivered across the test. ## Related diff --git a/images/architecture-and-benchmark-fan-out-dark.svg b/images/architecture-and-benchmark-fan-out-dark.svg index 38133574f..7d32d1fae 100644 --- a/images/architecture-and-benchmark-fan-out-dark.svg +++ b/images/architecture-and-benchmark-fan-out-dark.svg @@ -29,7 +29,7 @@ .c-dot{fill:#8e7dff;stroke:#101016;stroke-width:2} .c-note{font:600 12px ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;fill:#ececf2} .c-note-sub{font:400 11px ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;fill:#a2a2b4} - How fan-out turns 4 messages a second into 20 million deliveries a second + How fan-out turns 4 messages a second into 20 million messages delivered a second A publisher sends 4 messages per second to the fan-out layer, which delivers each one to all 5 million connected recipients. diff --git a/images/architecture-and-benchmark-fan-out-light.svg b/images/architecture-and-benchmark-fan-out-light.svg index b11f8738e..7eb59d38d 100644 --- a/images/architecture-and-benchmark-fan-out-light.svg +++ b/images/architecture-and-benchmark-fan-out-light.svg @@ -29,7 +29,7 @@ .c-dot{fill:#6852d6;stroke:#ffffff;stroke-width:2} .c-note{font:600 12px ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;fill:#16161d} .c-note-sub{font:400 11px ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;fill:#5d5d6e} - How fan-out turns 4 messages a second into 20 million deliveries a second + How fan-out turns 4 messages a second into 20 million messages delivered a second A publisher sends 4 messages per second to the fan-out layer, which delivers each one to all 5 million connected recipients. From 5848962638a73d6868fa8272f4a389606680778e Mon Sep 17 00:00:00 2001 From: amitthacker Date: Wed, 2 Dec 2026 16:04:42 +0530 Subject: [PATCH 6/8] Docs: architecture drawing says "Connected users" Ketan's review: "Your users" becomes "Connected users" in the light and dark architecture images. Co-Authored-By: Claude Opus 5.5 --- images/architecture-and-benchmark-architecture-dark.svg | 2 +- images/architecture-and-benchmark-architecture-light.svg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/images/architecture-and-benchmark-architecture-dark.svg b/images/architecture-and-benchmark-architecture-dark.svg index 6565dec5c..e6855fba0 100644 --- a/images/architecture-and-benchmark-architecture-dark.svg +++ b/images/architecture-and-benchmark-architecture-dark.svg @@ -35,7 +35,7 @@ - Your users + Connected users Web and mobile apps diff --git a/images/architecture-and-benchmark-architecture-light.svg b/images/architecture-and-benchmark-architecture-light.svg index 3f53c01a3..f01d0ffe8 100644 --- a/images/architecture-and-benchmark-architecture-light.svg +++ b/images/architecture-and-benchmark-architecture-light.svg @@ -35,7 +35,7 @@ - Your users + Connected users Web and mobile apps From f314d3733e81fce48c3ab92ede1b39dad6e4bde0 Mon Sep 17 00:00:00 2001 From: amitthacker Date: Wed, 2 Dec 2026 16:49:13 +0530 Subject: [PATCH 7/8] Docs: Architecture & Benchmark says HIPAA + BAA and names the managed cloud Ketan's review: HIPAA matches the overview page's "HIPAA + BAA", and the benchmark section says the test ran on CometChat's managed cloud, not on-prem. Co-Authored-By: Claude Opus 5.5 --- fundamentals/architecture-and-benchmark.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx index b680decbd..a0c5897ef 100644 --- a/fundamentals/architecture-and-benchmark.mdx +++ b/fundamentals/architecture-and-benchmark.mdx @@ -75,13 +75,13 @@ Each logged-in client keeps a persistent WebSocket connection to a gateway in th | Area | What you get | | --- | --- | | Uptime | A signed 99.999% uptime SLA is available as an add-on. | -| Compliance | ISO 27001:2022 and SOC 2 Type 2. Also GDPR, HIPAA, CCPA/CPRA and PIPEDA. Data is encrypted in transit and at rest. | +| Compliance | ISO 27001:2022 and SOC 2 Type 2. Also GDPR, HIPAA + BAA, CCPA/CPRA and PIPEDA. Data is encrypted in transit and at rest. | | Deployment | Run on CometChat's managed cloud, a dedicated deployment, or your own infrastructure. | | Transparency | [status.cometchat.com](https://status.cometchat.com/) shows live status and 90-day uptime for each component. | ## Benchmark -In November 2026, we ran a full-scale benchmark on the CometChat platform. We opened 5 million concurrent WebSocket connections, held all of them for a full hour, and measured how quickly messages were handled and delivered at that load. +In November 2026, we ran a full-scale benchmark on CometChat's managed cloud. We opened 5 million concurrent WebSocket connections, held all of them for a full hour, and measured how quickly messages were handled and delivered at that load. ### How the test ran From 17445779bbd6012cc6044adf611e4ac266a29b1b Mon Sep 17 00:00:00 2001 From: amitthacker Date: Wed, 2 Dec 2026 21:19:15 +0530 Subject: [PATCH 8/8] Docs: trim Related links to System Status Removes Security and On-Premise Deployment from the Related links on the Architecture and Benchmark page, as Nisha Sharma asked in the pull request. The ramp-up chart already in this pull request stays as it is. Co-Authored-By: Claude Opus 5.5 --- fundamentals/architecture-and-benchmark.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx index a0c5897ef..894bae630 100644 --- a/fundamentals/architecture-and-benchmark.mdx +++ b/fundamentals/architecture-and-benchmark.mdx @@ -119,6 +119,4 @@ Fan-out is the work of turning one sent message into a delivery for every recipi ## Related -- [Security](https://www.cometchat.com/security) -- [On-Premise Deployment](/on-premise-deployment/docker/overview) - [System Status](https://status.cometchat.com/)