{"id":18371247,"url":"https://github.com/sub-mod/tensorflow-vegeta","last_synced_at":"2026-04-29T14:33:34.171Z","repository":{"id":80654162,"uuid":"251493153","full_name":"sub-mod/tensorflow-vegeta","owner":"sub-mod","description":"vegeta with Tensorflow Serving","archived":false,"fork":false,"pushed_at":"2020-04-30T22:36:06.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T22:47:15.470Z","etag":null,"topics":["tensorflow","vegeta"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sub-mod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-03-31T03:40:46.000Z","updated_at":"2020-04-30T22:36:09.000Z","dependencies_parsed_at":"2023-07-16T19:30:59.762Z","dependency_job_id":null,"html_url":"https://github.com/sub-mod/tensorflow-vegeta","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/sub-mod%2Ftensorflow-vegeta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sub-mod%2Ftensorflow-vegeta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sub-mod%2Ftensorflow-vegeta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sub-mod%2Ftensorflow-vegeta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sub-mod","download_url":"https://codeload.github.com/sub-mod/tensorflow-vegeta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312192,"owners_count":21082637,"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":["tensorflow","vegeta"],"created_at":"2024-11-05T23:43:25.261Z","updated_at":"2026-04-29T14:33:29.148Z","avatar_url":"https://github.com/sub-mod.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tensorflow-vegeta\n\nBuild Image  \n```\ndocker build --rm -t submod/tf-vegeta -f Dockerfile .\n```\n\nRun Image  \n```\npodman run --rm -it \\\n    -e REQUEST_RATE_PER_SEC=100 -e DURATION=60s \\\n    -e ROUTE_FROM_ENV=http://digit-recognition-server-thoth-prod-tensorflow.cloud.paas.psi.redhat.com/v1/models/mnist:predict \\\n    submod/tf-vegeta:latest /bin/bash\n```\n\nquay.io Image  \n```\nquay.io/sub_mod/tf-vegeta:latest\n```\n\nOpenshift deploy    \n```\noc apply -f job_template.yml\noc new-app --template=tf-vegeta-job  --param=DURATION=300s --param=REQUEST_RATE_PER_SEC=1000 --param=ROUTE_FROM_ENV=\"http://ocp-server.com/v1/models/mnist:predict\"\n\noc new-app --template=tf-vegeta-job  --param=DURATION=10s --param=REQUEST_RATE_PER_SEC=100\noc get pods --selector=app=tf-vegeta-job\noc get pods --selector=app=tf-vegeta-job -o custom-columns=\":metadata.name\" --no-headers\noc logs --tail=11 $(oc get pods --selector=app=tf-vegeta-job -o custom-columns=\":metadata.name\" --no-headers)\n\noc delete all -l appTypes=tf-vegeta-job\noc delete template tf-vegeta-job\n```\n\nRun Locally    \n```\nvegeta attack -duration=120s -rate=400 -targets=target.list -output=results.bin\nvegeta plot -title=Results results.bin \u003e results.html\nvegeta report results.bin\ncat results.bin | vegeta report -type=\"hist[0,100ms,200ms,300ms]\"\n# https://www.scaleway.com/en/docs/vegeta-load-testing/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsub-mod%2Ftensorflow-vegeta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsub-mod%2Ftensorflow-vegeta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsub-mod%2Ftensorflow-vegeta/lists"}