{"id":16922003,"url":"https://github.com/hugoch/s3-consistency","last_synced_at":"2025-09-02T21:35:33.615Z","repository":{"id":146482055,"uuid":"333428709","full_name":"Hugoch/s3-consistency","owner":"Hugoch","description":"S3 object storage consistency benchmark","archived":false,"fork":false,"pushed_at":"2021-01-28T15:58:49.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T20:28:54.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hugoch.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}},"created_at":"2021-01-27T13:26:29.000Z","updated_at":"2021-04-14T14:52:46.000Z","dependencies_parsed_at":"2023-07-14T04:45:12.456Z","dependency_job_id":null,"html_url":"https://github.com/Hugoch/s3-consistency","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hugoch%2Fs3-consistency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hugoch%2Fs3-consistency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hugoch%2Fs3-consistency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hugoch%2Fs3-consistency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hugoch","download_url":"https://codeload.github.com/Hugoch/s3-consistency/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244711939,"owners_count":20497417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-13T19:53:45.641Z","updated_at":"2025-03-20T23:45:32.431Z","avatar_url":"https://github.com/Hugoch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# S3 consistency test\n\nTest consistency of S3-compliant object stores.\n\n![](./screenshot.png)\n\n## Object store eventual consistency\n\nObject store are usually distributed storage and focus on availability/performances rather than consistency (see CAP\ntheorem).\nUsers may encounter unexpected behaviour with stale data being presented.\n\n## Testing consistency\n\nTool runs the following consistency tests:\n\n| Test | Description | \n| --- | --- |\n| read-after-write         | Write a new file, try to read it immediately                                 |\n| read-after-delete        | Delete a file and try to read it immediately                                 |\n| read-after-overwrite     | Overwrite a file, read it immediately and check if data was updated          |\n| list-after-create        | Write a new file, list the content of the bucket and check if file exists    |\n| list-after-delete        | Delete a file, list the content of the bucket and check if file still exists |\n\nBuild the tool\n```bash\n$ ./go-build-all.sh\n```\n\nRun the tool\n```bash\n$ s3-consistency \\\n      --endpoint https://s3.gra.storage.cloud.ovh.net \\ \n      --region gra \\\n      --threads 70 \\\n      --iterations 100 \\\n      --bucket s3-consistency\n```\n\nAvailable options\n```bash\n$ s3-consistency --help\nUsage of ./build/darwin-amd64/s3-consistency:\n  -bucket string\n        Bucket to use for test (default \"s3-consistency\")\n  -chunk-size int\n        Size in bytes of created files (default 1)\n  -clean\n        Clean bucket\n  -endpoint string\n        S3 endpoint to use (default \"https://s3.us-east-1.amazonaws.com\")\n  -iterations int\n        Number of iteration per thread per test. (default 5)\n  -region string\n        S3 endpoint to use (default \"us-east-1\")\n  -threads int\n        Number threads per test. (default 5)\n```\n\n## References\n- https://aws.amazon.com/s3/consistency/\n- https://lists.launchpad.net/openstack/msg06788.html\n- https://julien.danjou.info/openstack-swift-consistency-analysis/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugoch%2Fs3-consistency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugoch%2Fs3-consistency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugoch%2Fs3-consistency/lists"}