Re: performance in storing big Object in httpSession


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Re: performance in storing big Object in httpSession

  1. #1
    kevin Guest

    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

  2. #2
    Markn Guest

    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



  3. #3
    Paul Clapham Guest

    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




  4. #4
    MarkN Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center