maidsafe-archive / MaidSafe

This is the super-project in which each MaidSafe library resides. Some information is common to all libraries, and is detailed here. Library-specific information can be found in each library's wiki.
Other
583 stars 102 forks source link

Size of lifestuff drive undecided #60

Closed Dan-Schmidt closed 11 years ago

Dan-Schmidt commented 12 years ago

The lifestuff drive reports a size of 1GB.

muecs commented 12 years ago

As of yesterday, RemoteChunkStore::Capacity properly reports the total space in the user's account, i.e. the size of all their vaults.

Dan-Schmidt commented 12 years ago

Excellent, so we can use that for the maximum size. How often can we query this? What should we use for the used size?

muecs commented 12 years ago

Size and Capacity can be queried as often as you want, as the values are cached. The AccountStatusManager retrieves account snapshots every 10 to 180 seconds and interpolates between them.

The size only relates to the total size of all default chunks stored, not the actual file sizes (compression etc.), so ideally we would use the scaling factor between total chunk size and total file size (from Drive's stats) to estimate the total file capacity via the total chunk capacity.

Fraser999 commented 11 years ago

Migrated to https://github.com/maidsafe/MaidSafe-Drive/issues/8