{"id":16940516,"url":"https://github.com/jonaro00/rest-vs-grpc","last_synced_at":"2026-04-12T17:10:09.605Z","repository":{"id":154756271,"uuid":"618168282","full_name":"jonaro00/rest-vs-grpc","owner":"jonaro00","description":"Benchmarks in Java, Python, and Rust","archived":false,"fork":false,"pushed_at":"2023-09-26T21:46:18.000Z","size":214,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T03:26:31.666Z","etag":null,"topics":["grpc","java","python","rust"],"latest_commit_sha":null,"homepage":"","language":"Java","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/jonaro00.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":"2023-03-23T22:26:19.000Z","updated_at":"2023-10-16T14:17:49.000Z","dependencies_parsed_at":"2023-09-27T02:41:54.206Z","dependency_job_id":null,"html_url":"https://github.com/jonaro00/rest-vs-grpc","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/jonaro00%2Frest-vs-grpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaro00%2Frest-vs-grpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaro00%2Frest-vs-grpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaro00%2Frest-vs-grpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonaro00","download_url":"https://codeload.github.com/jonaro00/rest-vs-grpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244752333,"owners_count":20504254,"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":["grpc","java","python","rust"],"created_at":"2024-10-13T21:07:14.762Z","updated_at":"2026-04-12T17:10:09.569Z","avatar_url":"https://github.com/jonaro00.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Benchmarking the request throughput of conventional API calls and gRPC\n\nBy [@jonaro00](https://github.com/jonaro00) and [@Danielmebrahtu](https://github.com/Danielmebrahtu)\n\nBachelor's degree project in Computer Science at KTH Royal Institute of Technology\n\nRead the thesis: \u003chttps://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-334990\u003e\n\n## Project Details\n\nThe project consists of six servers and one client, implemented in three different programming languages: Java, Python, and Rust. The servers provide the same API using both REST (with JSON) and gRPC protocols\n\n## Server Details\n\n### REST API Servers\n\n- Java server using Spring framework\n- Python server using FastAPI\n- Rust server using Axum\n\n### gRPC Servers\n\n- Java server using official gRPC library\n- Python server using official grpcio library\n- Rust server using Tonic\n\n## Client Details\n\n- The client program is implemented in Rust and serves the purpose of spamming requests to the servers while counting the number of completed requests per second.\n- The client runs tests against one server at a time and can request four different payload sizes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonaro00%2Frest-vs-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonaro00%2Frest-vs-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonaro00%2Frest-vs-grpc/lists"}