<div>On Thu, Mar 18, 2010 at 3:49 AM, ram <span dir="ltr"><<a href="mailto:ram@netcore.co.in">ram@netcore.co.in</a>></span> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Wed, 2010-03-17 at 22:45 -0700, Robert Banz wrote:<br>
><br>
><br>
> memcached would certainly be fast, but what sort of authentication<br>
> rate are you talking about here. My bet is that you've got other bits<br>
> of system, such as the authentication validation with the target IMAP<br>
> server, that will be more of a dominant term when it comes to the<br>
> performance of your system.<br>
><br>
><br>
> I deployed an nginix proxy to assist in my migration to Cyrus (once<br>
> all my users were on Cyrus, murder took over) -- just had it do<br>
> lookups against our LDAP directory to determine which IMAP provider to<br>
> redirect to, it worked perfectly fine.<br>
><br>
><br>
> -rob<br>
><br>
</div>I dont think I am going to be able to connect to LDAP for every<br>
connection. I have atleast 3000 pop and 1000 concurrent imap connections<br>
on the server.<br></blockquote><div><br></div><div>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 ;)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
<br>
One more issue with nginx 0.8.34 is that when auth-fails on the real<br>
server the nginx returns "BAD: internal server error"<br>
The email clients are not able to interpret this error.<br>
<br>
Can I configure nginx to pass on the actual message from my cyrus server<br>
"NO LOGIN failed"<br>
<br>
Thanks<br>
<font color="#888888">ram<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
> On Wed, Mar 17, 2010 at 10:35 PM, Robert Mueller <<a href="mailto:robm@fastmail.fm">robm@fastmail.fm</a>><br>
> wrote:<br>
><br>
> > But I thought a memcache lookup will be much more<br>
> inexpenisve than<br>
> > connecting to a mysql db to do lookup for every cyrus<br>
> connection<br>
><br>
><br>
> Probably slightly. But what happens if the value isn't in<br>
> memcached?<br>
> Where do you get the value from?<br>
><br>
> Anyway, it's still WAY better than doing:<br>
><br>
> > > > $user['user1'] = 10.1.1.1;<br>
> > > > $user['user2'] = 10.1.1.2;<br>
> > > > ----<br>
> > > > $user[user15000]=10.1.1.1;<br>
><br>
><br>
> For every lookup.<br>
><br>
> Rob<br>
><br>
> ----<br>
> Cyrus Home Page: <a href="http://cyrusimap.web.cmu.edu/" target="_blank">http://cyrusimap.web.cmu.edu/</a><br>
> Cyrus Wiki/FAQ: <a href="http://cyrusimap.web.cmu.edu/twiki" target="_blank">http://cyrusimap.web.cmu.edu/twiki</a><br>
> List Archives/Info:<br>
> <a href="http://asg.web.cmu.edu/cyrus/mailing-list.html" target="_blank">http://asg.web.cmu.edu/cyrus/mailing-list.html</a><br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br>