Nginx configuration for imap
robm at fastmail.fm
Thu Mar 18 01:35:24 EDT 2010
> 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.
More information about the Info-cyrus