From: Alistair Y. <ali...@sm...> - 2006-07-19 19:02:51
|
The load balancing will be handy - never got round to that. Why not do an LDAP bean or something and stick ones for each server in the context, wit= h maybe an LDAPManager or something to decide which beans can be used for authentication, based on round robin-ing and past performance? authenticate() can then get a reliable bean from the manager and delegate authentication to it. If you'd like me to help out just shout. About time I did some more work on it. I think it's been in there for a couple of years without modification. One thing that definitely needs tidied up is the group matching (staff or student) - I think it's very uhi-centric at the moment! --=20 Alistair Young Senior Software Engineer UHI@Sabhal M=F2r Ostaig Isle of Skye Scotland > Peter Crowther wrote: >>> From: Jon Maber >>> if you resolve a host name it doesn't take any longer >>> to get all the IP numbers - a single response packet lists >>> them all. (In >>> fact a suspect that the same call is made and that the Java >>> method that fetches one IP number just discards the others.) >>> >> >> Memory says you're right, and that a DNS client RFC-SHOULD contact the >> addresses in order - so the call that returns a single address should >> return the first one. However, I'm doing this from memory without the >> spec in front of me. >> >> >>> I don't think that the >>> Leeds DNS is clever enough to change the order of the IP >>> numbers so I've >>> implemented a cycle in the authenticator that balances the load. >>> >> >> Makes sense. I assume you also refuse to contact failed servers for a >> period after detecting the failure? >> > I haven't done that bit yet. That might be an eleventh hour activity..= .. > > > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |