1
0
Fork 0
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:
Trent Ogren 2014-04-14 09:56:44 -05:00
parent de59a88c86
commit e6e110a33f

View file

@ -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.