GithubHelp home page GithubHelp logo

isabella232 / nosql-tests Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orientechnologies/nosql-tests

0.0 0.0 0.0 28.87 MB

NoSQL benchmark tests for documents and graphs

License: Apache License 2.0

Shell 16.81% JavaScript 83.19%

nosql-tests's Introduction

NoSQL Performance Tests

This repository contains the performance tests described in my blog. Please feel free to improve the various database test drivers. If you see any optimization I have missed, please issue a pull request.

The files are structured as follows:

benchmark.js contains the test driver and all the test cases. Currently, the following tests are implemented: shortest, neighbors, neighbors2, singleRead, singleWrite, and aggregation. Use all to run all tests inclusive warmup.

arangodb, neo4j, and mongodb are directories containing a single file description.js. This description file implements the database specific parts of the tests.

data contains the test data used for the read and write tests and the start and end vertices for the shortest path.

Installation

git clone https://github.com/weinberger/nosql-tests.git
npm install .
npm run data

The last step will uncompress the test data file.

Example

node benchmark arangodb -a 1.2.3.4 -t all

runs all tests against an ArangoDB server running on host 1.2.3.4.

Usage

node benchmark -h
Usage: benchmark <command> [options]

Commands:
  arangodb  ArangoDB benchmark
  mongodb   MongoDB benchmark
  neo4j     neo4j benchmark

Options:
  -t, --tests      tests to run separated by comma: shortest, neighbors,
                   neighbors2, singleRead, singleWrite, aggregation
                                                       [string] [default: "all"]
  -s, --restrict   restrict to that many elements (0=no restriction)
[default: 0]
  -l, --neighbors  look at that many neighbors [default: 500]
  -a, --address    server host                   [string] [default: "127.0.0.1"]
  -h               Show help                                           [boolean]

Start Parameters

We have used the following parameters to start the databases.

ArangoDB

./bin/arangod  /mnt/data/arangodb/data-2.7 --server.threads 16 --scheduler.threads 8 --wal.sync-interval 1000  --config etc/relative/arangod.conf --javascript.v8-contexts 17

Admin interface: http://107.178.210.238:8529/

MongoDB

./bin/mongod --storageEngine wiredTiger --syncdelay 1 --dbpath /mnt/data/mongodb/wired2/

OrientDB

./bin/server.sh -Xmx28G -Dstorage.wal.maxSize=28000

Neo4J

./bin/neo4j start

Admin interface: http://107.178.210.238:7474/

nosql-tests's People

Contributors

lvca avatar weinberger avatar wolf4ood avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.