borgbackup / borgbackup/borgstore

write-back cache

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
25
Forks
8
Avg merge
16m
Merged PRs (30d)
8

Description

After the initial implementation of #166 in #168 got some testing, we could also add a write-back cache.

For tools like borgbackup, doing an async write-back cache could speed up backups a lot:

A ``Store.store`` operation would return after cache has been updated, but would not wait until slower primary backend got updated.

But that also comes with some complexity:
- guess we'll need some sort of ``sync`` or write barriers to keep primary backend updates in correct order (users usually will want to have data items written before reference to them from metadata items)
- multi-threading or async
- potential errors with the primary backend will happen async

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.