superfly / litefs

FUSE-based file system for replicating SQLite databases across a cluster of machines
Apache License 2.0
3.82k stars 93 forks source link

Expose replication latency via FUSE #253

Closed benbjohnson closed 10 months ago

benbjohnson commented 1 year ago

Similar to the -pos file, it would be useful for applications to be able to track the current latency. We expose latency via the Prometheus metrics so it's just a matter of wiring it up to FUSE.

This was originally spurred by a discussion on HN: https://news.ycombinator.com/item?id=34251743

btoews commented 10 months ago

Should we close this since https://github.com/superfly/litefs/pull/340 merged?