Re: Abysmal performance of Scripting.Dictionary object on 2003 server
From: Michael D. Kersey (mdkersey_at_hal-pc.org)
Date: 05/28/04
- Next message: Slim: "Return 2 dimention array from com"
- Previous message: Suresh Ponraj: "How to pass the Multiline text value in Request String"
- In reply to: Rodd Snook: "Re: Abysmal performance of Scripting.Dictionary object on 2003 server"
- Next in thread: Rodd Snook: "Re: Abysmal performance of Scripting.Dictionary object on 2003 server"
- Reply: Rodd Snook: "Re: Abysmal performance of Scripting.Dictionary object on 2003 server"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 28 May 2004 00:20:47 -0500
Rodd Snook wrote:
> On Tue, 25 May 2004 09:13:33 -0500, Michael D. Kersey wrote:
<snipped>
>>BTW why use the Scripting.Dictionary object when you have Session and
>>Application variables available?
>
> What Ken said. Plus, I have a good many of them organised in hierarchies
> -- i.e. the values in some of the dictionary objects are other dictionary
> objects. To answer his original question, I probably have two objects with
> about 50 key/value pairs, but the values of each of these are themselves
> dictionary objects with about 5-10 key/value pairs. Before you say "Lord!
> That's an obscene amount.", I know it, and a lot of it could be cached at
> the application level (in some other kind of data structure, or maybe even
> as HTML), but the point is that the code performed acceptably on Win2k.
So a total of ~500-1000 items: not many, although we know nothing of
their content and, if they're built up and then discarded with each
page, that's a lot of overhead.
Are these dictionary objects running at low, medium(pooled) or high
(Isolated) protection level or running remotely?
Are they saved in the Session or Application objects or to files or a
database between page executions, or are they created and rebuilt with
each page execution?
>
> At the moment my preferred solution (apart from moving to another hosting
> provider who has Win2k) is to rewrite the whole thing in .NET, or maybe
> ASP/JScript or PHP (there, I said it!). Something with native support for
> sparse, associative arrays and regular expressions.
That would be Perl ( http://www.ActiveState.com/ ).
- Next message: Slim: "Return 2 dimention array from com"
- Previous message: Suresh Ponraj: "How to pass the Multiline text value in Request String"
- In reply to: Rodd Snook: "Re: Abysmal performance of Scripting.Dictionary object on 2003 server"
- Next in thread: Rodd Snook: "Re: Abysmal performance of Scripting.Dictionary object on 2003 server"
- Reply: Rodd Snook: "Re: Abysmal performance of Scripting.Dictionary object on 2003 server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|