Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More on worker process
Message
De
16/04/2011 17:59:23
 
 
À
16/04/2011 13:31:27
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01507537
Message ID:
01507605
Vues:
30
>>I see you've discovered that each WP is multi-threaded. The simplest way of avoiding the dictionary rebuild problem might be to put a lock around it.....
>
>There is already a lock. The initial locking mechanism, as discussed a few months ago, also applies to the rebuild situation when needed. The issue is about an already ongoing hit in progress from the same worker process. Thus, that hit might loss some of the application functionality. A workaround I have found is to put a timeout of a few seconds before the reload takes place. So, this should leave enough time for such an already ongoing hit in progress from the same worker process to complete.
>
>Any comment on that approach?

Maybe I'm missing something you've already explained, but what if new hit(s) come in during your timeout period?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform