Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8647073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:58:28+00:00 2026-06-12T12:58:28+00:00

Disclaimer : I’m a c# ASP.NET developer learning RoR. Sorry if this question doesn’t

  • 0

Disclaimer: I’m a c# ASP.NET developer learning “RoR”. Sorry if this question doesn’t “get” RoR, any corrections greatly appreciated!

What is multithreading

My understanding of “multithread” ability in web apps is twofold:

  1. Every time a web/app server receives a request it can assign a thread to the new request, thus multiple requests can run concurrently.
  2. The app runtime + language allows for multiple threads to be used WITHIN a single request (in ASP.NET via “Async” methods and keywords for example).

In this way, IIS7 + ASP.NET can do points 1 AND 2.

I’m confused about RoR

I’ve read these two articles and they have left me confused:

  • Clearing up some things about LinkedIn mobile’s move from Rails to
    node.js
  • How to deploy a multi-threaded Rails app

question one.

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?

question two.

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T12:58:29+00:00Added an answer on June 12, 2026 at 12:58 pm

    Question 1:
    You can spawn more Ruby threads in one request if you want, although that seems to be outside the typical use case for Rails. There are uses for it for certain long-running IO or external operations.

    Question 2:
    The limiting factor for Ruby concurrency in general, not just with Rails, is the Global Interpreter Lock. This feature of Ruby prevents more than 1 thread of Ruby from executing at any given time per process. The lock is released whenever there is non-Ruby code executing, such as waiting for disk IO or SQL responses. You can get around this by using a different implementation of Ruby than the default, such as JRuby, but not all.

    Phusion Passenger uses process based concurrency to handle a few requests concurrently, so, strictly speaking, is not “multithreaded,” but is still concurrent.

    This talk from Ruby MidWest 2011 has some good thoughts on getting multithreaded Ruby on Rails going.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

( Disclaimer: This question is not specific to ASP.NET) I have a control which
Disclaimer: this question is driven by my personal curiosity more than an actual need
Disclaimer: This question is not about fixing visual studio So, I've used VSS for
Disclaimer This is not strictly a programming question, but most programmers soon or later
Disclaimer, I'm not a PHP programmer, so you might find this question trivial. That's
Disclaimer: this question is purely informational and does not represent an actual problem I'm
Disclaimer Despite the title, this is a genuine question, not an attempt at Emacs/Vi
Disclaimer : this is not a how to question. I would more like to
Disclaimer While this question looked like a potential duplicate , it was resolved by
Disclaimer: This is not actually a programming question, but I feel the audience on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.