-
Re: performance in storing big Object in httpSession
"Paul Clapham" <pclapham@core-mark.com> wrote:
>Use the setAttribute method?
>
>"hint to achieve this" <kevinou@hotmail.com> wrote in message
>news:3cca197c$1@10.1.10.29...
>>
>> could you please give me some hint how to do this?
>>
>> Thx a lot
>>
>> kevin
>
>
>
Thx Paul
I thought about this and I didn't actually try it, because I am afraid to
affect the performance. It may probably use up the server source, doesn't
it, if there are 1000 users is holding the session variable which contains
that xml object. And I am not sure what is the implementation of Session
variable behind in java, do they require mapping search? If so then it is
another cost too. And I don't know what is another way to do it.
kevin
-
Re: performance in storing big Object in httpSession
Use JavaSpaces.
"kevin" <kevin@hotmail.com> wrote:
>
>"Paul Clapham" <pclapham@core-mark.com> wrote:
>>Use the setAttribute method?
>>
>>"hint to achieve this" <kevinou@hotmail.com> wrote in message
>>news:3cca197c$1@10.1.10.29...
>>>
>>> could you please give me some hint how to do this?
>>>
>>> Thx a lot
>>>
>>> kevin
>>
>>
>>
>Thx Paul
>I thought about this and I didn't actually try it, because I am afraid to
>affect the performance. It may probably use up the server source, doesn't
>it, if there are 1000 users is holding the session variable which contains
>that xml object. And I am not sure what is the implementation of Session
>variable behind in java, do they require mapping search? If so then it is
>another cost too. And I don't know what is another way to do it.
>
>kevin
-
Re: performance in storing big Object in httpSession
I do not know of any zero-cost solutions for this. In fact there are very
few zero-cost solutions for anything. But I think your cost-benefit
analysis is flawed. You are comparing the cost of doing something with the
cost of not doing it. And of course it doesn't cost anything to do nothing,
so it's hard to beat doing nothing.
PC2
"kevin" <kevin@hotmail.com> wrote in message news:3ccdc833$1@10.1.10.29...
>
> "Paul Clapham" <pclapham@core-mark.com> wrote:
> >Use the setAttribute method?
> >
> >"hint to achieve this" <kevinou@hotmail.com> wrote in message
> >news:3cca197c$1@10.1.10.29...
> >>
> >> could you please give me some hint how to do this?
> >>
> >> Thx a lot
> >>
> >> kevin
> >
> >
> >
> Thx Paul
> I thought about this and I didn't actually try it, because I am afraid to
> affect the performance. It may probably use up the server source, doesn't
> it, if there are 1000 users is holding the session variable which contains
> that xml object. And I am not sure what is the implementation of Session
> variable behind in java, do they require mapping search? If so then it is
> another cost too. And I don't know what is another way to do it.
>
> kevin
-
Re: performance in storing big Object in httpSession
And of course it doesn't cost anything to do nothing,
>so it's hard to beat doing nothing.
Unless one is not doing their taxes. Then it can be very costly! 
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks