What you need to do is look at the ThinkMovies example. It is an example
of a session-less WOApp. ALL users use the same shared EC. Check it out.
It is written using only DirectActions
d
"Robert J. Stuart" wrote:
>
> Hi,
>
> I'm using WO 4/NT
> I would like to create an app that has a very simple function. It looks at
> a variable passed on the URL, looks for that Key value in a table and
> returns 1 of 2 pages based on the existance of the Key record. I expect
> this app to be hit ~70-100 times/minute 6 hours/day. The table contents
> change ~every 2 minutes. I am looking for comments and insight into what I
> should and should not try.
>
> I was thinking that I should pull the whole table in to memory ~200 entries
> with a timer set every minute. I am confused as to the best thing to do
> with the table after that.
>
> If I put it in the application as a global EditingContext then do I have
> threading problems?
>
> I don't think I want to create sessions but maybe they would help?
>
> Should I use a global EditingContext but turn off threading and use
> multiple single thread instances?
>
> What do people think is the most efficient/Safe way to go?
>
> This is running on a 450Mhz PII with 256MRam there are other WO apps on
> this server but they are very low traffic by comparison. Is this a heavy
> load for such a server or not?
>
> Thanks for any suggestions.
>
> Bob S.
> Lockheed Martin