Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More on worker process
Message
From
16/04/2011 17:59:23
 
 
To
16/04/2011 13:31:27
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01507537
Message ID:
01507605
Views:
29
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform