Allmende network tests
How many nodes can the network carry?
Each point is one run of real nodes in one process. The two lines differ in one thing: how many inbound connections the three seed nodes accept. A hollow point means the mesh never formed completely within the wait.
Listings that arrived, in %
Time until every node knew regional peers, in seconds
A listing reaches 95% of its nodes within, in ms
Nodes that never found a single peer
What it costs
Totals for all nodes together, since they share one process. Real nodes each pay only their own share.
Peak memory (heap), in MB
CPU time used by the run, in seconds
Peak goroutines
Traffic sent per node, in KB
One run over time
Shaded bands alternate between the phases of the run: start, mesh formation, listings, messages, reports, then nodes leaving and coming back.
How fast a listing arrives
The share of all expected deliveries that had happened after a given time. A line that stops below 100% shows nodes the listing never reached.
All runs
How these tests ran
Every node is the real thing: a libp2p host, gossipsub, the DHT, a store and its own identity. They run in one Go process on one machine and talk over loopback, so there is no real latency, packet loss or NAT. Three seed nodes are reachable by everyone and follow no region; every other node follows one region, a fifth of them two. Each run publishes 30 listings, sends 20 messages and 3 abuse reports, then takes a tenth of the nodes offline while more listings appear and brings them back. "Listings that arrived" counts every delivery to a node that follows the listing's region.
The seeds' connection limit is how many inbound connections a --public node accepts: 1000 as shipped, and libp2p's own default in the comparison runs (it scales with memory and was about 190 on a 16 GB machine, which is what stranded nodes before it was set). Run scripts/sim-sweep.sh, then node scripts/sim-dashboard.mjs to rebuild this page.