Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(http): switch router from chi to gin #137

Merged
merged 2 commits into from
Sep 8, 2024

Conversation

nuxencs
Copy link
Owner

@nuxencs nuxencs commented Sep 8, 2024

Migrate the router from chi to the gin framework due to vastly improved performance.

Benchmarks: https://github.com/gin-gonic/gin/blob/master/BENCHMARKS.md

@nuxencs nuxencs added Area: HTTP Server Related to the http server Type: Refactor Refactoring of code labels Sep 8, 2024
@nuxencs nuxencs added this to the v0.9.1 milestone Sep 8, 2024
@nuxencs nuxencs marked this pull request as ready for review September 8, 2024 12:55
@zze0s
Copy link

zze0s commented Sep 8, 2024

The benchmarks was done 3+ years ago on Go v1.14. Today we have 1.23 with lots of performance updates since. I wouldn't change router based on that alone, but you've already done the work.

@nuxencs nuxencs merged commit 920256c into develop Sep 8, 2024
12 checks passed
@nuxencs nuxencs deleted the refactor/switch-to-gin branch September 8, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: HTTP Server Related to the http server Type: Refactor Refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants