> On Wed, Feb 19, 2003 at 09:06:03AM -0500, Rob Prince wrote:
>> I want to know how to design a system such as this that _is_ scalable,
>> and squirrelmail being a part of it is a must. How would I design a
>> system that is scalable to many thousands of users using SM?
>
> For a start, use a database to store user preferences and address books.
> This is already supported.  Next, provide a replacement config.php that
> reads the SquirrelMail config settings from a database.  That should
> not, in fact, be too hard, since config.php is nothing more than a
> series of $var = 'foo' statements, so you could replace it with a simple
> routine that read settings for a table.  You could either have one lot
> of settings for all machines or have per-host settings.  You could have
> both, come to think of it.
>
>
> --
> Bruce
>
> A problem shared brings the consolation that someone else is now
> feeling as miserable as you.

I'm not sure the change to get the variables currently in config.php from
a database would help. It's a static file which would be cached (probably)
and I would hope that php would convert that faster than looking up things
in a database.  The user specific settings are a different matter and
should be in the database.  They will change with each user but the
config.php information won't.

In a large setup the problem would be the imapd server.  Maintaiing all
the folders, scanning them would probably the main limit.  Some way of
splitting the load based on username might help there.

William R. Mussatto, Senior Systems Engineer
Ph. 909-920-9154 ext. 27
FAX. 909-608-7061




-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to