vacp2p / research

Thinking in code
MIT License
62 stars 4 forks source link

Research discv5 Blocker: Accurate estimations on network #28

Closed decanus closed 3 years ago

decanus commented 4 years ago

Problem

Currently there are now estimations on the network, we do not know how many people we expect to participate in the DHT, what the distribution of these nodes is etc.

Acceptance Criteria

We have these estimations which will be able to provide us with more accurate numbers that we can evaluate discv5 with.

oskarth commented 4 years ago

I think we can get pretty far with back of the envelope calculations. E.g. let's say we want to support a million users, and we expect 1 or 10% to run core infrastructure with adaptive nodes. That would mean 10k nodes. That should satisfy the acceptance criteria for now.

It is also important, and should be fairly straightforward to, test multiple orders of magnitude here, at least theoretically. E.g. with an analysis such as: image

For a simulation we will probably have to restrict ourselves to toy models for now. If there's a specific need for large scale realistic network studies we can isolate that in a specific issue, and there's probably a lot of overlap with Eth2/IPFS etc studies.

The network estimate largely breaks down into two components:

Of course, this can be extended with latency/uptime assumptions etc, but that seems out of scope of this issue.