View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003725 | GNUnet | datastore service | public | 2015-03-23 23:46 | 2017-03-19 22:40 |
Reporter | amatus | Assigned To | amatus | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Product Version | Git master | ||||
Summary | 0003725: Push quota logic into datastore plugins. | ||||
Description | I 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. | ||||
Tags | No tags attached. | ||||
|
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. |
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 |