• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 626
  • Last Modified:

Planning Amazon Web Service for hosting

Hi AWS Experts;

We have an application based on Apache/PHP and PostgreSQL. And looking forward to host this with the AWS and now I'm performing a R&D prior to start off.

Below is the application type in brief;

1. Main purpose of this application is Media upload/download and streaming
2. 8000 active use base and 3000 concurrent will be expected during the peak time
3. Geographically 90% from Australia, New Zealand and the rest will from United Kingdom and South Asia
4. They expect about 25,000 to 40,000 users during next 3 years

In high level, I'm planning to deploy PostgreSQL Hot Standby Cluster, only the primary database will be OLTP, and the other two standby servers will be OLAP. (three servers in the cluster)

And initially two web servers(Apache)  and two application servers(Apache) will be placed and this should be scale up adding more web and app servers whenever required.

Depending your experience with AWS, is it possible to archive my goal ? what are the important things to  consider here ?

Thanks a lot for your time !
  • 2
  • 2
1 Solution
In your architecture, what is the functional difference between Apache web server and Apache App server? Why do you plan for both?
Shakthi777Author Commented:
Actually, I can plan only web servers.

Or I might handle all the public requests at the web server layers and handover the back end processing to the app servers.

Both of scenarios are possible.
Apache can cache static content in a ramdisk (memory cache is somewhat semi-usable) to save IO bits.
pgpool can greatly reduce number of posthres processes kept running (maybe you dont need OLAP on replica in the end)
Shakthi777Author Commented:
thanks a lot for the valuable comment !
There is varnish, memcached, and nginx to speed things up and construct global CDN
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now