Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Guestimate Processing Time/Act accordingly


Message #1 by "Jerry Diegel" <diegelj@g...> on Tue, 25 Jun 2002 14:38:19 -0500
I am putting together this page that lets the user select a bunch of 
criteria from a search engine then uses this criteria to return results 
from the database.  Based on the current requirements, some of these 
sorts are no problem, some on the other hand can take a while.  I'm 
tossing around the idea of implementing some functionality in a page 
that either looks at the criteria the user selected and tries to 
determine the difficulty of the sort, or looks at the SQL query and 
determines how long that will take.  I figure I have better chance with 
the first one.  Anyway, once the load is determined I want to either run 
the sort live if it's quick, or load it into some kind of queue if its 
long.  Any suggestions on how I could do this effectively?

Thanks,

Jerry

  Return to Index