Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
1969
|
Version |
tigase-server-7.0.0
|
Spent time |
33h
|
Issue Votes (0)
Watchers (0)
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
1969
|
Version |
tigase-server-7.0.0
|
Spent time |
33h
|
After the server restart (all nodes) I noticed that there are no online buddies on tigase.im nodes but they show OK on sure.im nodes. I thought that this is a problem with skip-offline feature but after a long time online buddies showed on all cluster nodes. A screeshot from Tigase Monitors shows a very long processing time in presence plugin.
This is something to investigate soon. As about 12secs processing time for presence will kill our service.
The most likely cause of the long presence processing time is the fact that either the client sends presence before loading roster or send roster get and initial presence at about the same time. As a result roster is loaded within presence plugin pool thread slowing down processing of all presences. We need some way to avoid loading roster within presence thread, or if this is not possible we need to create a separate thread pool for initial presences which may trigger roster loading from DB.
I assign this to Wojciech but anybody is welcome to throw ideas here.
Andrzej: you worked on presences processing some time ago so maybe you have some suggestions.