3 ms·
how can you even know if a connection is metered from within a browser?! thats crazy talk rigth there. there are so many variations that all happen completely
by gcb0 9y ago
how can you even know if a connection is metered from within a browser?!
thats crazy talk rigth there. there are so many variations that all happen completely outside of the browser domain and/or the connection destination.
- technopriest 9y agovia the Network Information API. https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API https://developer.mozilla.org/en-US/docs/Web/API/Network_Inf... Connections start metered and are then upgraded when an unmetered connection is successfully detected.
- jloveless 9y agoAside from the connection API - What we do it we have a mapping of ASNs that are flagged as metered. When your client comes online we take the IP, map to the ASN and determine if it is able to upload (e.g. on cellular/metered etc). We buy this data today and you can always drop an email to meter_notice@edgemesh.com with your IP and we will add it in. We also prioritize upload partners for known ASNs (e.g. you're more likely to be chosen for upload if you are on Verizon Business than Verizon Fios than Telstra).
- gcb0 9y agothat's noble. really. but by far deterministic.
- technopriest 9y agoYes, I've seen the phrase "seeding to random peers" pop up a few times. Peer selection is actually extremely smart and is by no means "random".