Am 12.04.2010 00:59 schrieb Steve Schwarz:
> However I'm concerned by the added code/complexity required to support
> clear(). In our usage of the memcached session store users are moved
> between servers based on load. So if the sessions are cleared on one
> appserver what mechanism is used to trigger the other servers to call
> getCounter() and reset their notion of the session counter?

Ok, I see the problem. It happens if you are using more than one Webware 
app server connecting to the same memcache, right? In that case we need 
to fetch the counter every time from memcache (which is currently not 
done) because the other appservers could have updated it, and that would 
be indeed a lot of overhead.

I'll see if I can come up with a solution, but probably I will just 
remove the counter mechanism again.

-- Christoph

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to