performance - Best scaling methodologies for a highly traffic web application? -


We have a new project for a web app that will display banner ads on websites (as a network) and We estimate it handles impressions of 20 to 40 billion in a month.

Our current language is in ASP ... but going to PHP is there a limit on PHP 5's scaling web application? Or, should our team invest in choosing JSP?

Or, is this a matter of the app server and / or db? We are planning to use Oracle 10G as a database.

There is no crime, but I firmly doubt you <

that Said:

The language used in PHP or other languages ​​does not really have much to do with scalability. Since application-level delegates have this database or equivalent, since it requires you to have a suitable load balance, it is straightforward to add that much capacity. The choice of language affects the per-server efficiency and therefore costs, but it is different from scalability.

It is scaling the state / data collection which becomes more complex.

For your app, you have three basic jobs:

  1. What ads do we show?
  2. Ad Saving
  3. Impression Logging

Each of these will think and possibly different tools.

Second, to serve the Junk is the easiest: Use one. If you actually serve the volume you are claiming, you should be able to talk at favorable rates.

Deciding which ad to show for your advertisement is very specific. It can be as easy as reading a few rows from a database, which provides ad placement for a given asset for a given calendar period. Or it can be a complicated contextual ad like Google, let's say it is more than before, and that the placement data is small, then it is a simple task of scaling database. You can use fake trees or alternatively a caching layer.

The last would be the most difficult: How to Scale Writing A general approach would still be to use the database, but to adopt a sharding scaling strategy.

All of the above believe that you are able to secure the data center location and capable of running this load, network provisioning, which is not trivial on the number you are talking about.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -