db-benchmark

command module
v0.0.0-...-3dd48f3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 6 Imported by: 0

README

DB Benchs

Preparation

  1. Install redis + postgresql
  2. Fill in corresponding login details
  3. Launch both servers, then fill in corresponding:
    • server data directory (for postgresql)
    • / PID (for redis)

Run

  1. Restart postgresql, as it flushes db and correctly persist them on disk. Make sure you restart it before continuing to get decent results
  2. go run .
  3. Observe results

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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