[Zope] large number of users in standard acl_users ?
David Hassalevris
bluepaul@earthlink.net
Wed, 16 Jul 2003 17:27:00 -0700
I do not think you want 20,000 objects in an acl_users folder.
You should take a look at SimpleUserFolder (allows users to be maintained in
external mediums, like a relational database.
You might be able to modify some of the methods, eg getUserNames and
getUserDetail..
For example you could create a table of "unused userIds and passwords".
If the UserID is not found in the "normal" table that otherwise populates
acl_users,
you can "take a look" at the secondary source. If the unused UserID is
there and the password is valid you
could add it to acl_users then.
David
----- Original Message -----
From: "J Cameron Cooper" <jccooper@jcameroncooper.com>
To: "Zope user list" <zope@zope.org>
Sent: Wednesday, July 16, 2003 4:59 PM
Subject: Re: [Zope] large number of users in standard acl_users ?
> >
> >
> >is it possible to store a large number of users in a standard
> >acl_users folder, provided that very few are connected at the
> >same time ?
> >
> >I'd want to store around 20000 user ids there, all six characters
> >long, plus their password.
> >
> >The online shopping website will have a low traffic, I don't think
> >that more than 10 users will ever be logged in at the same time,
> >probably even less than that, but there are 20000 possible users
> >(max).
> >
> >
> With such a low number of concurrent users, you can probably get away
> with it server-wise, though your users may be subject to high latency.
>
> Better would be a BTreeUserFolder. I can't prove the existence of one at
> the moment, and it's possible that the regular UserFolder already uses
> BTrees, in which case, go nuts. Otherwise, it shouldn't be hard at all
> to make such a thing.
>
> Can anyone provide some good info on this?
>
> --jcc
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )