mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Storage increase will be:
1.Build version: take RQ3A.210805.001.A1 as example, it needs 18 bytes in one device, so need 36 bytes in two devices.
2.Incoming or outgoing conection (
4 bytes tech +
4 bytes band +
4 bytes channel +
6 bytes network_operator +
2 bytes country_code +
1 byte tdls +
4 bytes try_counts +
1 byte wifi_ap_status +
4 bytes max_tx_speed +
4 bytes max_rx_speed) = 34 bytes)
So need 34*4 = 136 bytes in two directions initial connections and two directions bandwidth upgrades.
So there are total 172 bytes grows in each share.
(172 bytes in each sharing * 400000 shares/daily * 7 days/week) / GB = about 0.45 GB) (400000 was based on current shares/daily in Prod.)
PiperOrigin-RevId: 390282437