Joystream / joystream

Joystream Monorepo
http://www.joystream.org
GNU General Public License v3.0
1.42k stars 115 forks source link

colossus data object id cache refactor #5066

Open mnaamani opened 7 months ago

mnaamani commented 7 months ago

Some notes:

https://github.com/Joystream/joystream/pull/5026/files#diff-3b4764082ce211c8cca89a87bbbdf94a419f57bf37ba226617e223927cda1fefR8

kdembler commented 7 months ago

We currently keep a counter for "processes" accessing a given object so we don't delete anything that's being downloaded. The idea is that we can delegate this to the OS and get rid of custom logic in Colossus