Slide 17
Slide 17 text
1. A server spawning processes like Unicorn or Passenger
-> more memory consumed but no thread safety concerns
2. Or a server using threads (Puma, Passenger 4...)
● with a Ruby implementation without global lock
(Rubinius, JRuby)
● or MRI can be sufficient if your application is very IO
bound
-> better performance but your application (own code,
gems, ...) needs to be written thread safe
In conclusion to handle requests in
parallel with Rails, you need: