Re: multiGroupChecker code redundant?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33296
interpreted = N
texte = Can I assume there will be some CPU/Ram/speed improvement then (and without sacrificing any functionality), if I make a custom version of that multiGroupChecker code by replacing the works with just this: (linebreaks added for readability)[!]---START proposed Custom MulitGroupChecker---[/!] [search db=dir/customGroups.db &wsgroupdatarq=[groupIDpassedIn] &eqhandledatarq=[URL][username][/URL] &eqPassdatarq=[url][password][/url]] &group1field=handle &negroup1datarq=[blank] &group2field=Pass &negroup2datarq=[blank]][showif [numFound]=0] [authenticate Security Check] [/showif] [/search] [!]---END proposed Custom MulitGroupChecker---[/!]I want to get performance savings where I can since we fully expect the number of records in this customGroups.db grow into the hundreds of thousands (plus this db will be busy doing other things as well), while up to 1,000 unique users a day are logging in and out...Or is the simpler search together with the 2 lookups likely to be faster under heavy load?-JohnWebDNA Support wrote:> >the multiGroupChecker code seems to only really need the 3rd section: > > > >right? ... > > No, the first two sections are also to catch empty username/passwords > sent from the browser (which is always the case before authentication > has occurred). In a [search] context, any search parameter that is > blank is treated as don't care, and will be skipped. > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: multiGroupChecker code redundant? (John Butler 2000)
  2. Re: multiGroupChecker code redundant? (WebDNA Support 2000)
  3. multiGroupChecker code redundant? (John Butler 2000)
Can I assume there will be some CPU/Ram/speed improvement then (and without sacrificing any functionality), if I make a custom version of that multiGroupChecker code by replacing the works with just this: (linebreaks added for readability)[!]---START proposed Custom MulitGroupChecker---[/!] [search db=dir/customGroups.db &wsgroupdatarq=[groupIDpassedIn] &eqhandledatarq=[url][username][/URL] &eqPassdatarq=[url][password][/url]] &group1field=handle &negroup1datarq=[blank] &group2field=Pass &negroup2datarq=[blank]][showif [numFound]=0] [authenticate Security Check] [/showif] [/search] [!]---END proposed Custom MulitGroupChecker---[/!]I want to get performance savings where I can since we fully expect the number of records in this customGroups.db grow into the hundreds of thousands (plus this db will be busy doing other things as well), while up to 1,000 unique users a day are logging in and out...Or is the simpler search together with the 2 lookups likely to be faster under heavy load?-JohnWebDNA Support wrote:> >the multiGroupChecker code seems to only really need the 3rd section: > > > >right? ... > > No, the first two sections are also to catch empty username/passwords > sent from the browser (which is always the case before authentication > has occurred). In a [search] context, any search parameter that is > blank is treated as don't care, and will be skipped. > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Butler

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

javascript newPopwin and webcat (1998) Duplicate Carts (2006) emailer don't work (1998) Separate server for jpg/gif files (1998) executing via commandline (2003) searchable list archive (1997) problems with 2 tags shakur (1997) [WebDNA] WebDNA staging server (2008) Need relative path explanation (1997) international time (1997) E-mail loop ! (1997) [writefile] (1997) Authenticating users without dialog box (1997) AutoCommit Preference? (1998) HELP!!! (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) $Append for Users outside the ADMIN group (1997) Revisit: speed test (2002) [OT] Search Engine Tips (2003) Feedback Please (2003)