about summary refs log tree commit homepage
path: root/Documentation
diff options
authorEric Wong <e@80x24.org>2014-04-15 02:38:07 +0000
committerEric Wong <e@80x24.org>2014-04-15 02:38:07 +0000
commit7182847eba14dabed5489900ec2f64b1ebf8ff0d (patch)
treeb3ecc2fb814c12f2a761c5ba541a2e0330aa124e /Documentation
parent337070335cfec83561aa8254aaed1994f99e4c06 (diff)
Fortunately, most mailing lists will never grow too large.
Diffstat (limited to 'Documentation')
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/design_notes.txt b/Documentation/design_notes.txt
index f81a616f..286f35c0 100644
--- a/Documentation/design_notes.txt
+++ b/Documentation/design_notes.txt
@@ -128,6 +128,20 @@ Web notes
 * Raw text endpoint allows users to write client-side JS endpoints
   without hosting the data themselves (or on a different server).
+Scalability notes
+Even with shallow clone, storing the history of large/busy mailing lists
+may place much burden on subscribers and servers.  However, having a
+single (or few) refs representing the entire history of a list is good
+for small lists since it's easier to lookup a message by Message-ID, so
+we want to avoid splitting refs with independent histories.
+ssoma will likely grow its own builtin ref rotation system based on
+message count (not rotating at fixed time intervals).  This would
+split the histories and require O(n) lookup time based on Message-ID,
+where `n' is the number of history splits.
 Copyright 2013, Eric Wong <normalperson@yhbt.net> and all contributors.