[Product-Developers] Determining the number of logged-in users

Wichert Akkerman wichert at wiggy.net
Tue Jan 27 10:10:22 UTC 2009


Previously Andreas Jung wrote:
> On 26.01.2009 22:34 Uhr, Hedley Roos wrote:
> > I can't come up with a method to make this work when running a few zeo
> > clients. Module level counting is naturally flawed, and writing to a
> > text log also won't work due to the distributed nature.
> > 
> > Is there some way to abuse say Google Analytics for this? Or should I
> > write a small twisted daemon that Zope can connect to? Or could I
> > actually get away with writing to a BTree in the ZODB (gasp)?
> > 
> > I'm leaning toward the twisted daemon at the moment.
> > 
> 
> Google for "Usertrack"

FWIW collective.portlet.usertrack is a more modern implementation of the
same thing.

For ZEO environment I would suggest stuffing the data in memcached.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.




More information about the Product-Developers mailing list