bmrethinkdb

package module
v0.0.0-...-50a8adb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 4 Imported by: 0

README

Benchmark RethinkDB with GO client driver

NOTE: this is the very first project that I use Docker

How to run benchmark

Build docker image for bm-rethinkdb

At root of source code, run:

docker build -t bm-rethinkdb .
Run benchmark

Firstly start RethinkDB

docker run --name rethinkdb -d rethinkdb

At root of source code, run test by following command

docker run --rm --link rethinkdb:rethinkdb_alias -v "$PWD:/go/src/bm-rethinkdb" bm-rethinkdb

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SoftWrite

func SoftWrite(data map[string]interface{}) error

SoftWrite data to RethinkDB in with soft durability

func Write

func Write(data map[string]interface{}) error

Write data to RethinkDB

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL