├── .dockerignore ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── CONTRIBUTORS ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── cmd └── olegdb │ ├── dispatcher.go │ ├── main.go │ └── operations.go ├── docs ├── Overview │ ├── 01_What_is_OlegDB.markdown │ ├── 02_Installation.markdown │ ├── 03_Getting_Started.markdown │ ├── 04_Cursor_Iteration.markdown │ ├── 05_Prefix_Matching.markdown │ ├── 06_Meta_Operations.markdown │ └── 07_Bulk_Unjar.markdown └── Technical Internals │ ├── 01_Hash_Table.markdown │ ├── 02_Splay_Trees.markdown │ ├── 03_LZ4_Compression.markdown │ ├── 04_AOL_File.markdown │ └── 05_Values_File.markdown ├── go.mod ├── go.sum ├── include ├── aol.h ├── cursor.h ├── data.h ├── defs.h ├── errhandle.h ├── file.h ├── logging.h ├── lz4.h ├── murmur3.h ├── oleg.h ├── rehash.h ├── stack.h ├── test.h ├── transaction.h ├── tree.h ├── utils.h └── vector.h ├── pkg └── goleg │ ├── goleg_test.go │ ├── highlevel.go │ └── wrapper.go ├── run_tests.sh ├── scripts ├── cursor_test.sh ├── dump_to_json.py ├── fix_the_thing.py ├── large_file.py ├── mem_usage.sh ├── olegdb.init ├── olegdb.service ├── restore_from_json.py └── torture.py ├── share └── olegdb.conf.sample └── src ├── aol.c ├── cursor.c ├── file.c ├── logging.c ├── lz4.c ├── main.c ├── murmur3.c ├── oleg.c ├── rehash.c ├── stack.c ├── test.c ├── transaction.c ├── tree.c ├── utils.c └── vector.c /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONTRIBUTORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/CONTRIBUTORS -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/README.md -------------------------------------------------------------------------------- /cmd/olegdb/dispatcher.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/cmd/olegdb/dispatcher.go -------------------------------------------------------------------------------- /cmd/olegdb/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/cmd/olegdb/main.go -------------------------------------------------------------------------------- /cmd/olegdb/operations.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/cmd/olegdb/operations.go -------------------------------------------------------------------------------- /docs/Overview/01_What_is_OlegDB.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Overview/01_What_is_OlegDB.markdown -------------------------------------------------------------------------------- /docs/Overview/02_Installation.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Overview/02_Installation.markdown -------------------------------------------------------------------------------- /docs/Overview/03_Getting_Started.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Overview/03_Getting_Started.markdown -------------------------------------------------------------------------------- /docs/Overview/04_Cursor_Iteration.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Overview/04_Cursor_Iteration.markdown -------------------------------------------------------------------------------- /docs/Overview/05_Prefix_Matching.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Overview/05_Prefix_Matching.markdown -------------------------------------------------------------------------------- /docs/Overview/06_Meta_Operations.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Overview/06_Meta_Operations.markdown -------------------------------------------------------------------------------- /docs/Overview/07_Bulk_Unjar.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Overview/07_Bulk_Unjar.markdown -------------------------------------------------------------------------------- /docs/Technical Internals/01_Hash_Table.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Technical Internals/01_Hash_Table.markdown -------------------------------------------------------------------------------- /docs/Technical Internals/02_Splay_Trees.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Technical Internals/02_Splay_Trees.markdown -------------------------------------------------------------------------------- /docs/Technical Internals/03_LZ4_Compression.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Technical Internals/03_LZ4_Compression.markdown -------------------------------------------------------------------------------- /docs/Technical Internals/04_AOL_File.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Technical Internals/04_AOL_File.markdown -------------------------------------------------------------------------------- /docs/Technical Internals/05_Values_File.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/docs/Technical Internals/05_Values_File.markdown -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/infoforcefeed/olegdb 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/go.sum -------------------------------------------------------------------------------- /include/aol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/aol.h -------------------------------------------------------------------------------- /include/cursor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/cursor.h -------------------------------------------------------------------------------- /include/data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/data.h -------------------------------------------------------------------------------- /include/defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/defs.h -------------------------------------------------------------------------------- /include/errhandle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/errhandle.h -------------------------------------------------------------------------------- /include/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/file.h -------------------------------------------------------------------------------- /include/logging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/logging.h -------------------------------------------------------------------------------- /include/lz4.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/lz4.h -------------------------------------------------------------------------------- /include/murmur3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/murmur3.h -------------------------------------------------------------------------------- /include/oleg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/oleg.h -------------------------------------------------------------------------------- /include/rehash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/rehash.h -------------------------------------------------------------------------------- /include/stack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/stack.h -------------------------------------------------------------------------------- /include/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/test.h -------------------------------------------------------------------------------- /include/transaction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/transaction.h -------------------------------------------------------------------------------- /include/tree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/tree.h -------------------------------------------------------------------------------- /include/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/utils.h -------------------------------------------------------------------------------- /include/vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/include/vector.h -------------------------------------------------------------------------------- /pkg/goleg/goleg_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/pkg/goleg/goleg_test.go -------------------------------------------------------------------------------- /pkg/goleg/highlevel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/pkg/goleg/highlevel.go -------------------------------------------------------------------------------- /pkg/goleg/wrapper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/pkg/goleg/wrapper.go -------------------------------------------------------------------------------- /run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/run_tests.sh -------------------------------------------------------------------------------- /scripts/cursor_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/cursor_test.sh -------------------------------------------------------------------------------- /scripts/dump_to_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/dump_to_json.py -------------------------------------------------------------------------------- /scripts/fix_the_thing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/fix_the_thing.py -------------------------------------------------------------------------------- /scripts/large_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/large_file.py -------------------------------------------------------------------------------- /scripts/mem_usage.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/mem_usage.sh -------------------------------------------------------------------------------- /scripts/olegdb.init: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/olegdb.init -------------------------------------------------------------------------------- /scripts/olegdb.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/olegdb.service -------------------------------------------------------------------------------- /scripts/restore_from_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/restore_from_json.py -------------------------------------------------------------------------------- /scripts/torture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/scripts/torture.py -------------------------------------------------------------------------------- /share/olegdb.conf.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/share/olegdb.conf.sample -------------------------------------------------------------------------------- /src/aol.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/aol.c -------------------------------------------------------------------------------- /src/cursor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/cursor.c -------------------------------------------------------------------------------- /src/file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/file.c -------------------------------------------------------------------------------- /src/logging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/logging.c -------------------------------------------------------------------------------- /src/lz4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/lz4.c -------------------------------------------------------------------------------- /src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/main.c -------------------------------------------------------------------------------- /src/murmur3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/murmur3.c -------------------------------------------------------------------------------- /src/oleg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/oleg.c -------------------------------------------------------------------------------- /src/rehash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/rehash.c -------------------------------------------------------------------------------- /src/stack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/stack.c -------------------------------------------------------------------------------- /src/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/test.c -------------------------------------------------------------------------------- /src/transaction.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/transaction.c -------------------------------------------------------------------------------- /src/tree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/tree.c -------------------------------------------------------------------------------- /src/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/utils.c -------------------------------------------------------------------------------- /src/vector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/infoforcefeed/OlegDB/HEAD/src/vector.c --------------------------------------------------------------------------------