Skip to content
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

Publish details about ZKAP over-spending. For example, a 1 MiB-month ZKAP may be spent for a 512 KiB file. Reflect this in the metric somehow. Consider breaking this down, also, by size as with the raw numbers. #261

Open
Tracked by #141
exarkun opened this issue Dec 6, 2021 · 2 comments

Comments

@exarkun
Copy link
Collaborator

exarkun commented Dec 6, 2021

No description provided.

@exarkun
Copy link
Collaborator Author

exarkun commented Dec 6, 2021

One thing we could do here is count the number of bytes clients could have uploaded with the ZKAPs they spent but didn't.

Another thing we could do is make this a gauge that counts up for the above reason and down when more storage is allocated by mutable operations in such a way as to cause more ZKAP value to be consumed.

It would be good if the unit on this counter/gauge were storage-time. Maybe that's straightforward? Alternatively, we could forget about this metric entirely and just fix the accounting system so there isn't overspending.

@hacklschorsch
Copy link
Member

@exarkun and me one a videocall right now: This can wait until we have a good idea for a metric to capture this. Preferred way would be to solve overspending altogether instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants