dao-xyz / peerbit

P2P database framework with encryption, sharding and search
https://peerbit.org
Apache License 2.0
180 stars 13 forks source link

Possibility to limit bandwidth up/down #325

Open marcus-pousette opened 1 week ago

marcus-pousette commented 1 week ago

In a few applications developers might want to limit upload and download speed, e.g. to make sure some bandwidth is reserved for other apps

Bandwidth is easily limited on the pubsub layer, but it should be easy to customize the @peerbit/document store to take advantage of this

saul-jb commented 1 week ago

It would be great to be able to do this on a per-item level, e.g. the files demo - prioritize syncing of one large file over another.