vaultik/internal
sneak c3725e745e Optimize scan phase: in-memory change detection and batched DB writes
Performance improvements:
- Load all known files from DB into memory at startup
- Check file changes against in-memory map (no per-file DB queries)
- Batch database writes in groups of 1000 files per transaction
- Scan phase now only counts regular files, not directories

This should improve scan speed from ~600 files/sec to potentially
10,000+ files/sec by eliminating per-file database round trips.
2025-12-19 12:08:47 +07:00
..
blob Integrate afero filesystem abstraction library 2025-07-26 15:33:18 +02:00
blobgen Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
chunker Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
cli Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
config Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
crypto Refactor: Move Vaultik struct and methods to internal/vaultik package 2025-07-26 14:47:26 +02:00
database Refactor: Move Vaultik struct and methods to internal/vaultik package 2025-07-26 14:47:26 +02:00
globals Add godoc documentation to exported types and methods 2025-12-18 18:51:52 -08:00
log Add godoc documentation to exported types and methods 2025-12-18 18:51:52 -08:00
models Implement local SQLite index database with repositories 2025-07-20 10:26:15 +02:00
pidlock Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
s3 Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
snapshot Optimize scan phase: in-memory change detection and batched DB writes 2025-12-19 12:08:47 +07:00
storage Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
vaultik Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00