[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] Will sup blow up after adding 10k sources?



Excerpts from Sascha Silbe's message of Tue Jun 29 04:54:22 -0400 2010:

Hi Sascha,

> Wouldn't it be better to (*) use small fixed source ids for
> SentManager/DraftManager and let SourceManager start above a number
> of reserved ids (say: 50)? Is there something in sup that depends on
> the non-special source ids not to have "holes" (or will waste
> resources in that case)?

I agree that this would have been a better choice early on.  Assign
the lowest possible id's to the Sent/Draft sources and then hand out
id's dynmaically from there.

> Another approach would be to make the SentManager/DraftManager
> source ids dynamic and add them to sources.yaml.

I'd have to look, but changing these id's after they've been used will
cause problems requiring a resync, I believe.

I'm sure others that have been more active in this part of the source
lately can provide more info too.

HTH.
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel