Thursday, April 10, 2008

LAMP Architecture


Building Scalable Web Architectures
Aaron Bannert
aaron@apache.org / aaron@codemass.com

LAMP combines Linux, Apache, MySQL, PHP or Perl. It is a layer sturcture just like other web architectures.

The outmost layer to direct connect to Internet is the External Cache layer.
It can be Squid, Apache's Mod_proxy or commercial HTTP accelerator

The web server Tier can be make up of Apache, thttpd, Tux Web Server, IIS, Netscape.
It should have a lot of memory.

Application server Tier provide decoupling code into distrinct services, which may reduce the chance for process bottlenecks.

Database Tier, may use free open source product or commercial product to hand data storage and retrieval.

Internal cache Memcache is suggest becuase it is a distributed cache system and use to store short-lived objects from web or application tier.

It provides load balance for HTTP Caches and Servers, App Servers, and DB Slaves.

LAMP provides Scalability, reliability, low cost, flexible, extandable even for large systems. It allows grow in small steps, stay up when it counts, can grow with needs, have rooms for future expension, low cost used mainly open source applications, high Quality of Service (fast page load), Minimal Downtime, Stability, Redundancy, and Resilience.

No comments: