Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More on worker process
Message
De
15/04/2011 16:08:33
 
 
À
15/04/2011 15:59:55
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:
01507539
Vues:
44
>I don't know about the simultaneous hits question. But, if the underlying problem is caused by an object or item not existing for a fraction of a second, you may be able to work around that.
>
>At the moment, you have a Data Dictionary object (DD). You could have your rebuild process create a new data dictionary (DDNew). Only when the rebuild is complete, would you set the DD pointer to DDNew, and release the original DD. In effect you'd be setting up a temporary pool of 2 DDs.
>
>BTW your thread title sounds like "Moron worker process" - in English you always have to be careful with the "more on" phrase :)

I have found at this page a note that says that each worker process is multi threaded. So, that would explain the situation I have.

http://www.google.com/#hl=en&sugexp=ldymls&xhr=t&q=iis+worker+process+simultaneous&cp=31&qe=aWlzIHdvcmtlciBwcm9jZXNzIHNpbXVsdGFuZW91cw&qesig=iLsFzcJ_MecBP-PhUtpPyw&pkc=AFgZ2tlVP28RDbOEKtCKvZ4VbPwJZjYjhfzeKhL-0_v5Oo81t8EXisfn5zfDBBEZ_i8fM6VGpo3qt0xmmLw1EH7P3XdERPHGLw&pf=p&sclient=psy&source=hp&aq=f&aqi=&aql=&oq=iis+worker+process+simultaneous&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=1219d79d7d7a617

It is written:

"Remember, the worker process isn't limited to a single task. Both the ASP.NET worker process and the IIS worker process run multiple threads at the same time so that they can server simultaneous requests from different users."

It is not a question of finding how to adjust the architecture. It is just to know the reason for the situation and then I would know where to adjust. I just wanted to be sure that I really needed to do it before starting to change a few things here and there.

Based on that reference, it does seem in fact that the same worker process can handle simultaneous hits. Thus, the situation I have is that, even if I have a locking mechanism at the high level of process to reload the data dictionary, one hit for the same worker process might already be passed that marker. So, while the data dictionary is being reloaded, the other hit in progress might fails on a data request.

Thanks for the reference on "More on". I will take note of that.
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