{"id":27024269,"url":"https://github.com/jonathanperis/rinha2-back-end-k6","last_synced_at":"2025-04-04T21:18:57.509Z","repository":{"id":282633315,"uuid":"949195743","full_name":"jonathanperis/rinha2-back-end-k6","owner":"jonathanperis","description":"Grafana K6 stress tests utilizados pelas minhas implementações da Rinha de Backend","archived":false,"fork":false,"pushed_at":"2025-03-18T18:38:39.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T19:45:38.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jonathanperis.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":"2025-03-15T22:15:12.000Z","updated_at":"2025-03-18T18:38:42.000Z","dependencies_parsed_at":"2025-03-18T19:55:52.593Z","dependency_job_id":null,"html_url":"https://github.com/jonathanperis/rinha2-back-end-k6","commit_stats":null,"previous_names":["jonathanperis/jonathanperis-rinha2-back-end-bora-dale-xgh-k6","jonathanperis/-jonathanperis-rinha2-back-end-bora-dale-xgh-k6","jonathanperis/rinha2-back-end-bora-dale-xgh-k6","jonathanperis/rinha2-back-end-k6"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanperis%2Frinha2-back-end-k6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanperis%2Frinha2-back-end-k6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanperis%2Frinha2-back-end-k6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanperis%2Frinha2-back-end-k6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanperis","download_url":"https://codeload.github.com/jonathanperis/rinha2-back-end-k6/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249528,"owners_count":20908213,"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-04-04T21:18:57.027Z","updated_at":"2025-04-04T21:18:57.495Z","avatar_url":"https://github.com/jonathanperis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jonathanperis-rinha2-back-end-k6\n\nThis repository contains Grafana K6 stress tests designed for the \"Rinha de Backend Segunda Edição\". It simulates various backend transactional scenarios including debits, credits, client validations, and error handling.\n\n## Technical Overview\n\n- **Stress Testing with k6**: Implements multiple test scenarios (debits, credits, validations, account statements) to assess the performance and consistency of backend operations.\n- **Dockerized Environment**: Includes a Dockerfile to build a custom Docker image integrating a k6 binary compiled with the InfluxDB output extension.\n- **CI/CD Integration**: Uses GitHub Actions to automate the build and release pipeline, pushing Docker images for production deployments.\n- **Usage Modes**: \n  - **Dev Mode**: Exports test metrics to InfluxDB.\n  - **Prod Mode**: Runs tests quietly and generates an HTML report.\n- **Project Scope**: This solution is actively used in Jonathan Peris's projects for the Rinha de Backend, showcasing these tests across all his submitted images.\n\n## Getting Started\n\n1. Ensure Docker is installed.\n2. Build the Docker image:\n   ```\n   docker build -t jonathanperis/rinha2-back-end-k6 .\n   ```\n3. Run the container in the desired MODE (dev or prod).\n\n## Contributors\n\n- Jonathan Peris (https://github.com/jonathanperis)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanperis%2Frinha2-back-end-k6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanperis%2Frinha2-back-end-k6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanperis%2Frinha2-back-end-k6/lists"}