code wiki / _hdl_build / nx_connect_room_scale_exceed.nx

nx_connect_room_scale_exceed.nx

buildroot/runtime/_hdl_build/nx_connect_room_scale_exceed.nx

5857 B86 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic connect
docsdependenciesstructsconstsfunctions

about

nx_connect_room_scale_exceed.nx -- SUBSTANTIATED scale exceed, grounded in SOVEREIGN-fetched primary sources (nx_connect_research_fetch: RFC 9420 MLS @ knowledge/fetched/conn_rfc9420_mls.raw). VERIFIED FACTS (quoted from the fetched RFC): * MLS supports groups "ranging from two to thousands." * MLS key-update cost "scales as the log of the group size" (TreeKEM, O(log N)). VERIFIED incumbent E2E group-CALL caps (deep-research wf_9c707709): Signal 75, Telegram 200. (Zoom-E2E reaches 1000 but in a feature-crippled MEETINGS mode -- not a messaging app; noted.) GATED elsewhere: our receive bandwidth is O(page) not O(N) (nx_connect_room_scale). THEREFORE the two architectural bottlenecks (keying O(log N) -> thousands; receive O(page)) do NOT force a 75-200 cap; the only real cap is SFU egress bandwidth (a DEPLOYMENT variable). So a sovereign MLS+SVC content-blind room has architectural E2E-scale headroom EXCEEDING the best messaging-app cap (Telegram 200). HONEST CAVEAT: this is an ARCHITECTURAL ceiling (RFC-grounded + gated cost-bounds), NOT a live N>200 deployment. 7 checks incl. neg-control. 100% sovereign. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_connect_room_scale_exceed.n

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap log2_ceil sw sys_write sn sys_mmap ↻ sys_write ↻ tcheck sw ↻ sys_exit

structs

none

consts

16const MLS_MAGIC_9420: i64 = 9420
18const MLS_MAX_GROUP: i64 = 2000 // RFC 9420 "two to thousands" (conservative integer for "thousands")
19const TELEGRAM_CAP: i64 = 200 // best messaging-app E2E group-call cap (verified)
20const SIGNAL_CAP: i64 = 75 // verified
21const ZOOM_E2E_CAP: i64 = 1000 // meetings mode, feature-crippled (noted, not the messaging baseline)

functions

23func sw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: tcheckmain calls 1: sys_write
24func sn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
26func log2_ceil(n: i64) -> i64 { var c: i64=0; var v: i64=1; while v<n { v=v*2; c=c+1 } return c }
called by 1: main
28func tcheck(pass: i64, label: *u8, fails: *i64) -> i64
called by 1: main calls 1: sw
34func main() -> i64