mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Deploy doc: clarification of the GIL
This commit is contained in:
parent
de59a88c86
commit
e6e110a33f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ Here are some rules of thumb:
|
||||||
|
|
||||||
**How do you know if you're got enough (or too many workers)?**
|
**How do you know if you're got enough (or too many workers)?**
|
||||||
|
|
||||||
A good question. Due to MRI's GIL, only one thread can be executing at a time.
|
A good question. Due to MRI's GIL, only one thread can be executing Ruby code at a time.
|
||||||
But since so many apps are waiting on IO from DBs, etc., they can utilize threads
|
But since so many apps are waiting on IO from DBs, etc., they can utilize threads
|
||||||
to make better use of the process.
|
to make better use of the process.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue