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 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

Ask A Question

Stats

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

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

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Log in to http://developer.apple.com/iphone/ with your developer id and password.… May 12, 2026 at 6:35 pm
  • Editorial Team
    Editorial Team added an answer According to documentation the only way to create EJB <… May 12, 2026 at 6:35 pm
  • Editorial Team
    Editorial Team added an answer You can extract the user id without a API call,… May 12, 2026 at 6:35 pm

Related Questions

Our company is facing some difficulties with our CMS web application. This application was
Soon I will have to start a web project for a company, and I
We are developing an app that consists of a web server that hosts a
A customer need a document managment system and I'm building information about this. I
I'm getting ready to implement a source control system (subversion) but I'm facing some

Trending Tags

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

Top Members

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.