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

  • Home
  • SEARCH
  • 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 6677873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:10:32+00:00 2026-05-26T04:10:32+00:00

Since most of the time an application’s bottleneck is found in the db SQL

  • 0

Since most of the time an application’s bottleneck is found in the db SQL code and given that ActiveRecord adds an abstract layer which in itself degrades performance, it would seem that there is little use in scaling the application server. What is the point of adding more dynos if the least common denominator in terms of performance turns out to be the db anyway?

Here is a blog post from heroku:

http://adam.heroku.com/past/2009/7/6/sql_databases_dont_scale/

  • 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-05-26T04:10:33+00:00Added an answer on May 26, 2026 at 4:10 am

    You need to be able to scale all parts of the web app to make it truly elastic. The real benefit with Heroku comes from the system they wrote around AWS, so for example, if an instance were to be killed, it is quickly replaced, keeping your app online.

    Furthermore, when you reach a certain size, load balancing becomes essential for uptime, heroku abstracts this all away from the user and just makes this happen- which is just as well, because system admin is a skill in itself.

    SQL databases can be scaled by use of replication. It’s works very well and is robust.

    What makes each application scale is specific to the application; if you have a lot of ‘uncacheable’ html pages, you will have to have a large number of dynos at the front to process that, equally if you can cache a lot, then maybe the balance will be at the database level. It’s unique to your situation.

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

Sidebar

Related Questions

I have an application that queries and updates two databases at the same time
I am profiling a C++ application with Intel VTune Amplifier. Most of the time
I'm pulling in xml using the cocoa NSXmlParser. Since this process most likely won't
Since its possibly one of the most widely used methods of the Java language,
Since I didn't do a good job writing the last question, and most of
Since yesterday, I am analyzing one of our project with Ndepend (free for most
I need to implement a browser based component (most likely java applet since it
I'm writing an iPhone application which uses UIView with a CAEAGLayer as its layer.
Managed object context in most cases created in application delegate. What are the ways
I have a few time-consuming and (potentially) memory-intensive functions in my LAMP web application.

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.