Skip to content

Docs: add Architecture & Benchmark under Chat & Messaging > Platform - #649

Open
amitthacker-maker wants to merge 8 commits into
cometchat:mainfrom
amitthacker-maker:docs/architecture-and-benchmark
Open

amitthacker-maker wants to merge 8 commits into
cometchat:mainfrom
amitthacker-maker:docs/architecture-and-benchmark

Conversation

@amitthacker-maker

@amitthacker-maker amitthacker-maker commented Dec 1, 2026 •

Copy link
Copy Markdown

Adds a new page, Architecture & Benchmark, at fundamentals/architecture-and-benchmark.mdx, and lists it in Chat & Messaging > Platform after Network Allowlist.

The page explains how the platform is built to scale and shares the November 2026 benchmark results: 5 million concurrent connections held for 60 minutes, 20 million deliveries a second at peak, and 10 billion+ deliveries across the test. Content written by Nisha Sharma.

The page has three static SVG drawings (architecture, connections during the test, fan-out), each with a light and a dark version in images/, swapped with dark:hidden / dark:block.

🤖 Generated with Claude Code

AmitAtomChat and others added 2 commits December 1, 2026 18:48
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

✅ Preview approved

@ketanyekale approved a Mintlify preview for commit 1744577.

AmitAtomChat and others added 3 commits December 1, 2026 18:55
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
cometchat 🟢 Ready View Preview Dec 3, 2026, 9:20 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

AmitAtomChat and others added 2 commits December 2, 2026 16:04
Ketan's review: "Your users" becomes "Connected users" in the light and
dark architecture images.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 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 <noreply@anthropic.com>
@nisha-cometchat

Copy link
Copy Markdown

Two updates from today's review of this page that aren't in the PR yet:

  1. Ramp-up chart (light and dark SVGs): the axis now runs 0 to 65, the ramp-up ends at minute 5, and the line holds at 5 million through minute 65, with a "Still 5 million at minute 65" label.
  2. Related links: Security and On-Premise Deployment are removed, leaving System Status.

Nothing else changes, so the wording edits already made in this PR stay as they are.

I don't have push access to this branch, so here is a patch. It applies cleanly on f314d37. Save it as pr-649-update.patch in the repo root, then run:

