Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More on worker process
Message
De
16/04/2011 13:31:27
 
 
À
16/04/2011 02:55:10
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:
01507595
Vues:
37
>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?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform