Mercurial > prosody-modules
comparison mod_storage_appendmap/README.markdown @ 2061:b84284144e21
mod_storage_appendmap: Experimental storage module optimized for map stores
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 06 Mar 2016 17:03:19 +0100 |
parents | |
children | 88474dd1af48 |
comparison
equal
deleted
inserted
replaced
2060:bd0c5d546bf8 | 2061:b84284144e21 |
---|---|
1 --- | |
2 labels: | |
3 - 'Stage-Alpha' | |
4 - 'Type-Storage' | |
5 summary: Experimental map store optimized for small incremental changes | |
6 ... | |
7 | |
8 This is an experimental storage driver where changed data is appended. | |
9 Data is simply written as `key = value` pairs to the end of the file. | |
10 This allows changes to individual keys to be written without needing to | |
11 write out the entire object again, but reads would grow gradually larger | |
12 as it still needs to read old overwritten keys. This may be suitable for | |
13 eg rosters where individual contacts are changed at a time. In theory, | |
14 this could also allow rolling back changes. | |
15 | |
16 Requires 0.10 |