View Issue Details

IDProjectCategoryView StatusLast Update
0003725GNUnetdatastore servicepublic2017-03-19 22:40
Reporteramatus Assigned Toamatus  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product VersionGit master 
Summary0003725: Push quota logic into datastore plugins.
DescriptionI think we should push quota logic down into the datastore plugins. That way each plugin can implement a quota system that makes sense for the specifics of the backend. This would get rid of the duc callback and the estimate_size api function and replace them with api functions for handling reserve requests. This would also get rid of the silly GNUNET_DATASTORE_ENTRY_OVERHEAD, or at least make it more accurate. Please discuss.
TagsNo tags attached.

Activities

Christian Grothoff

2015-03-26 19:09

manager   ~0009052

I don't have specifically strong feelings about this either way. I agree with you that such a change may avoid some "inaccuracies" and won't do terrible things to the API either, but OTOH the advantage doesn't seem so strong that I'd think it had to be done. The current solution was chosen to avoid having each plugin deal with the quota, and it seemed "good enough". But the reasoning was really to just keep the plugins simpler/smaller (many plugins, one service), and that obviously comes at a cost here. So if someone wants to improve the logic to make quotas more precise, I would have no problems with that.

Issue History

Date Modified Username Field Change
2015-03-23 23:46 amatus New Issue
2015-03-26 19:09 Christian Grothoff Note Added: 0009052
2015-04-18 13:22 Christian Grothoff Status new => acknowledged
2017-03-19 22:40 amatus Assigned To => amatus
2017-03-19 22:40 amatus Status acknowledged => assigned