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 38499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:43:03+00:00 2026-05-10T14:43:03+00:00

In general, what kinds of design decisions help an application scale well? (Note: Having

  • 0

In general, what kinds of design decisions help an application scale well?

(Note: Having just learned about Big O Notation, I’m looking to gather more principles of programming here. I’ve attempted to explain Big O Notation by answering my own question below, but I want the community to improve both this question and the answers.)

Responses so far
1) Define scaling. Do you need to scale for lots of users, traffic, objects in a virtual environment?
2) Look at your algorithms. Will the amount of work they do scale linearly with the actual amount of work – i.e. number of items to loop through, number of users, etc?
3) Look at your hardware. Is your application designed such that you can run it on multiple machines if one can’t keep up?

Secondary thoughts
1) Don’t optimize too much too soon – test first. Maybe bottlenecks will happen in unforseen places.
2) Maybe the need to scale will not outpace Moore’s Law, and maybe upgrading hardware will be cheaper than refactoring.

  • 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. 2026-05-10T14:43:04+00:00Added an answer on May 10, 2026 at 2:43 pm

    The only thing I would say is write your application so that it can be deployed on a cluster from the very start. Anything above that is a premature optimisation. Your first job should be getting enough users to have a scaling problem.

    Build the code as simple as you can first, then profile the system second and optimise only when there is an obvious performance problem.

    Often the figures from profiling your code are counter-intuitive; the bottle-necks tend to reside in modules you didn’t think would be slow. Data is king when it comes to optimisation. If you optimise the parts you think will be slow, you will often optimise the wrong things.

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

Sidebar

Related Questions

Quick question about general MVC design principle in PHP, using CodeIgniter or Kohana (I'm
This is a question about Application design rather than how-to-do specific actions. I am
i just create reading file feature. In general, what kind PHP class that usually
General context : MVVM application. I have a View called JobView. Its DataContext is
I have a general question about this. When you have a gallery, sometimes people
Intro In the application I 'm currently working on, there are two kinds of
I asked this question in a more general design context before. Now, I'd like
I'm trying to build an authentication system in my application, but I'm having some
I'm looking at the kauth tech note , but this isn't about that specifically.
Does someone have any tips/advice on database design for a web application? The kind

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.