Projects tigase _server tigase-pubsub Issues #65
RSM and jabber:search for pubsub discovery (#65)
Closed
wojciech.kapcia@tigase.net opened 8 years ago

In order to improve performance we should allow using RSM/jabber:search while discovering PubSub nodes.

(quite possibly could entail update to stored procedures to streamline data retrieval from database)

Andrzej Wójcik (Tigase) commented 5 years ago

I've added support for RSM in disco#items and it works quite well. It will limit the number of requests to the database to load node configuration. I've not modified stored procedure as there was no point to do so as filtering is partially done in the Java code so prefiltering on the database would not make it faster as the list of nodes is already available in memory.

NOTE: RSM is enabled by default but will return paged results only if disco#items query contains RSM element. It is done intentionally as not all XMPP client libraries support RSM in disco#items, so those which support will get the benefit of this feature while others will work​ just as before.

As for jabber:search there is no standard way to query PubSub nodes (for is not defined for that), so I've skipped this part.

issue 1 of 1
Type
Task
Priority
Normal
Assignee
RedmineID
4817
Version
tigase-server-8.1.0
Spent time
11h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-pubsub#65
Please wait...
Page is in error, reload to recover