No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
spec
src
.gitignore
Guardfile
LICENSE
README.md
lock.cr
shard.yml

README.md

appmonit-db

This shard will contain the code used for the internal storage layer for Appmonit. This is pre Alpha stage, not used in production yet, expect lots of things to change.

Installation

Add this to your application's shard.yml:

dependencies:
  appmonit-db:
    github: appmonit/appmonit-db

Usage

require "appmonit-db"

File conventions

  • Collection: /some-dir/collection-name
  • Shard: /some-dir/collection-name/[start-epoch]-[end-epoch]
  • ADB File: /some-dir/collection-name/[start-epoch]-[end-epoch]/[level]-[sequence].adb
  • WAL Files: /some-dir/collection-name/_0000000000[sequence].wal

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/appmonit/appmonit-db/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • benoist Benoist Claassen - creator, maintainer