{"id":39007557,"url":"https://github.com/vincentserpoul/playwithsql","last_synced_at":"2026-01-17T17:18:23.616Z","repository":{"id":57526147,"uuid":"72774062","full_name":"vincentserpoul/playwithsql","owner":"vincentserpoul","description":"implementing as immutable as possible data modelization and benchmarking it on different platforms","archived":false,"fork":false,"pushed_at":"2017-08-25T05:19:55.000Z","size":568,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-18T22:48:50.374Z","etag":null,"topics":["benchmarking","cockroachdb","container","docker","gcp","golang","kubernetes","kubernetes-cluster","mariadb","mssql","mysql","percona","postgres","sql","swarm-cluster"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/vincentserpoul.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}},"created_at":"2016-11-03T18:19:21.000Z","updated_at":"2020-02-14T21:17:20.000Z","dependencies_parsed_at":"2022-09-07T05:30:18.283Z","dependency_job_id":null,"html_url":"https://github.com/vincentserpoul/playwithsql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vincentserpoul/playwithsql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentserpoul%2Fplaywithsql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentserpoul%2Fplaywithsql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentserpoul%2Fplaywithsql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentserpoul%2Fplaywithsql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vincentserpoul","download_url":"https://codeload.github.com/vincentserpoul/playwithsql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentserpoul%2Fplaywithsql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["benchmarking","cockroachdb","container","docker","gcp","golang","kubernetes","kubernetes-cluster","mariadb","mssql","mysql","percona","postgres","sql","swarm-cluster"],"created_at":"2026-01-17T17:18:23.397Z","updated_at":"2026-01-17T17:18:23.507Z","avatar_url":"https://github.com/vincentserpoul.png","language":"Go","readme":"# playwithsql [![Go Report Card](https://goreportcard.com/badge/github.com/vincentserpoul/playwithsql)](https://goreportcard.com/report/github.com/vincentserpoul/playwithsql) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a79310b8da354991a0b2b657a73f195f)](https://www.codacy.com/app/vincent_11/playwithsql?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=vincentserpoul/playwithsql\u0026amp;utm_campaign=Badge_Grade)\n\nimplementing as immutable as possible data modelization and benchmarking it on different platforms.\n\n## Disclaimer\n\nthe benchmark comparison is for very specific use case:\n* Golang 1.8.3\n* Containerized DBs, latest versions\n* Specific schemas\n* Used configurations\n* GCP as cloud provider (or local, until docker for GCP is allowing experimental)\n* n1-standard-1 as machine type\n\nHence, they can't be used to affirm that this or this db is better.\n*The context matters!*\n\n## Results\n\nJust check them [here](https://playwithsql-summary.surge.sh)!\n\n# Tested dbs\n\n- [x] MySQL\n- [x] MariaDB\n- [x] PerconaDB\n- [x] Postgres\n- [x] CockroachDB\n- [x] SQLite\n- [x] Microsoft SQL Server\n- [x] Reference hosted MySQL on GCP\n- [x] Reference hosted Postgres on GCP\n- [ ] Vitess\n- [ ] Cloud Spanner\n\n# Tested setups\n\n- [x] local swarm cluster - local solo db container\n- [ ] swarm cluster - gcloud solo db container\n- [x] kubernetes cluster - gcloud solo db container\n- [ ] swarm cluster - gcloud cluster db containers\n- [ ] kubernetes cluster - gcloud cluster db containers\n\n# Rebuilding the docker image\n\n```\n./build-docker-cmd-status.sh\n```\n\n# Launch tests\n\n```\n./status/run-test.sh\n```\n\n# Launch local status benches\n\n```\n./bench/status/swarm/run-all.sh (islatest or lateststatus or history)\n```\n\n# Launch remote tests on kubernetes\n\n```\n./bench/status/kubernetes/run-all.sh (islatest or lateststatus or history)\n```\n\n# TODO list\n\n- [ ] Bench 1000000 loops and get the best of 5 runs for each db\n- [ ] Test different storage (mounted standard disk, mounted ssd, local ssd)\n- [ ] Test High Availability\n- [ ] Leverage new go 1.8 capabilities (named queries, remove sqlx?)\n- [ ] Vendor deps (github.com/kardianos/govendor)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentserpoul%2Fplaywithsql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvincentserpoul%2Fplaywithsql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentserpoul%2Fplaywithsql/lists"}