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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:21:31+00:00 2026-05-13T07:21:31+00:00

This is something I’ve always wondered about. I understand that horizontal scaling is about

  • 0

This is something I’ve always wondered about. I understand that horizontal scaling is about adding more machines into the mix. But I can think of two approaches to this. Suppose I have 20 servers I want to use (plus a database). I can:

  1. Make all 20 servers run as application servers.
  2. Make different servers do different parts of a task. For instance, have one set of servers handle the request, then another set to apply business logic, and then another to make the database call.

Number 1 seems to be more common and easier to understand, but number 2 seems to be considered “best practice” (as it’s mostly an n-tier architecture). How does one choose between these two models? And what are the pros and cons of each approach?

  • 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-13T07:21:32+00:00Added an answer on May 13, 2026 at 7:21 am

    It depends on the task, and what would be your bottlenecks.

    Almost without exception, you’re going to need at least two kinds of server: 1) Application and 2) Database. If you distribute the application servers, you still need to synchronize data between them, making one of those servers (or a separate server) be your database server.

    If you know the database will not be hit with much traffic (e.g.: you are running a live chat-based site, and not much data is permanently stored or synchronized) then the choice of making nothing but application servers might be fine.

    Choice #2 is better, however, for a majority of sites, especially if you don’t know in advance which servers will become bottlenecks. If you don’t allow for each server type to scale, then you’ll be stuck having to rewrite source code during unexpected growth spurts. Then you’ll have to make difficult decisions like “Which features should we disable so the site can still function while we work on scaling?”

    Honestly, though, I wouldn’t spend too much time worrying about scalability. Once you reach a point where your server loads are becoming too high, you will be able to afford some source rewrites. Either through newly discovered sources of funding, or through direct profits off the site. Case in point: Twitter is still doing great.

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

Sidebar

Related Questions

No related questions found

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.