IPFS retrieval of cached content much slower when the node is online vs offline #9367
Open
3 tasks done
Labels
exp/intermediate
Prior experience is likely helpful
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
kind/enhancement
A net-new feature or improvement to an existing feature
P2
Medium: Good to have, but can wait until someone steps up
topic/perf
Performance
Checklist
Installation method
ipfs-update or dist.ipfs.tech
Version
Config
Description
I'm running
ipfs daemon
and am retrieving a file over the localhost gateway. When my internet is turned on, it takes about 60 - 70ms to retrieve this file once it's cached. Simply turning off WiFi on my mac brings that time down to 5 - 25ms.Why is the performance so much worse when the node is connected to the internet? Shouldn't the fact that it's cached mean it should be the same online or offline?
Is there a config option I can set to get the fast speeds even when my node is connected to the internet?
Here's a video demo using chrome: https://youtu.be/7BVuCc3xkLI
Thanks
The text was updated successfully, but these errors were encountered: