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

architecture documentation #1452

Merged
merged 1 commit into from Nov 16, 2017

Conversation

eprothro
Copy link
Contributor

@eprothro eprothro commented Nov 10, 2017

It took quite a bit of digging into Puma source to get the architectural sense I needed for some recent load testing / tuning tasks.

I created some internal documentation for our team that I figured I would see if y'all thought belonged here.

Happy to discuss or change in any way, my goal is to help those wanting to understand more who don't have the time or confidence to dig in the source to understand more. It would have helped me.


Puma is a threaded web server, processing requests across a TCP or UNIX socket.

Workers accept connections from the socket and a thread in the worker pool processes the client's request.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"worker pool" -> "worker's thread pool"

@nateberkopec
Copy link
Member

One quick change there, but otherwise LGTM and thank you so much for this!

@eprothro
Copy link
Contributor Author

@nateberkopec fixed, thanks.

@nateberkopec
Copy link
Member

nateberkopec commented Sep 24, 2019

@eprothro Remind me: what did you use to make these diagrams?

@eprothro
Copy link
Contributor Author

@nateberkopec In this case I used draw.io, saved the pngs in the repo, and used a shortened link to a url that embeds the diagram content/source. You can click the diagram links from the MD file, click edit, and then make whatever changes are needed.

Draw.io now supports embedding the diagram in the png, so now I usually save diagram pngs (with embedded diagrams in them) in-repo, and future contributors have everything they need without the shortened URL...

@nateberkopec
Copy link
Member

@eprothro nice man, thanks! 👍

@MSP-Greg
Copy link
Member

@eprothro

draw.io

Cool. Thanks for the link. Exports svg also, which might be a better format for 'current' browsers...

@eprothro
Copy link
Contributor Author

@MSP-Greg yeah, in theory I agree with you, in practice your mileage may vary with trying to embed svgs in GFMD and the github ecosystem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants