View Issue Details

IDProjectCategoryView StatusLast Update
0002153GNUnetutil librarypublic2012-11-05 17:34
ReporterLRN Assigned ToChristian Grothoff Due Date
PrioritylowSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002153: Modify partial metadata serialization to drop large items first
DescriptionWe need to modify metadata serializer to be able to discard largest entries first when doing partial serialization.
This can be done easily by sorting metadata items by size and start the serialization from the smallest items. Once it gets
to an item that doesn't fit, it means that further items won't fit as well. Although that means that each item will have to be (possibly) compressed in advance to sort them correctly (some large items might become very small when compressed).
Right now serializer fills the buffer until it's so full that no new items will fit in. Which means that it might waste the buffer space on a few large items (if they are encountered early on), rather than a lot of small items (which is what we would like).
TagsNo tags attached.

Activities

Christian Grothoff

2012-06-13 18:29

manager   ~0006068

Fixed in 21981.

Issue History

Date ModifiedUsernameFieldChange
2012-02-20 12:48LRNNew Issue
2012-02-21 20:49Christian GrothoffPrioritylow => normal
2012-02-21 20:49Christian GrothoffStatusnew => confirmed
2012-02-21 20:49Christian GrothoffTarget Version => 0.9.3
2012-03-09 21:30Christian GrothoffTarget Version0.9.3 => 0.9.4
2012-05-02 23:16Christian GrothoffAssigned To => Christian Grothoff
2012-05-02 23:16Christian GrothoffStatusconfirmed => assigned
2012-05-28 13:12Christian GrothoffPrioritynormal => low
2012-05-28 13:12Christian GrothoffProduct Version => Git master
2012-06-13 18:29Christian GrothoffNote Added: 0006068
2012-06-13 18:29Christian GrothoffStatusassigned => resolved
2012-06-13 18:29Christian GrothoffFixed in Version => 0.9.4
2012-06-13 18:29Christian GrothoffResolutionopen => fixed
2012-11-05 17:34Christian GrothoffStatusresolved => closed