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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:21:44+00:00 2026-05-12T17:21:44+00:00

We are Web 2.0 company that built a hosted Content Management solution from the

  • 0

We are Web 2.0 company that built a hosted Content Management solution from the ground up using LAMP. In short, people log into our backend to manage their website content and then use our API to extract that content. This API gets plugged into templates that can be hosted anywhere on the interwebs.

Scaling for us has progressed as follows:

  1. Shared hosting (1and1)
  2. Dedicated single server hosting (Rackspace)
  3. 1 Web Server, 1 DB Server (Rackspace)
  4. 1 Backend Web Server, 1 API Web Server, 1 DB Server
  5. Memcache, caching, caching, caching.

The question is, what’s next for us? Every time one of our sites are dugg or mentioned in a popular website, our API server gets crushed with too many connections. Or every time our DB server gets overrun with queries, our Web server requests back up.

This is obviously the ‘next problem’ for any company like ours and I was wondering if you could point me in some directions.

I am currently attracted to the virtualization solutions (like EC2) but need some pointers on what to consider.

  • 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-12T17:21:44+00:00Added an answer on May 12, 2026 at 5:21 pm

    What/where/how to scale is dependent on what your issues are. Since you’ve been hit a few times, and you know it’s the API server, you need to identify what’s actually causing the issue.

    Is it DB lookup times?

    A volume of requests that the web server just can’t handle even though they’re shortlived?

    API requests take too long to process? (independent of DB lookups, e.g., does the code take a bit to run)?

    Once you identify WHAT the problem is, you should have a pretty clear picture of what you need to do. If it’s just volume of requests, and it’s the API server, you just need more web servers (and code changes to allow horizontal scaling) or a beefier web server. If it’s API requests taking too long, you’re looking at code optimizations. There’s never a 1-shot fix when it comes to scalability.

    The most common scaling issues have to do with slow (2-3 seconds) execution of the actual code for each request, which in turn leads to more web servers, which leads to more database interactions (for cross-server sessions, etc.) which leads to database performance issues. High performance, server independent code with memcache (I actually prefer a wrapper around memcache so the application doesn’t know/care where it gets the data from, just that it gets it and the translation layer handles DB/memcache lookups as well as populating memcache).

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

Sidebar

Related Questions

I'm working in a small company and weeks away from deploying a web-app that
I work for a small web development company (only 2 to 3 developers) that
My company develop web apps using combination of mod_perl, axkit and apache. We have
My company has a web document management application and I have been assigned to
I'm currently working at a small web development company, we mostly do campaign sites
I need to find a way to crawl one of our company's web applications
Our company runs a web site (oursite.com) with affiliate partners who send us traffic.
Our company has a fairly large ASP.NET web application. The app is already broken
The main web application of my company is crying out for a nifty set
A large international company deploys a new web and MOTO (Mail Order and Telephone

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.