mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-12 01:33:06 +00:00
1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
|
|
"use strict";(self.webpackChunkwaku_guide=self.webpackChunkwaku_guide||[]).push([[2632],{12219:(e,n,s)=>{s.d(n,{A:()=>i});const i=s.p+"assets/images/connected-peers-50221f227e3d94be5aeae45193cc04ea.png"},12733:(e,n,s)=>{s.d(n,{A:()=>i});const i=s.p+"assets/images/without-rln-8c4f5d9f060feccbadb651f77e9750ca.png"},28453:(e,n,s)=>{s.d(n,{R:()=>a,x:()=>o});var i=s(96540);const t={},r=i.createContext(t);function a(e){const n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:a(e.components),i.createElement(r.Provider,{value:n},e.children)}},32267:(e,n,s)=>{s.d(n,{A:()=>i});const i=s.p+"assets/images/proof-verification-times-c95708ef2a4fc0470114fbceebc6bc30.png"},42048:(e,n,s)=>{s.d(n,{A:()=>i});const i=s.p+"assets/images/proof-generation-times-195632e4864fa4c5f883895f2ea9e9e3.png"},57459:(e,n,s)=>{s.d(n,{A:()=>i});const i=s.p+"assets/images/with-rln-65a7cb7bd5c4469c66ca32316d38e320.png"},87315:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>h,frontMatter:()=>a,metadata:()=>i,toc:()=>l});const i=JSON.parse('{"id":"learn/research/research-and-studies/rln-key-benchmarks","title":"RLN Key Benchmarks","description":"Introduction","source":"@site/docs/learn/research/research-and-studies/rln-key-benchmarks.md","sourceDirName":"learn/research/research-and-studies","slug":"/learn/research/research-and-studies/rln-key-benchmarks","permalink":"/learn/research/research-and-studies/rln-key-benchmarks","draft":false,"unlisted":false,"editUrl":"https://github.com/waku-org/docs.waku.org/tree/develop/docs/learn/research/research-and-studies/rln-key-benchmarks.md","tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{"title":"RLN Key Benchmarks"},"sidebar":"learn","previous":{"title":"Message Propagation Times With Waku-RLN","permalink":"/learn/research/research-and-studies/message-propagation"},"next":{"title":"Comparing Waku and libp2p","permalink":"/learn/waku-vs-libp2p"}}');var t=s(74848),r=s(28453);const a={title:"RLN Key Benchmarks"},o=void 0,c={},l=[{value:"Introduction",id:"introduction",level:2},{value:"TLDR:",id:"tldr",level:2},{value:"Proof generation times",id:"proof-generation-times",level:2},{value:"Proof verification times",id:"proof-verification-times",level:2},{value:"Spam protection",id:"spam-protection",level:2},{value:"RLN tree sync",id:"rln-tree-sync",level:2},{value:"Performance relay vs. rln-relay",id:"performance-relay-vs-rln-relay",level:2}];function d(e){const n={code:"code",h2:"h2",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h2,{id:"introduction",children:"Introduction"}),"\n",(0,t.jsxs)(n.p,{children:["Since RLN has been chosen as the spamming protection mechanism for waku, we must understand the practical implications of using it. This issue explains the main differences between ",(0,t.jsx)(n.code,{children:"relay"})," and ",(0,t.jsx)(n.code,{children:"rln-relay"})," and gives some benchmarks after running simulations using ",(0,t.jsx)(n.code,{children:"waku-simulator"}),", in a network with the following characteristics:"]}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsx)(n.li,{children:"100 nwaku nodes, each one with a valid rln membership and publishing a message every 10 seconds to a common topic."}),"\n",(0,t.jsx)(n.li,{children:"rln contract deployed in Ethereum Sepolia"}),"\n",(0,t.jsx)(n.li,{children:"10.000 memberships registered in the contract"}),"\n",(0,t.jsx)(n.li,{children:"pure relay (store and light protocols disabled)"}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["The main deltas ",(0,t.jsx)(n.code,{children:"rln"})," vs ",(0,t.jsx)(n.code,{children:"rln-relay"})," are:"]}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["New ",(0,t.jsx)(n.code,{children:"proof "})," field in ",(0,t.jsx)(n.code,{children:"WakuMessage"})," containing 384 extra bytes. This field must be generated and attached to each message."]}),"
|