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

Remove mustdown gem #119

Merged
merged 1 commit into from
Nov 11, 2021
Merged

Conversation

ylecuyer
Copy link
Member

@ylecuyer ylecuyer commented Nov 6, 2021

After investigation it turns out rubyparis.org is down every now and then because the mustdown gem isn't threadsafe and puma is configured to use threads (see cowboyd/handlebars.rb#46 and cowboyd/handlebars.rb#39)

here is a video showing puma getting stuck:

https://youtu.be/7zVW53SQtiE

And with the fix:

https://youtu.be/JPYmTgJj7eA

Do not focus on the 500 errors this is because #117 and #118 need to be merged first.

The important thing to observe is that on the first video puma hangs and is down and on the second it is working with no downtime

@ylecuyer ylecuyer merged commit be76733 into parisrb:master Nov 11, 2021
@ylecuyer ylecuyer deleted the remove-mustdown-gem-yle branch May 2, 2022 14:19
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

Successfully merging this pull request may close these issues.

2 participants