Andrzej Wójcik (Tigase) opened 9 years ago
|
|
While working on task #1601 I realized that implementation of universal class for such features will create issues as time of map creation may vary and implementation of all cases may not be worth time. I decided not to work on this issue as all features needed by task #1601, I was able to get using simple clustered events and event bus. |
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
3806
|
Version |
tigase-server-8.0.0
|
Estimation |
20h
|
Child Issue
Parent Issue
Issue Votes (0)
Watchers (0)
Right now clustered map implementation created only in same time on every cluster node, which is not always desired. In some cases we would like to create instance of map on other node only when ie. on this node there is instance of user session. However this is now not possible. To allow that we would need to add possibility to set
uid
of map, so that our code could create instance of map of some uid and if it exists on other node then it would be synchronized. Also it would be good to have map synchronization implemented as part of DMap implementation for easier use.