{"id":22830757,"url":"https://github.com/dmarcosl/api-performance-comparison","last_synced_at":"2025-10-07T17:16:36.433Z","repository":{"id":267665473,"uuid":"901772242","full_name":"dmarcosl/api-performance-comparison","owner":"dmarcosl","description":"API performance comparison between Rust and Java","archived":false,"fork":false,"pushed_at":"2024-12-11T17:11:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T06:49:59.836Z","etag":null,"topics":["api-rest","axum","grafana","influxdb","java","k6","performance","performance-testing","restclient","rust","webclient","webflux"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dmarcosl.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":"2024-12-11T09:35:54.000Z","updated_at":"2024-12-11T17:11:28.000Z","dependencies_parsed_at":"2024-12-11T18:34:57.712Z","dependency_job_id":null,"html_url":"https://github.com/dmarcosl/api-performance-comparison","commit_stats":null,"previous_names":["dmarcosl/api-performance-comparison"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarcosl%2Fapi-performance-comparison","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarcosl%2Fapi-performance-comparison/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarcosl%2Fapi-performance-comparison/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmarcosl%2Fapi-performance-comparison/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmarcosl","download_url":"https://codeload.github.com/dmarcosl/api-performance-comparison/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403893,"owners_count":20771526,"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":["api-rest","axum","grafana","influxdb","java","k6","performance","performance-testing","restclient","rust","webclient","webflux"],"created_at":"2024-12-12T20:14:19.426Z","updated_at":"2025-10-07T17:16:31.374Z","avatar_url":"https://github.com/dmarcosl.png","language":"JavaScript","readme":"# Axum - WebFlux - RestClient - Performance Comparison\n\nThis project is a simple performance comparison between **Rust with Axum**, **Java with WebFlux** and **Java with RestClient**, using 6 different endpoints\n\n- `/health` - A fast GET request that returns a simple message\n- `/post-item` - A POST request that stores an item in H2 / SQLite\n- `/get-item/{id}` - A GET request that retrieves an item from the db\n- `/get-item-list` - A GET request that retrieves all items from the db\n- `/get-item-cache/{id}` - A GET request that retrieves an item from the db and caches it for the next request\n- `/get-item-cache-list` - A GET request that retrieves all items from the db and caches them for the next request\n\n## Running the project\n\nTo run the project, you need to have **Docker and Docker Compose installed**. Then, you can run the following command:\n\n`docker-compose up`\n\nThen open Grafana at `http://localhost:3000` and login with `admin` and `admin`, skip the password change, and go to the dashboard.\n\nIf you have any problem doing changes in the code, you can rebuild the images with the following command:\n\n`docker-compose down --remove-orphans`\n\n`docker-compose down --volumes --rmi all`\n\n## Source Projects\n\n- https://github.com/dmarcosl/rust-axum-performance\n- https://github.com/dmarcosl/java-webclient-performance\n- https://github.com/dmarcosl/java-restclient-performance\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmarcosl%2Fapi-performance-comparison","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmarcosl%2Fapi-performance-comparison","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmarcosl%2Fapi-performance-comparison/lists"}