{"id":25082628,"url":"https://github.com/boaks/s3benchmark","last_synced_at":"2025-04-01T10:25:40.710Z","repository":{"id":122504269,"uuid":"528512569","full_name":"boaks/s3benchmark","owner":"boaks","description":"Java - S3benchmark","archived":false,"fork":false,"pushed_at":"2022-08-29T14:19:51.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T05:34:01.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boaks.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":"2022-08-24T16:48:04.000Z","updated_at":"2022-08-24T16:50:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ab5e609-e1d2-4600-b7c6-ced1528cce41","html_url":"https://github.com/boaks/s3benchmark","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/boaks%2Fs3benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boaks%2Fs3benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boaks%2Fs3benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boaks%2Fs3benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boaks","download_url":"https://codeload.github.com/boaks/s3benchmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246621975,"owners_count":20807054,"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":"2025-02-07T05:32:15.918Z","updated_at":"2025-04-01T10:25:40.701Z","avatar_url":"https://github.com/boaks.png","language":"Java","readme":"# S3 requests benchmark\n\n!!! Under construction !!!\n\nSimple S3 requests benchmark.\n\n## Build\n\n### Requirements\n\nThough the benchmark is implemented in java, you need a Java Development Kit to build it.\nUsing Ubuntu 20.04 LTS you may install it with:\n\n```\nsudo apt install openjdk-17-jdk-headless\n```\n\nTo build the application also the java build system \"maven\" is required:\n\n```\nsudo apt install maven\n```\n\n### Build it\n\nUse maven:\n\n```\nmvn clean install\n```\n\nThat may take a while, especially at the first time. The resulting java application jar will be found in the folder \"target\".\n\n## General Usage\n\nStart the benchmark using the provided script [benchmark.sh](cloud/benchmark.sh):\n\n```sh\njava -jar s3benchmark-?.?.?-SNAPSHOT.jar -h\n\nUsage: S3Benchmark [-h] [-k=\u003ckeys\u003e] [-m=\u003cmethod\u003e] [-p=\u003cpayload\u003e]\n                   [-pl=\u003cpayloadLength\u003e] [-r=\u003crequests\u003e]\n                   --s3-access-key=\u003caccessKey\u003e [--s3-acl=\u003cacl\u003e]\n                   [--s3-bucket=\u003cbucket\u003e] [--s3-concurrency=\u003cconcurrency\u003e]\n                   [--s3-endpoint=\u003cendpoint\u003e] [--s3-region=\u003cregion\u003e]\n                   --s3-secret=\u003csecret\u003e\n  -h, --help                 display a help message\n  -k, --keys=\u003ckeys\u003e          Number of keys. Default 200\n  -m, --method=\u003cmethod\u003e      Method to test. GET or PUT. Default PUT\n  -p, --payload=\u003cpayload\u003e    Payload. Applies format(payload, request-number).\n      -pl, --payload-length=\u003cpayloadLength\u003e\n                             Payload length.\n  -r, --requests=\u003crequests\u003e  Number of keys. Default 100000\n      --s3-access-key=\u003caccessKey\u003e\n                             s3 access key.\n      --s3-acl=\u003cacl\u003e         s3 canned acl. e.g. public-read\n      --s3-bucket=\u003cbucket\u003e   s3 bucket. Default: devices\n      --s3-concurrency=\u003cconcurrency\u003e\n                             s3 concurrency. Default 200\n      --s3-endpoint=\u003cendpoint\u003e\n                             s3 endoint URI. e.g.: https://sos-de-fra-1.exo.io\n                               for ExoScale in DE-FRA1.\n      --s3-region=\u003cregion\u003e   s3 region. Only AWS regions are supported.\n                               Default: 'us-east-1'. (For other providers, try,\n                               if the default works).\n      --s3-secret=\u003csecret\u003e   s3 secret access key.\n```\n\nTo see the set of options and arguments.\n\n## Scripts\n\nThe project contains several shell script in the folder \"cloud\" to install the benchmark on cloud vms and to run the benchmark.\n\n- [benchmark.sh](cloud/benchmark.sh) : start the benchmark. it provides the --s3 arguments from environment variables\n- [s3_cfg.sh](cloud/s3_cfg.sh)       : setup environment variables\n\nPlease edit \"s3_cfg.sh\" and insert temporary S3 access keys. Copy the application .jar from the folder \"target\" into the \"cloud\" folder and rename it into \"s3benchmark.jar\".\n\nUsage:\n\n```sh\nsource s3_cfg.sh\n./benchmark.sh\n```\n\n- [cloud_config.yaml](cloud/cloud_config.yaml) : cloud-init configuration.\n- [deploy.sh](cloud/deploy.sh)         : deploy script\n- [provider_exo.sh](cloud/provider_exo.sh)  : provider script for ExoScale\n- [provider_aws.sh](cloud/provider_aws.sh)  : provider script for AWS\n- [provider_do.sh](cloud/provider_do.sh)  : provider script for DigitalOcean\n\nSee deploy scripts for instruction. Provide user ssh key in `cloud_config.yaml`. Setup and prepare `provider-???.sh` according the documentation in that files.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboaks%2Fs3benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboaks%2Fs3benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboaks%2Fs3benchmark/lists"}