{"id":18821711,"url":"https://github.com/goto-eof/oh_telemetry_collector_load_test","last_synced_at":"2026-04-13T00:42:11.577Z","repository":{"id":64467436,"uuid":"574220443","full_name":"goto-eof/oh_telemetry_collector_load_test","owner":"goto-eof","description":"This project is intended for testing the workload performance of oh_telemetry_collector_server_rust, oh_telemetry_collector_server_java and oh_telemetry_collector_server_ts.","archived":false,"fork":false,"pushed_at":"2022-12-14T19:02:04.000Z","size":833,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T03:44:10.464Z","etag":null,"topics":["artillery","java","javascript","loan","loan-test","rust","test","typescript","workload"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/goto-eof.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}},"created_at":"2022-12-04T19:42:52.000Z","updated_at":"2022-12-15T01:34:28.000Z","dependencies_parsed_at":"2023-01-02T19:44:23.733Z","dependency_job_id":null,"html_url":"https://github.com/goto-eof/oh_telemetry_collector_load_test","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/goto-eof%2Foh_telemetry_collector_load_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-eof%2Foh_telemetry_collector_load_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-eof%2Foh_telemetry_collector_load_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goto-eof%2Foh_telemetry_collector_load_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goto-eof","download_url":"https://codeload.github.com/goto-eof/oh_telemetry_collector_load_test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758900,"owners_count":19692041,"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":["artillery","java","javascript","loan","loan-test","rust","test","typescript","workload"],"created_at":"2024-11-08T00:45:43.908Z","updated_at":"2026-01-18T10:30:17.149Z","avatar_url":"https://github.com/goto-eof.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"### 🎯 OH Telemetry Collector loan test\n\nOH telemetry collector loan test was developed for testing the applications workload. So that we can make a comparison between the POC in Java, Rust and TypeScript.\n\nThe applications are the following:\n\n- [oh_telemetry_collector_server_rust](https://github.com/goto-eof/oh_telemetry_collector_server_rust) \n    - 💻 Technologies: Rust, Warp, Sea-ORM, Postgres\n    - 🚎 Rust server responds on: `http://127.0.0.1:8017`\n    - 🗄️ DB: `localhost:5437/postgres`\n- [oh_telemetry_collector_server_java](https://github.com/goto-eof/oh_telemetry_collector_server_java) \n    - 💻 Technologies: Java, Spring Boot, Hibernate, Postgres\n    - 🚎 Java server responds on: `http://127.0.0.1:8013`\n    - 🗄️ DB: `localhost:5433/postgres`    \n- [oh_telemetry_collector_server_ts](https://github.com/goto-eof/oh_telemetry_collector_server_ts) \n    - 💻 Technologies: Typescript, Express, TypeORM, Postgres\n    - 🚎 JS server responds on: `http://127.0.0.1:8019`\n    - 🗄️ DB: `localhost:5439/postgres`    \n\nRemember first to run all three docker containers: docker-compose up and remember to truncate the `telemetry` table before test rerun.\n\nThe test result is under the `reports-html` directory. \n\nA meangfull value is the P95 percentile. It means that 95% of all our request had a response time equal or less than the value in the report. So that less is better.\n\n\n#### 🎯 Install packages\n\n```bash\nnpm install\n```\n\n#### 🎯 Run artillery for rust API and generate reports\n\n```bash\nnpm run rust\n```\n\n#### 🎯 Run artillery for java API and generate reports\n\n```bash\nnpm run java\n```\n\n#### 🎯 Run artillery for typescript API and generate reports\n\n```bash\nnpm run js\n```\n\n#### 🎯 Run artillery (sequentially) for all of them and generate reports\n\n```bash\nnpm run java \u0026\u0026 npm run rust \u0026\u0026 npm run js\n```\n\nor \n\n```bash\nnpm run all\n```\n\nor  for a loan test with a constant number of virtual users\n\n```bash\nnpm run kall\n```\n\n\n### 🎯 Moreover\n\nIf you have a mac and the java loan test does not work, it could be that the Dockers VM has not enought space for the application container, so that change settings of VM. \n\nReports were generated on a Linux machine.\n\nif any problems arise, feel free to [contact me](https://andre-i.dev/#contactme).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoto-eof%2Foh_telemetry_collector_load_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoto-eof%2Foh_telemetry_collector_load_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoto-eof%2Foh_telemetry_collector_load_test/lists"}