Code Monkey home page Code Monkey logo

esbench's Introduction

esBench

Build Status

esBench is performance and unit test tool for generating Elasticsearch documents based on existing data. The common use cases are:

  • customer issues - thanks to esBench developer can ask customer for creating "workload" (metadata automatically created by esBench) from their production Elasticsearch and recreate similar environment with similar data on his development machine
  • performance testing - esBench can fastly generate JSON documents so that you can test your Elasticsearch indexing/searching performance. On top of that tool offers ability to send documents from multiple nodes (clustered insert)
  • disk space test - esBench can generate milions of documents to testing Elasticsearch cluster based on existing indices and give you rought idea how much disk space you will need to maintain big data cluster

Example usage

esbench collect --index=games --type=board_games
esbench insert --index=perf_games --type=game --insert.docs=10000 --insert.threads=8

Getting Started

A. Download latest release of esBench

 wget https://github.com/kucera-jan-cz/esBench/releases/download/v0.0.3/esbech-0.0.32.zip
 unzip esbech-0.0.3.zip
 cd esbech-0.0.3/

B. Insert testing documents to your localhost Elasticsearch cluster named myCluster

./bin/esbench.sh insert --cluster.name=myCluster --index=board_games --type=game --insert.docs=1000 --workload=examples/board_games.json

C. Collect workload (esBench metadata about existing index) from your localhost ElasticSearch named myCluster to file my_workload.json

./bin/esbench.sh collect --cluster.name=myCluster --index=board_games --type=game --workload=workloads/my_workload.json

Requirements:

  • Java 8
  • Elasticsearch 2.0+ [Older versions may be supported]

Development and feedback

Currently esBench in early phase of development meaning that API, configuration format may change release to release. Early adopters are more than welcome to provide feedback and influence future versions and features.

esbench's People

Contributors

kucera-jan-cz avatar karolstojek avatar

Watchers

James Cloos 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.