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

why WEBrick is faster as dev server compared to thin as dev server ? #398

Open
metapraveen opened this issue Dec 22, 2023 · 0 comments
Open

Comments

@metapraveen
Copy link

We are using thin in our gem file so our dev server uses thin which is started by bundle exec rails server

I observed that our dev server got slower after thin so I fired 50 parallel requests which loads the resource from db.
With thin slowest request took 58 seconds
without thin (WEBrick) the slowest request took 17 seconds

Why does thin slows down requests in dev server or am I missing some config here?
rails version - 5.2
thin version - 1.7

PS - thank you for this amazing gem. I am trying to understand how to use it make my dev server faster.

@metapraveen metapraveen changed the title why WEBrick is faster as dev server compared to thin? why WEBrick is faster as dev server compared to thin as dev server ? Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant