On Thu, Mar 18, 2010 at 3:49 AM, ram <ram@xxxxxxxxxxxxx> wrote:
I dont think I am going to be able to connect to LDAP for every
On Wed, 2010-03-17 at 22:45 -0700, Robert Banz wrote:
>
>
> memcached would certainly be fast, but what sort of authentication
> rate are you talking about here. My bet is that you've got other bits
> of system, such as the authentication validation with the target IMAP
> server, that will be more of a dominant term when it comes to the
> performance of your system.
>
>
> I deployed an nginix proxy to assist in my migration to Cyrus (once
> all my users were on Cyrus, murder took over) -- just had it do
> lookups against our LDAP directory to determine which IMAP provider to
> redirect to, it worked perfectly fine.
>
>
> -rob
>
connection. I have atleast 3000 pop and 1000 concurrent imap connections
on the server.
Um, I think you're confusing concurrent connections with connection rate. You'll only be talking to LDAP for a quick query during session initiation... Your connection numbers aren't really that big ;)
One more issue with nginx 0.8.34 is that when auth-fails on the real
server the nginx returns "BAD: internal server error"
The email clients are not able to interpret this error.
Can I configure nginx to pass on the actual message from my cyrus server
"NO LOGIN failed"
Thanks
ram
> On Wed, Mar 17, 2010 at 10:35 PM, Robert Mueller <robm@xxxxxxxxxxx>
> wrote:
>
> > But I thought a memcache lookup will be much more
> inexpenisve than
> > connecting to a mysql db to do lookup for every cyrus
> connection
>
>
> Probably slightly. But what happens if the value isn't in
> memcached?
> Where do you get the value from?
>
> Anyway, it's still WAY better than doing:
>
> > > > $user['user1'] = 10.1.1.1;
> > > > $user['user2'] = 10.1.1.2;
> > > > ----
> > > > $user[user15000]=10.1.1.1;
>
>
> For every lookup.
>
> Rob
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info:
> http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
>
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html