{"id":19438013,"url":"https://github.com/srotya/sidewinder-benchmark","last_synced_at":"2026-06-20T09:31:44.249Z","repository":{"id":90519533,"uuid":"125939194","full_name":"srotya/sidewinder-benchmark","owner":"srotya","description":"Repository shows how to run a benchmark on Sidewinder","archived":false,"fork":false,"pushed_at":"2018-05-14T14:22:50.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-19T09:22:53.613Z","etag":null,"topics":["benchmark","sidewinder","tsdb"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srotya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-20T00:44:55.000Z","updated_at":"2018-05-14T14:22:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc2361b1-548a-4b91-9cda-c2a0bbde2bc1","html_url":"https://github.com/srotya/sidewinder-benchmark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srotya/sidewinder-benchmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srotya","download_url":"https://codeload.github.com/srotya/sidewinder-benchmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srotya%2Fsidewinder-benchmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34565240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmark","sidewinder","tsdb"],"created_at":"2024-11-10T15:16:31.785Z","updated_at":"2026-06-20T09:31:44.230Z","avatar_url":"https://github.com/srotya.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sidewinder-benchmark\nRepository shows how to run a benchmark on Sidewinder\n\n### Building this project\n\n```\n# Download the project using git or download source from Github\ngit clone https://github.com/srotya/sidewinder-benchmark.git\ncd sidewinder-benchmark\n\n# Maven compile\nmvn clean package -DskipTests\n\n# Check the artifacts\nls -lh ./target/*.jar\n\n# (Optional) Copy artifact to tmp directory\ncp ./target/sidewinder-benchmark*.jar /tmp/\n```\n\n```\nRequires:\n- Java 8\n- Maven 3\n```\n\n### Generate Data\nInflux has a project to generate data for use cases, download [Influx-Comparisons](https://github.com/influxdata/influxdb-comparisons) project to generate data and then running multi-threaded client to run ingestion. Please follow the instructions below:\n\n```\n# Download influx comparisons\ngo get github.com/influxdata/influxdb-comparisons/cmd/bulk_query_gen\n\n# Go to project directory\ncd ~/go/\n\n# Run data gen\nbin/bulk_data_gen -timestamp-start \"2018-03-01T00:00:00Z\" -timestamp-end \"2018-03-01T04:00:00Z\" -scale-var 10000 \u003e /tmp/10k_4h.txt\n\n# Compress data\ngzip /tmp/10k_4h.txt\n```\n\n## Ingestion Benchmark\nSwitch to Sidewinder-benchmark directory or use the jar file generated above from tmp directory. To run the benchmark:\n\nIn one terminal, launch Sidewinder:\n\n```\n# Make sure sidewinder is up and running\njava -Xms8g -Xmx8g -cp sidewinder-standalone-dist*.jar com.srotya.sidewinder.core.SidewinderServer server side.yaml\n```\nSidewinder launch configurations are available in [sidewinder_confs](https://github.com/srotya/sidewinder-benchmark/blob/master/sidewinder_confs) directory of the repo\n\nAnother terminal, launch ingestion client (same or different node is up to you); note that having the client and server on same node reduces performance by up to 40% due to lack of CPU.\n\n```\njava -cp /tmp/sidewinder-benchmark*.jar \u003cbenchmark class name\u003e\n```\n\n#### Influx Line Protocol Benchmark\nSidewinder supports [Influx Line Protocol](https://docs.influxdata.com/influxdb/v0.9/write_protocols/line/) is one mechnaism to ingest data into Sidewinder. To run Influx API based write benchmark, run the following command:\n\n```\njava -cp /tmp/sidewinder-benchmark*.jar com.srotya.sidewinder.clients.InfluxClientStandalone \u003cnumber of threads\u003e \u003clocalhost/address of sidewinder server\u003e \u003cingestion data file\u003e\n```\n\ne.g. run configuration on a Macbook Pro\n\n```\njava -cp /tmp/sidewinder-benchmark*.jar com.srotya.sidewinder.clients.InfluxClientStandalone 6 localhost /tmp/10k_4h.txt.gz\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrotya%2Fsidewinder-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrotya%2Fsidewinder-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrotya%2Fsidewinder-benchmark/lists"}