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

Ruby Web 服务器的配置与使用 | 姜咏康的博客 #109

Open
JiangYongKang opened this issue Apr 20, 2020 · 0 comments
Open

Ruby Web 服务器的配置与使用 | 姜咏康的博客 #109

JiangYongKang opened this issue Apr 20, 2020 · 0 comments

Comments

@JiangYongKang
Copy link
Owner

https://blog.jiangyongkang.com/2019/11/14/Ruby-Web-%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E9%85%8D%E7%BD%AE%E4%B8%8E%E4%BD%BF%E7%94%A8/#more

PumaPuma 是 Rails 的默认 Web Server,在创建 Rails 项目时已经自动添加了 Puma 的依赖。Puma 是用了多进程加多线程模型,它可以同时在 fork 出来的多个 worker 中创建多个线程来处理请求;不仅如此 Puma 还实现了用于提高并发速度的 Reactor 模块和线程池能够在提升吞吐量的同时,降低内存的消耗。

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

No branches or pull requests

1 participant