Skip to content

RaZeR-RBI/diffstore-dbms

Repository files navigation

Build status GitHub license


Diffstore DBMS

This project is a DMBS-like REST interface for the Diffstore storage engine.

Installation

Standalone server

NuGet Version NuGet

dotnet tool install -g Diffstore.DBMS

Clients

C# client

NuGet Version NuGet

dotnet add package Diffstore.DBMS.Client

Server options

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.

API Documentation

REST API

Server REST API Definition

Client implementations

C# Client API

About

Diffstore REST DBMS server and C# client

Resources

License

Stars

Watchers

Forks

Packages

No packages published