mailsac / dracula

Count Dracula is a fast, lightweight metrics server that counts entries while automatically expiring old ones
Other
52 stars 3 forks source link

optimized storage #13

Closed johnpatek closed 3 months ago

johnpatek commented 4 months ago

New storage module. Introduces a single dependency to abstract away a lot of the logic handled by store.go and tree.go, the latter of which has been removes. Additional changes have been made to accommodate the new storage implementation and a store_test.go file has been added to verify the correctness of the underlying logic.

This also handles #12, as the module offers persistence in a single file.

johnpatek commented 3 months ago

Closing this PR. Will open with another branch.