Skip to content

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

Open
nisha-cometchat wants to merge 20 commits into
mainfrom
docs/architecture-and-benchmark
Open

nisha-cometchat wants to merge 20 commits into
mainfrom
docs/architecture-and-benchmark

Conversation

@nisha-cometchat

@nisha-cometchat nisha-cometchat commented Dec 4, 2026 •

Copy link
Copy Markdown

Adds Architecture & Benchmark under Chat & Messaging > Platform for the November 2026 production US-region test on CometChat managed cloud with an Enterprise configuration.

The article separates three operations: publishing, logical persistence, and delivery to individual recipients. Measurement scope specifies five million simulated JavaScript Chat SDK users in one group, one connection per user, variable 1–5 KB text payloads, four published messages per user per second, all-member fan-out including the sender, and a 60-minute hold after ramp-up.

The final editorial pass consolidates repeated workload descriptions and result tables. One calculation table derives publishing, storage, and recipient-delivery rates and totals from the supplied workload. A separate results table gives sender-to-recipient latency, test message loss, and heartbeats. Architecture and fan-out illustrations show the message flow without repeating benchmark numbers; the ramp chart retains its useful connection and time axes. Light/dark diagrams use matching text.

Provenance and review finding

The setup, workload, storage behavior, and latency definition reflect requester confirmations. The workload-derived totals are explicitly presented as calculations: 72 billion published messages, 72 billion logical stored messages, and 360 quadrillion recipient deliveries. This editorial pass does not independently validate the source measurements.

The all-users fan-out workload implies 20 million received messages per second per simulated end user, approximately 20–100 GB/s of text payload per end user at 1–5 KB. Source SDK receive counters and network telemetry should substantiate completed delivery performance, alongside publish/store counters and latency traces.

Measurement scope also states the requester-supplied bounded client-side retention behavior: clients release payloads after recording receipt and latency to control memory usage.

Validation

  • MDX compilation and git diff --check pass.
  • All six SVGs parse; light/dark pairs have identical text.
  • Updated architecture and fan-out diagrams rendered and inspected.
  • Arithmetic and checks for stale terminology and repeated totals pass.
  • Targeted Mintlify link and anchor check passes (with the existing docs.json OpenAPI warning).

Replaces #649, preserving the original work and authorship. Original page content by Nisha Sharma, originally raised by @amitthacker-maker.

AmitAtomChat and others added 8 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>
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>
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>
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>
@mintlify

mintlify Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

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

Project Status Preview Updated
cometchat 🟢 Ready View Preview Dec 5, 2026, 2:27 PM

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

raj-dubey1
raj-dubey1 previously approved these changes Dec 4, 2026

@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.

Approved at Nisha Sharma's request on Slack. This approval was given on request; no code review was done for it.

This branch was successfully deployed

1 active deployment
staging — 08f0d584 Deployed Dec 5, 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