Hi,
> I am unable to reproduce this in testing, but it's not necessarily a bad
> thing, since I refactored my whole application after profiling with yourkit,
> and it's running smoother than ever now (no more memory leaks, and memory
> footprint is tiny now). However, I would be of the opinion that it would be
> useful to be able to "re-sync" the associated Seti users (by some exposed
> method you can call manually, or by some other means) when they are clearly
> out of sync. This is something I've noticed from time to time in the past
> during normal usage (admittedly in my older, memory leaking version of my
> application, that would cause some STW operations), and might come in handy.
I'm not sure about the Seti re-sync. If there is a bug so that users
go out of sync, then I'd prefer to chase that down.
Also, there always is the possibility of a race between an external
re-sync and a normal presence message, so that the re-sync may
actually cause an out-of-sync.
> Also, one other quick question about Seti... Are there any plans in the
> works to possibly associate more than just a string user id with Seti, like
> you can with the session? Would be a useful feature to have a simple user
> object associated with a key in Seti (a DB user id), like you can with
> sessions, and obviously can accomplish with OortStringMap etc, but would be
> available across comets without having to maintain our own distributed
> maps/lists/sets/whatever of connected users... Just a thought.
Not sure here either. There would be restrictions to be applied to the
objects you can store (they must be JSON serializable), and perhaps at
that point using OortStringMap rather than Seti is similar.
Feel free to raise an issue, and would be great if you have a more
detailed use case, perhaps one that shows that there is a missing
functionality between Seti and OortObject: you can do that
functionality with both, but it's too much work with either. If you
are in that spot, we may consider adding a new functionality (e.g. an
extended Seti) to CometD.