Add support for MAM Fastening Collation (#59)
Andrzej Wójcik (Tigase) opened 5 years ago

Add support for XEP-0427: MAM Fastening Collation. This would allow us to reduce number of requests sent to the server to retrieve history from MAM as delivery receipts, etc. would be incorporated in the messages to which they are related instead of being a separate message.

Andrzej Wójcik (Tigase) commented 5 years ago

It should be scheduled for 9.0.0.

Andrzej Wójcik (Tigase) commented 5 years ago

Schema changes were applied to all RDBMS supported by Tigase XMPP Server. However, there is no code for MAM fastening and it is not tested yet.

Andrzej Wójcik (Tigase) commented 5 years ago

Actually, usage of MAMFC (XEP-0427) is a no-go as it does not allow us to have access to all of the aggregated data, only the summary. To solve that (and have benefit from data aggregation and reduction of load and roundtrips I've created modified version of MAMFC (different algorithm of collation) that would improve sync performance for us.

Andrzej Wójcik (Tigase) commented 5 years ago

The current version is "usable", however, it would be far better to improve positioning (finding a position of the message by stable-id in the archive) as it would improve performance, reduce the load on the database and make it more reliable. I'll create a separate task for that.

wojciech.kapcia@tigase.net batch edited 7 months ago
Name Previous Value Current Value
Iterations
empty
Candidate for next major release
issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
Candidate for next major release
Issue Votes (0)
Watchers (2)
Reference
tigase/_server/tigase-message-archiving#59
Please wait...
Page is in error, reload to recover