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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:16:58+00:00 2026-05-16T14:16:58+00:00

I want to scale an e-commerce portal based on LAMP. Recently we’ve seen huge

  • 0

I want to scale an e-commerce portal based on LAMP. Recently we’ve seen huge traffic surge.

What would be steps (please mention in order) in scaling it:

  1. Should I consider moving onto Amazon EC2 or similar? what could be potential problems in switching servers?

  2. Do we need to redesign database? I read, Facebook switched to Cassandra from MySql. What kind of code changes are required if switched to Cassandra? Would Cassandra be better option than MySql?

  3. Possibility of Hadoop, not even sure?

  4. Any other things, which need to be thought of?

Found this post helpful. This blog has nice articles as well. What I want to know is list of steps I should consider in scaling this app.

  • 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-16T14:16:59+00:00Added an answer on May 16, 2026 at 2:16 pm

    First, I would suggest making sure every resource served by your server sets appropriate cache control headers. The goal is to make sure truly dynamic content gets served fresh every time and any stable or static content gets served from somebody else’s cache as much as possible. Why deliver a product image to every AOL customer when you can deliver it to the first and let AOL deliver it to all the others?

    If you currently run your webserver and dbms on the same box, you can look into moving the dbms onto a dedicated database server.

    Once you have done the above, you need to start measuring the specifics. What resource will hit its capacity first?

    For example, if the webserver is running at or near capacity while the database server sits mostly idle, it makes no sense to switch databases or to implement replication etc.

    If the webserver sits mostly idle while the dbms chugs away constantly, it makes no sense to look into switching to a cluster of load-balanced webservers.

    Take care of the simple things first.

    If the dbms is the likely bottle-neck, make sure your database has the right indexes so that it gets fast access times during lookup and doesn’t waste unnecessary time during updates. Make sure the dbms logs to a different physical medium from the tables themselves. Make sure the application isn’t issuing any wasteful queries etc. Make sure you do not run any expensive analytical queries against your transactional database.

    If the webserver is the likely bottle-neck, profile it to see where it spends most of its time and reduce the work by changing your application or implementing new caching strategies etc. Make sure you are not doing anything that will prevent you from moving from a single server to multiple servers with a load balancer.

    If you have taken care of the above, you will be much better prepared for making the move to multiple webservers or database servers. You will be much better informed for deciding whether to scale your database with replication or to switch to a completely different data model etc.

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

Sidebar

Related Questions

I want to scale images these day and find the following example: Example #1
We want to scale, rotate and drag functionality in flash as3. I do have
I want to scale my round rectangle and keep it's radius from been changed.
I want to scale the picture to fit the main div class http://jsfiddle.net/EyW99/ Sorry,
I want to scale out my EC2 instances on AWS. For this I have
Say I have a BitmapData of 600x600 and I want to scale it down
Summary: I want a horizontal row of ImageButtons to scale down evenly to fit
I'm looking to create a fairly large-scale ASP.NET MVC project and I want to
I'm trying to use CSS3 animations to scale up a div. However, I want
Here is what I want to do. I am setting up a new commerce

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.