|
-
May 25th, 2010, 01:34 PM
#1
Creating new AppDomains...how many is too many???
Hi,
I need to create seperate AppDomains to dynamically load assemblies.
But...how many AppDomains is too many?
Is it ok to create 100? Is 1000 too many???
I am trying to work out what the overhead would be if my client app created 100 new AppDomains, one for each dynamic assembly.
Cheers,
Wojka
-
May 26th, 2010, 06:17 AM
#2
Frenzied Member
Re: Creating new AppDomains...how many is too many???
hey,
i try to google it but there is no luck, if you got answer i will be happy for sharing it...
You Don't Have to Rate Me.
I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter : @avrail
010011000111010101110110001000000100110101111001001000000101000001100011 
-
May 26th, 2010, 02:03 PM
#3
Re: Creating new AppDomains...how many is too many???
For a 24/7 running service mining data of a pharmacy-system, sending it to the "head quarter" I ran into a bug in the .Net framework where, on some systems the service had a memoryleak. Doing the sending (with WCF) in a separate appdomain for each message. This means the services create about 3.000 appdomains per day, giving a overhead of 30 seconds processortime per day.
According to this link from MSDN running a lot at the same time time isn't gonna be a problem
-
May 27th, 2010, 07:45 AM
#4
Frenzied Member
Re: Creating new AppDomains...how many is too many???
need to be tested, i think
You Don't Have to Rate Me.
I'm Not a Civilized Man I'm the Civilization it self
White or Black, Living or Dieing and 0 or 1 that's MY life
iam an Object in Object Oriented Life
my blog : http://refateid.blogspot.com/
twitter : @avrail
010011000111010101110110001000000100110101111001001000000101000001100011 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|