On 09.05.2008, at 19:44, Vlad Seryakov wrote:

> Can you explain me about this global-state, please.
>

Ideally, one would have all stuff that is needed
loaded once. Stuff that is local to thread is
handled locally (procedures, vars that that one
thread creates). OTOH, the whole "knowledge" about
the application is loaded and held once.

Effectively, what I need is a upside-down of the
Tcl model: one interp any many threads.
Don't tell me: go shop Java. This does not compute
(for various unrelated reasons).


> and, do why do you need all separate 1000 threads for every user, is  
> the
> requirement to be connected to all at the same time? just wondering

Yes. 1000's of workstations may be connected all the time
and over a long time. And all of them are pumping data to
the server, mostly. Doing this in a event-loop mode is
possible but not feasible. I must isolate everybody in a
thread because of the potential (complex) state that each
connection may have.




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to