Le 8/7/13 5:34 PM, Hunter McMillen a écrit : > We actually won't need anything as complex as LDAP, just a simple DB > hash + salt lookup. It was just to expose a typical use with MINA.
In your case, if you are using a remote DB, just keep in mind that the roundtrip on a standard RDBMS is 10ms. The hash computation itself can be expensive, too (no numbr here). If you have thousands of user to authentifie per second and across a full day, then you may want to minimise the time spent holding the thread, while it's processing the authn. -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com