Note that there are some explanatory texts on larger screens.

plurals
  1. POIn what way is Ruby on Rails NOT multithreaded?
    primarykey
    data
    text
    <p><strong>Disclaimer</strong>: I'm a c# ASP.NET developer learning "RoR". Sorry if this question doesn't "get" RoR, any corrections greatly appreciated!</p> <h1>What is multithreading</h1> <p>My understanding of "multithread" ability in web apps is twofold:</p> <ol> <li>Every time a web/app server receives a request it can assign a thread to the new request, thus multiple requests can run concurrently.</li> <li>The app runtime + language allows for multiple threads to be used WITHIN a single request (in ASP.NET via "Async" methods and keywords <strong>for example</strong>).</li> </ol> <p>In this way, IIS7 + ASP.NET can do points 1 AND 2.</p> <h1>I'm confused about RoR</h1> <p>I've read these two articles and they have left me confused:</p> <ul> <li><a href="http://ikaisays.com/2012/10/04/clearing-up-some-things-about-linkedin-mobiles-move-from-rails-to-node-js/" rel="noreferrer">Clearing up some things about LinkedIn mobile’s move from Rails to node.js</a></li> <li><a href="http://www.jordanhollinger.com/2011/04/23/how-to-deploy-a-multi-threaded-rails-app" rel="noreferrer">How to deploy a multi-threaded Rails app</a></li> </ul> <h2>question one.</h2> <p>I think I understand that RoR doesn't lend itself very well to point number 2 above, that is, having multiple threads within the same request, have I got that right?</p> <h2>question two.</h2> <p>Just to be crystal clear, RoR app/web servers can also do point number 1 above right (that is, multiple requests can run concurrently)? is that not always the case with RoR?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload