jackallabs / canine-provider Goto Github PK
View Code? Open in Web Editor NEWJackal Labs implementation of a Jackal Storage Provider
License: MIT License
Jackal Labs implementation of a Jackal Storage Provider
License: MIT License
Providers are not removing files from the disk that they lose to downtime. #52 attempts to address this, which seems inefficient but works right now to mitigate the issue.
Currently, providers' RAM usage is way too high. Some providers are reporting their daemons are being OOM'ed which is forcing us to apply to temporary fix of auto-restart services. Although auto-restart is nice to have, it should not be required to keep your provider online.
encoding/json
for easyjson
which has already been shown to improve performance on smaller machines.Going forward we need to diagnose the underlying issue & watch the provider status as the network scales, there is a good chance there is a memory leak somewhere, but finding it has not been easy.
Currently, prooving a file depends on one thread. Other actions of the provider such as claiming strays have their own threads, but that still leaves us with the possibility to speed up the proof system on multi-core machines to really utilize all their available power.
Our first attempt at this, #25, now outdated and I don't believe that it is worth getting into the weeds of multi-threading our provider's proof system until there is 100% stability on a single thread.
Bidirectionally reliant on JackalLabs/canine-chain#365
For the Jackal Protocol v4 upgrade, the logic surrounding uploading files & posting proofs has changed enormously. Thus making existing storage providers incompatible with the chain. Just before the upgrade takes place, all providers will need to run a migration script to ensure that once the upgrade passes, all file deals will still be intact. During the chain upgrade, all providers will need to upgrade to v2 to continue posting proofs and accepting deals to/from the chain.
For new providers interested in starting fresh after the upgrade, another lighter-weight binary is being tested that will be compatible with the v4 upgrade immediately: https://github.com/JackalLabs/sequoia
Provider hash a ton of stuff. Every proof is made up of tons of hashes, we save these hashed values to disk to save compute time but that eats away at storage space, something very valuable to the Jackal Protocol.
We would need two binaries, or maybe a CLI flag if possible to handle systems without a very powerful GPU to accelerate the system.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.