git apply --unidiff-zero pr-649-update.patch
pr-649-update.patch
diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx
index a0c5897..894bae6 100644
--- a/fundamentals/architecture-and-benchmark.mdx
+++ b/fundamentals/architecture-and-benchmark.mdx
@@ -122,2 +121,0 @@ Fan-out is the work of turning one sent message into a delivery for every recipi
-- [Security](https://www.cometchat.com/security)
-- [On-Premise Deployment](/on-premise-deployment/docker/overview)
diff --git a/images/architecture-and-benchmark-ramp-up-dark.svg b/images/architecture-and-benchmark-ramp-up-dark.svg
index 2354928..87b8ffd 100644
--- a/images/architecture-and-benchmark-ramp-up-dark.svg
+++ b/images/architecture-and-benchmark-ramp-up-dark.svg
@@ -33 +33 @@
-        <desc id="ramp-desc">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.</desc>
+        <desc id="ramp-desc">Connections climb from zero to 5 million during the ramp-up, then stay at 5 million for 60 minutes, until minute 65.</desc>
@@ -37 +37 @@
-        <text x="64.0" y="258" text-anchor="middle" class="c-tick">0</text><text x="154.9" y="258" text-anchor="middle" class="c-tick">10</text><text x="245.7" y="258" text-anchor="middle" class="c-tick">20</text><text x="336.6" y="258" text-anchor="middle" class="c-tick">30</text><text x="427.4" y="258" text-anchor="middle" class="c-tick">40</text><text x="518.3" y="258" text-anchor="middle" class="c-tick">50</text><text x="609.1" y="258" text-anchor="middle" class="c-tick">60</text><text x="700.0" y="258" text-anchor="middle" class="c-tick">70</text>
+        <text x="64.0" y="258" text-anchor="middle" class="c-tick">0</text><text x="112.9" y="258" text-anchor="middle" class="c-tick">5</text><text x="161.8" y="258" text-anchor="middle" class="c-tick">10</text><text x="259.7" y="258" text-anchor="middle" class="c-tick">20</text><text x="357.5" y="258" text-anchor="middle" class="c-tick">30</text><text x="455.4" y="258" text-anchor="middle" class="c-tick">40</text><text x="553.2" y="258" text-anchor="middle" class="c-tick">50</text><text x="651.1" y="258" text-anchor="middle" class="c-tick">60</text><text x="700.0" y="258" text-anchor="middle" class="c-tick">65</text>
@@ -39,7 +39,8 @@
-        <polygon points="64.0,240.0 139.7,40.0 684.9,40.0 684.9,240.0" class="c-area"/>
-        <line x1="139.7" y1="40.0" x2="139.7" y2="240.0" class="c-guide"/>
-        <polyline points="64.0,240.0 139.7,40.0 684.9,40.0" class="c-line"/>
-        <circle cx="684.9" cy="40.0" r="4.5" class="c-dot"/>
-        <text x="149.7" y="74" class="c-note">Ramp-up</text>
-        <text x="149.7" y="90" class="c-note-sub">10,000 new connections a second</text>
-        <text x="412.3" y="28" text-anchor="middle" class="c-note">Hold: 5 million connections for 60 minutes</text>
+        <polygon points="64.0,240.0 112.9,40.0 700.0,40.0 700.0,240.0" class="c-area"/>
+        <line x1="112.9" y1="40.0" x2="112.9" y2="240.0" class="c-guide"/>
+        <polyline points="64.0,240.0 112.9,40.0 700.0,40.0" class="c-line"/>
+        <circle cx="700.0" cy="40.0" r="4.5" class="c-dot"/>
+        <text x="122.9" y="74" class="c-note">Ramp-up</text>
+        <text x="122.9" y="90" class="c-note-sub">10,000 new connections a second</text>
+        <text x="406.4" y="28" text-anchor="middle" class="c-note">Hold: 5 million connections for 60 minutes</text>
+        <text x="690.0" y="62" text-anchor="end" class="c-note">Still 5 million at minute 65</text>
diff --git a/images/architecture-and-benchmark-ramp-up-light.svg b/images/architecture-and-benchmark-ramp-up-light.svg
index c0361cb..f1fcdc1 100644
--- a/images/architecture-and-benchmark-ramp-up-light.svg
+++ b/images/architecture-and-benchmark-ramp-up-light.svg
@@ -33 +33 @@
-        <desc id="ramp-desc">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.</desc>
+        <desc id="ramp-desc">Connections climb from zero to 5 million during the ramp-up, then stay at 5 million for 60 minutes, until minute 65.</desc>
@@ -37 +37 @@
-        <text x="64.0" y="258" text-anchor="middle" class="c-tick">0</text><text x="154.9" y="258" text-anchor="middle" class="c-tick">10</text><text x="245.7" y="258" text-anchor="middle" class="c-tick">20</text><text x="336.6" y="258" text-anchor="middle" class="c-tick">30</text><text x="427.4" y="258" text-anchor="middle" class="c-tick">40</text><text x="518.3" y="258" text-anchor="middle" class="c-tick">50</text><text x="609.1" y="258" text-anchor="middle" class="c-tick">60</text><text x="700.0" y="258" text-anchor="middle" class="c-tick">70</text>
+        <text x="64.0" y="258" text-anchor="middle" class="c-tick">0</text><text x="112.9" y="258" text-anchor="middle" class="c-tick">5</text><text x="161.8" y="258" text-anchor="middle" class="c-tick">10</text><text x="259.7" y="258" text-anchor="middle" class="c-tick">20</text><text x="357.5" y="258" text-anchor="middle" class="c-tick">30</text><text x="455.4" y="258" text-anchor="middle" class="c-tick">40</text><text x="553.2" y="258" text-anchor="middle" class="c-tick">50</text><text x="651.1" y="258" text-anchor="middle" class="c-tick">60</text><text x="700.0" y="258" text-anchor="middle" class="c-tick">65</text>
@@ -39,7 +39,8 @@
-        <polygon points="64.0,240.0 139.7,40.0 684.9,40.0 684.9,240.0" class="c-area"/>
-        <line x1="139.7" y1="40.0" x2="139.7" y2="240.0" class="c-guide"/>
-        <polyline points="64.0,240.0 139.7,40.0 684.9,40.0" class="c-line"/>
-        <circle cx="684.9" cy="40.0" r="4.5" class="c-dot"/>
-        <text x="149.7" y="74" class="c-note">Ramp-up</text>
-        <text x="149.7" y="90" class="c-note-sub">10,000 new connections a second</text>
-        <text x="412.3" y="28" text-anchor="middle" class="c-note">Hold: 5 million connections for 60 minutes</text>
+        <polygon points="64.0,240.0 112.9,40.0 700.0,40.0 700.0,240.0" class="c-area"/>
+        <line x1="112.9" y1="40.0" x2="112.9" y2="240.0" class="c-guide"/>
+        <polyline points="64.0,240.0 112.9,40.0 700.0,40.0" class="c-line"/>
+        <circle cx="700.0" cy="40.0" r="4.5" class="c-dot"/>
+        <text x="122.9" y="74" class="c-note">Ramp-up</text>
+        <text x="122.9" y="90" class="c-note-sub">10,000 new connections a second</text>
+        <text x="406.4" y="28" text-anchor="middle" class="c-note">Hold: 5 million connections for 60 minutes</text>
+        <text x="690.0" y="62" text-anchor="end" class="c-note">Still 5 million at minute 65</text>

@nisha-cometchat

Copy link
Copy Markdown

Follow-up to my comment above: please skip the chart change in that patch.

The chart already in this PR is the right one. Its ramp-up ends at 8 minutes 20 seconds, which matches 10,000 new connections a second and the page text. The version I sent ended the ramp-up at minute 5, which doesn't.

Only the Related links change is needed: remove Security and On-Premise Deployment, leaving System Status. Here is a patch with just that, which applies cleanly on f314d37:

git apply --unidiff-zero pr-649-update.patch
pr-649-update.patch (links only)
diff --git a/fundamentals/architecture-and-benchmark.mdx b/fundamentals/architecture-and-benchmark.mdx
index a0c5897..894bae6 100644
--- a/fundamentals/architecture-and-benchmark.mdx
+++ b/fundamentals/architecture-and-benchmark.mdx
@@ -122,2 +121,0 @@ Fan-out is the work of turning one sent message into a delivery for every recipi
-- [Security](https://www.cometchat.com/security)
-- [On-Premise Deployment](/on-premise-deployment/docker/overview)

If the earlier patch is already applied locally, git checkout -- images/ drops the chart changes and keeps the links change.

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 <noreply@anthropic.com>

@ketanyekale ketanyekale left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the page, the nav entry and the six SVGs.

Structurally it's fine: the nav entry resolves, the page adds no broken links, the light and dark SVGs contain no scripts or external references, and the latest commit (1744577) matches the links-only patch from the review thread. The numbers agree with each other: 5 million connections at 10,000 a second is 8 min 20 s of ramp-up, and 10 billion+ deliveries fits a 20 million/s peak that isn't held for the whole hour.

Not blocking, for the content owner:

  1. The benchmark and compliance statements (5 million connections, 4,000 PoPs, 99.999% SLA, HIPAA + BAA, ISO 27001:2022, SOC 2 Type 2) are public commitments that I haven't verified. Please confirm they are cleared to publish as worded.
  2. The same headline figures appear four times (the opening table, "Benchmark at a glance", "Setup and results" and the fan-out caption). Consider keeping the opening table and "Setup and results" and trimming the rest.

The Mintlify preview for 1744577 is approved and building.

@raj-dubey1 raj-dubey1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve on the docs side. Reviewed head 17445779bb. The benchmark figures are the content owner's to clear; see the first item below.

Docs mechanics are clean:

  • The nav entry resolves.
  • mint broken-links --check-anchors on the page exits 0.
  • All six SVGs are well-formed XML with no scripts, event handlers or external references, and each light/dark pair carries the same text.
  • The drawings agree with the page: 5,000,000 connections, 4 msg/s fan-out, and a 10,000/s ramp ending at about 8 min 20 s followed by a 60-minute hold.
  • The last commit matches Nisha's links-only patch.

What I could trace to a published source:

  • 99.999% uptime SLA as an add-on: pricing.md lines 31 and 343.
  • ISO 27001 and SOC 2: pricing.md 351-352; fundamentals/overview.mdx:63 says "SOC 2 Type II".
  • GDPR, CCPA and PIPEDA: pricing.md 353-355.
  • Encryption at rest (AES-256): pricing.md 359.
  • Dedicated and on-prem deployment: pricing.md 341-342.
  • status.cometchat.com shows 90-day uptime per component.

Introduced by this PR (non-blocking)

  1. The benchmark numbers and the "4,000 PoPs" figure have no source I could find. This covers 5M connections for 60 min, 20M deliveries/s, 10B+ total, P90/P95/P99 of 45/60/110 ms, 1.2B heartbeats, zero loss, 4,000 PoPs, and the "durable event log" design. None of it is in the docs or the pricing page. The arithmetic is internally consistent. Because these are public performance commitments, please confirm on this PR that they are cleared to publish as worded, and say where the benchmark report lives so the page can be maintained.
  2. :78 HIPAA + BAA needs its plan scope. pricing.md:356 lists "HIPAA w/ BAA" for Advanced and Enterprise only (No on Build and Basic). The SLA on the line above is already qualified as an add-on, so suggest: "HIPAA + BAA (Advanced and Enterprise plans)".
  3. :38 / :118: "10 billion+" invites the multiplication. 20M/s held for the full hour would be about 72B. Saying how long the 4 msg/s peak ran (about 8-9 minutes at that rate) heads off the "these numbers don't add up" reaction.
  4. Nit: the headline figures appear four times. I agree with keeping the opening table and "Setup and results".

"ISO 27001:2022" and "CPRA" don't appear on the pricing page. Both are consistent with it: the 2013→2022 ISO transition closed on 31 Oct 2025, and CPRA amends CCPA. Worth a one-line confirmation from whoever owns compliance wording.

@nisha-cometchat

Copy link
Copy Markdown

This work has moved to #662, which is raised from a branch in this repository instead of a fork.

#662 points at the same commit (1744577), so the eight commits, their authorship and the files are identical to this PR. Please continue reviews there.

This branch was successfully deployed

1 active deployment
staging — 17445779 Deployed Dec 4, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants