docs.waku.org/assets/js/570575fa.f846bf19.js

1 line
11 KiB
JavaScript
Raw Normal View History

2025-08-13 03:52:48 +00:00
"use strict";(self.webpackChunkwaku_guide=self.webpackChunkwaku_guide||[]).push([[2157],{28453:(e,s,n)=>{n.d(s,{R:()=>a,x:()=>d});var r=n(96540);const t={},i=r.createContext(t);function a(e){const s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),r.createElement(i.Provider,{value:s},e.children)}},35018:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>o,contentTitle:()=>d,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"research/benchmarks/test-results-summary","title":"Performance Benchmarks and Test Reports","description":"Introduction","source":"@site/docs/research/benchmarks/test-results-summary.md","sourceDirName":"research/benchmarks","slug":"/research/benchmarks/test-results-summary","permalink":"/research/benchmarks/test-results-summary","draft":false,"unlisted":false,"editUrl":"https://github.com/waku-org/docs.waku.org/tree/develop/docs/research/benchmarks/test-results-summary.md","tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{"title":"Performance Benchmarks and Test Reports"},"sidebar":"research","previous":{"title":"PostgreSQL","permalink":"/research/benchmarks/postgres-adoption"},"next":{"title":"Capped Bandwidth in Waku","permalink":"/research/research-and-studies/capped-bandwidth"}}');var t=n(74848),i=n(28453);const a={title:"Performance Benchmarks and Test Reports"},d=void 0,o={},l=[{value:"Introduction",id:"introduction",level:2},{value:"TL;DR",id:"tldr",level:2},{value:"Insights",id:"insights",level:2},{value:"Relay Bandwidth Usage: nwaku v0.34.0",id:"relay-bandwidth-usage-nwaku-v0340",level:3},{value:"Message Propagation Latency: nwaku v0.34.0-rc1",id:"message-propagation-latency-nwaku-v0340-rc1",level:3},{value:"Discv5 Bandwidth Usage: nwaku v0.34.0",id:"discv5-bandwidth-usage-nwaku-v0340",level:3},{value:"Testing",id:"testing",level:2},{value:"DST",id:"dst",level:3},{value:"QA",id:"qa",level:3},{value:"nwaku",id:"nwaku",level:3},{value:"Research",id:"research",level:3}];function c(e){const s={a:"a",blockquote:"blockquote",br:"br",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.h2,{id:"introduction",children:"Introduction"}),"\n",(0,t.jsx)(s.p,{children:"This page summarises key performance metrics for nwaku and provides links to detailed test reports."}),"\n",(0,t.jsxs)(s.blockquote,{children:["\n",(0,t.jsx)(s.h2,{id:"tldr",children:"TL;DR"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["Average Waku bandwidth usage: ~",(0,t.jsx)(s.strong,{children:"10 KB/s"})," (minus discv5 Discovery) for 1KB message size and message injection rate of 1msg/s.",(0,t.jsx)(s.br,{}),"\n","Confirmed for topologies of up to 2000 Relay nodes."]}),"\n",(0,t.jsxs)(s.li,{children:["Average time for a message to propagate to 100% of nodes: ",(0,t.jsx)(s.strong,{children:"0.4s"})," for topologies of up to 2000 Relay nodes."]}),"\n",(0,t.jsxs)(s.li,{children:["Average per-node bandwidth usage of the discv5 protocol: ",(0,t.jsx)(s.strong,{children:"8 KB/s"})," for incoming traffic and ",(0,t.jsx)(s.strong,{children:"7.4 KB/s"})," for outgoing traffic,",(0,t.jsx)(s.br,{}),"\n","in a network with 100 continuously online nodes."]}),"\n",(0,t.jsxs)(s.li,{children:["Future improvements: A messaging API is currently in development to streamline interactions with the Waku protocol suite.",(0,t.jsx)(s.br,{}),"\n","Once completed, it will enable benchmarking at the messaging API level, allowing applications to more easily compare their",(0,t.jsx)(s.br,{}),"\n","own performance results."]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(s.h2,{id:"insights",children:"Insights"}),"\n",(0,t.jsx)(s.h3,{id:"relay-bandwidth-usage-nwaku-v0340",children:"Relay Bandwidth Usage: nwaku v0.34.0"}),"\n",(0,t.jsxs)(s.p,{children:["The average per-node ",(0,t.jsx)(s.code,