This project is a DMBS-like REST interface for the Diffstore storage engine.
dotnet tool install -g Diffstore.DBMS
dotnet add package Diffstore.DBMS.Client
Run the following command to get help:
diffstore-dbms -?
Command line parameters:
- store - Storage location. Values: OnDisk, InMemory. Default:OnDisk
- entityFormat - Entity storage format. Values: JSON, XML,Binary. Default: JSON
- snapshotFormat - Snapshot storage format. Values: JSON, XML,Binary. Default: JSON
- snapshots - Snapshot storage mechanism. Values: SingleFile,LastFirst. Default: SingleFile
- loadSchemaFromStdIn - Determines if schema definition should beloaded from stdin. Default: false
- keyType - Entity key type. Default: long
- listen - One or several URIs to listen on. Default: http://localhost:8008
- maxRetries - Maximum retries if the requested entity is busy. Default: 5
- retryTimeout - Timeout in ms between retries if the requested entity is busy. Default: 1000
Sample schema can be found in REST API documentation (index path), or in the E2E/schema.json file.