[thelist] ASP: Threading and apartment model

Raditha Dissanayake jabber at raditha.com
Thu Jan 8 07:44:45 CST 2004


OOPS so sorry i have replied to the wrong message by accident. Please 
accept my humble appologies for the inconvinience caused.


Raditha Dissanayake wrote:

> Hi,
>
> Open source software never dies, it just fades away. Dmitry who has 
> done a lot of hard work on the project has moved away this will be a 
> big blow but that's not the end. In the bigger picture it happens in 
> open source projects all the time. Someone else can just take the 
> source code and continue.
>
> best regards
>
>
>
>
> Joshua Olson wrote:
>
>> ----- Original Message ----- From: "Marcus Andersson" <marcan at home.se>
>> Sent: Thursday, January 08, 2004 7:00 AM
>>
>>
>>  
>>
>>> I want to create a DAO layer (and some other "managing" classes) inside
>>> the web application and put them in Application scope...
>>>   
>>
>>
>>  
>>
>>> The classes are, by the way, written in a thread-safe way.
>>>   
>>
>>
>> Marcus,
>>
>> Regardless of whether or not the classes are thread safe, does using a
>> global instance of a class force serialization of concurrent usages from
>> various threads?  If not, is the system having to make copies of all 
>> objects
>> for each child thread it spins off?  If the copying does happen, that 
>> would
>> seem to be a worse penalty than creating the objects only as 
>> necessary since
>> even unused objects would have to be copied.
>>
>> I've heard numerous "bad things" about using shared object of ASP 
>> classes in
>> the session and application scopes.  What has your experience been?
>>
>> <><><><><><><><><><>
>> Joshua Olson
>> Web Application Engineer
>> WAE Tech Inc.
>> http://www.waetech.com/service_areas/
>> 706.210.0168
>>
>>  
>>
>
>


-- 
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB | with progress bar.




More information about the thelist mailing list