Software /
code /
prosody-modules
Diff
mod_storage_xmlarchive/README.markdown @ 3434:a6722a35f35e
mod_storage_xmlarchive: Expand description in README
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 06 Jan 2019 10:27:16 +0100 |
parent | 2855:7713cd4fff8f |
child | 3451:7b97abf26612 |
line wrap: on
line diff
--- a/mod_storage_xmlarchive/README.markdown Sun Jan 06 10:26:32 2019 +0100 +++ b/mod_storage_xmlarchive/README.markdown Sun Jan 06 10:27:16 2019 +0100 @@ -10,7 +10,12 @@ ============ This module implements stanza archives using files, similar to the -default "internal" storage. +default "internal" storage. Unlike "internal", it saves messages in two +files per day (and per user), one containing metadata and one containing +the actual messages in XML format (hence the name). + +Splitting data per day improves performance for larger archives as it +does not have to look through data from other days. Configuration ============= @@ -87,3 +92,8 @@ Each archive ID is of the form `YYYY-MM-DD-random`, making lookups by archive id just as simple as time based queries. + +## Limitations + +- Only XML stanzas can be stored. +- The deletion method only supports removing entire days at a time.