tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Dane <>
Subject Re: Distributed Session Server
Date Thu, 29 Jun 2000 18:59:53 GMT
>>>>> "James" == James Cook <> writes:

    James> I would be interested in knowing if any list readers have other suggestions
    James> on how to effectively deal with very large numbers of sessions. As you see,

One way of doing it would be to remove the requirement that the entire 
list be scanned atomically.  A reaper thread can move through a
circular list of sessions, removing those which have timed out.  There 
are tricky synchronization issues, however, and the reaper thread
needs to have some sort of "throttle" on it, to keep it from
needlessly rescanning the list.



View raw message