{"push_id":1837312044,"size":4,"distinct_size":4,"ref":"refs/heads/v5-unstable","head":"40e37f864e24bd50890d58717d7ab95739a99324","before":"ef91d81f77996f58c4ef5004f32e932be6c1e250","commits":[{"sha":"a742a3981123e99067584787d300d89c95dd9466","author":{"name":"Roger Peppe","email":"1fc2218fc28b8262889f07d240ee50ae4754500f@gmail.com"},"message":"internal/blobstore: implement garbage collection\n\nAfter some experimentation, it seems that holding\nall the hashes in memory is a reasonable approach.\nCurrently there are ~45000 blobs in the store, giving\na projected memory usage of ~2.5MB for a GC.\nThis implementation should scale reasonably up\nto 1 million blobs (20x current usage) and to 10 million\nwith minor changes. Beyond that, we may need to\nuse a different algorithm, but that should be OK\nto do without changing the database.","distinct":true,"url":"https://api.github.com/repos/juju/charmstore/commits/a742a3981123e99067584787d300d89c95dd9466"},{"sha":"a9b22df5223d4649ca9f9e36a8c5468fb609925f","author":{"name":"Roger Peppe","email":"1fc2218fc28b8262889f07d240ee50ae4754500f@gmail.com"},"message":"internal/charmstore: run GC in worker\n\nThis runs the blobstore GC periodically.","distinct":true,"url":"https://api.github.com/repos/juju/charmstore/commits/a9b22df5223d4649ca9f9e36a8c5468fb609925f"},{"sha":"387df9a04c3679e117c06fb0ff57f61ecd61102c","author":{"name":"Roger Peppe","email":"1fc2218fc28b8262889f07d240ee50ae4754500f@gmail.com"},"message":"internal/charmstore: add monitoring for GC duration\n\nAlso slightly generalise the API provided by internal/monitoring\nfor durations.","distinct":true,"url":"https://api.github.com/repos/juju/charmstore/commits/387df9a04c3679e117c06fb0ff57f61ecd61102c"},{"sha":"40e37f864e24bd50890d58717d7ab95739a99324","author":{"name":"jujugui","email":"397ffa4e988977148cf767fd637b427787d6d927@canonical.com"},"message":"Merge pull request #757 from rogpeppe/252-blobstore-gc\n\ninternal/blobstore: implement garbage collection\n\nAfter some experimentation, it seems that holding\r\nall the hashes in memory is a reasonable approach.\r\nCurrently there are ~45000 blobs in the store, giving\r\na projected memory usage of ~2.5MB for a GC.\r\nThis implementation should scale reasonably up\r\nto 1 million blobs (20x current usage) and to 10 million\r\nwith minor changes. Beyond that, we may need to\r\nuse a different algorithm, but that should be OK\r\nto do without changing the database.","distinct":true,"url":"https://api.github.com/repos/juju/charmstore/commits/40e37f864e24bd50890d58717d7ab95739a99324"}]}
{"actor":{"display_login":"jujugui"}}