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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:00:40+00:00 2026-05-17T00:00:40+00:00

Hi Consider a somewhat process consuming PHP application that works heavily with complex DB

  • 0

Hi
Consider a somewhat process consuming PHP application that works heavily with complex DB transactions, and doesn’t have any choice but to have fairly high memory consuming algorithms. Like up to 4MB memory usage per request. (1 MB on average for those certain requests, less than 200KB of variable data for regular requests)
Its obvious that we are gonna use something like Amazon S3 to host our static data, but it’s apparent that most of the load is on the dynamic parts.

The app will run on multiple servers, but how does that work? Do we make it like an ordinary application that runs on a single server, and the additional servers will just make it act like one big server with huge amounts of memory and processing power?

Our problem is, although the app is written in an extremely modular fashion, the process forces us to have everything in the same environment. We can put the database on a machine that’s optimized for serving that, but there is almost no way to like put different modules of the application code itself on different servers.

So, what are the common solutions for this?

  • 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-17T00:00:41+00:00Added an answer on May 17, 2026 at 12:00 am

    Out of MANY scalability solutions, one thing you can do is Load balancing with requests. If you can’t put different parts of your applications on different servers, put the whole application
    replicated on multiple servers.

    Now, end user request doesn’t directly go to your application server. You need a load balancer (example: F5 Big IP) in between. The load balanacer will detect the most optimum server from the
    server pool and redirect request to that server. This way adding / removing a server takes 10-15 minutes of configuration on the load balancer.

    How does load balancer know which server to select ?

    A loadBlanacer script runs on each server which informs about server load / memory usage / process counts etc .. depending upon that it selects a server

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

Sidebar

Ask A Question

Stats

  • Questions 531k
  • Answers 531k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Past tense of English verbs is a lot more complicated… May 17, 2026 at 12:01 am
  • Editorial Team
    Editorial Team added an answer In Django origin models this fields are named based on… May 17, 2026 at 12:01 am
  • Editorial Team
    Editorial Team added an answer You should be able to use the SO_REUSEADDR socket option… May 17, 2026 at 12:01 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm experiencing what I would consider somewhat strange behavior. Specifically if I have a
Is it possible to have nested set capabilities in this somewhat custom setup? Consider
Consider a PHP web application whose purpose is to accept user requests to start
I am in the process of moving from a username/password system to one that
Somewhat similar to this question , except we haven't decided that we're going with
I consider myself somewhat familiar with Vim, hate the arrow keys (let alone the
A question for all who consider themselves somewhat experienced in Java apps for mobile.
This is somewhat of a sequel to Slow Exists Check . Alex's suggestion works
I'm always referencing DLLs in my C# code, but they have remained somewhat of
Arbitrage is the process of using discrepancies in currency exchange values to earn profit.

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.