Re:I made a Phoenix webapp as a veteran Rails dev
by wgjordan on Sunday May 21, 2017 @06:40PM
(#14389616)
> The rails app is still limited by the GIL and, therefore, runs within a single process.
Rails app-servers fork multiple OS processes to utilize all CPU cores despite the GIL.
If you define a 'Rails app' as a single un-forked OS process (a definition I've never heard before) then yes, tautologically, a 'Rails app' could not utilize all CPU cores because of the GIL.
Rails app-servers fork multiple OS processes to utilize all CPU cores despite the GIL.
If you define a 'Rails app' as a single un-forked OS process (a definition I've never heard before) then yes, tautologically, a 'Rails app' could not utilize all CPU cores because of the GIL.