This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/doc/FRAGMENTS.md
Bruno Windels d90411a6dd adjust SortKey to have fragmentKey instead of gapKey
with FragmentIndex to compare fragment keys
2019-05-01 14:47:39 +02:00

16 lines
602 B
Markdown

- DONE: write FragmentIndex
- adapt SortKey ... naming! :
- FragmentIndex (index as in db index)
- compare(fragmentKeyA, fragmentKeyB)
- SortKey
- FragmentKey
- EventKey (we don't use id here because we already have event_id in the event)
- write fragmentStore
- adapt timelineStore
- adapt persister
- persist fragments in /sync
- load n items before and after key
- fill gaps / fragment filling
- add live fragment id optimization if we haven't done so already
- lets try to not have to have the fragmentindex in memory if the timeline isn't loaded