-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce number of GetSize query to database #32
Comments
PR #17
|
We have an issue with the bloom filter when running more than one IPFS node connected to the same Storj datastore. When a new file is uploaded to one of the IPFS nodes then its bloom filter is updated with the new content, but the bloom filter of the rest of the nodes is not updated. So when a Get request comes to one of the other IPFS nodes, the request first hits its not-yet-updated bloom filter, and it returns "not found" for the content that has just been uploaded.. |
New solution for CockroachDB: #45 |
It seems we also need to either disable or update the Arc cache. Others are also trying to disable it: ipfs/kubo#6586 |
Patch to disable the ARC cache: #46 |
Patch for properly decoding the CID before adding it to the bloom filter: #48 |
The IPFS node is bombarded with
GetSize
requests from the IPFS network. These calls come from the IPFS discovery process when someone is looking for a specific IPFS hash.We could reduce the pressure on the DB by enabling the bloom filter feature of IPFS. This can be done by setting the
BloomFilterSize
config to a positive value.The text was updated successfully, but these errors were encountered: