unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* RFC: monthly epochs for v2
@ 2019-10-24 19:53 Konstantin Ryabitsev
  2019-10-24 20:35 ` Eric Wong
  0 siblings, 1 reply; 10+ messages in thread
From: Konstantin Ryabitsev @ 2019-10-24 19:53 UTC (permalink / raw)
  To: meta

Hi, all:

With public-inbox now providing manifest files, it is easy to 
communicate to mirroring services when an epoch rolls over. What do you 
think if we make these roll-overs month-based instead of size-based. So, 
instead of:

git/
  0.git
  1.git
  2.git

it becomes

git/
  201908.git
  201909.git
  201910.git

Upsides:

- if history needs to be rewritten due to GDPR edits, the impact is 
  limited to just messages in that month's archive
- if someone is only interested in a few months worth of archives, they 
  don't have to clone the entire collection
- similarly, someone using public-inbox to feed messages to their inbox 
  (e.g. using the l2md tool [1]) doesn't need to waste gigabytes storing 
  archives they aren't interested in
- since the numbers are always auto-incrementing, this change can even 
  be done to repos currently using number-based epoch rotation, e.g.:

  git/
    0.git
    1.git
    201910.git
    201911.git

- there shouldn't be severe directory listing penalties with this, as 
  even 20 years worth of archives will only have 240 entries

Thoughts?

-K

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-10-29 22:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-24 19:53 RFC: monthly epochs for v2 Konstantin Ryabitsev
2019-10-24 20:35 ` Eric Wong
2019-10-24 21:21   ` Konstantin Ryabitsev
2019-10-24 22:34     ` Eric Wong
2019-10-25 12:22       ` Eric Wong
2019-10-25 20:56         ` Konstantin Ryabitsev
2019-10-25 22:57           ` Eric Wong
2019-10-29 15:03             ` Eric W. Biederman
2019-10-29 15:55               ` Konstantin Ryabitsev
2019-10-29 22:46                 ` Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).