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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:33:30+00:00 2026-05-21T12:33:30+00:00

I have a site that’s growing large, and has very separate needs for different

  • 0

I have a site that’s growing large, and has very separate needs for different users. Until now, one application has sufficed for serving all user needs.

Now that we’re growing, I want to separate the code base out so I have an application to serve for each major use case. In this context, when I say application I specifically mean web applications.

My initial thought was to create a master API application that acts as a web service to facilitate all the functionality of each application. However, when I thought about that further, I thought that using HTTP as what is essentially a data layer will really kill performance and I’d rather not throw hardware $ at that problem to fix that.

On the other hand, I have very robust data models (using an ORM) that I could easily copy over to each application. As long as I made sure that this data model layer remained the same for each application, I think I should be able to expect data consistency across each application.

What else should I be concerned about? The more I think about this approach, the better it seems to me — Apache already normally spawns an instance of the current application for each client, so several applications are already accessing the database all at once. This architecture should the same, just the code that is calling the database queries would be different.

Are there any other con’s I’m missing here?

For the record, the technology stack is standard LAMP.

  • 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-21T12:33:30+00:00Added an answer on May 21, 2026 at 12:33 pm

    I think you are on the right track.

    Consider any useful and complex website, for example Stack Overflow. It has one interface (application) when searching for answers to a question. It has quite another one when reading answers to a question, and yet another for answering a question. It has yet another application paradigm for moderation. And it has a sophisticated ability to migrate questions to other sites.

    And yet they all coexist happily. The data model is key, but so is code which preserves and protects integrity of normalized data.

    As for scalability, Wikipedia has a similar model. Scaling is solved by using four (maybe five) database servers, one the master and the others as slaves. Any d/b server can respond to a read query, but only the master accepts writes. Of course there are also hundreds of webservers which run “the applications” and there are also hundreds of web cache servers to balance performance. But the database architecture mirrors the fact that 99+% of all page hits are reads.

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

Sidebar

Related Questions

I have one site that is displaying html content that needs to be displayed
I have a site that usually has news items at the top of the
We have a site that needs to (as part of our process) generate a
I have a site that has a simple HTML button in a form. All
I have a site that requires Windows Authentication the application obtains the credential from
I have a site that is using x509 client certificates (2 way SSL) to
I have a site that I've developed that makes decent use of Javascript, and
I have a site that I am currently working on in ASP.NET 2.0 using
I have a site that will ultimately support 4 languages and 2 countries (US
I have a site that uses a couple DropDownLists that are databound. I was

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.