Mar
3
Web 2.0 Kit/Olio - Reference Architecture for web 2.0
抄写此文.是为了记录,以便空闲时进行了解.
原文:http://cooltools.sunsource.net/web20kit/index.html
Overview
Most web2.0 sites today use open source languages and frameworks such as PHP, Ruby on Rails and Java EE to develop their applications. Deployments of these applications also use popular open source servers such as Apache httpd, MySQL, memcached and glassfish. Many other servers/technologies such as lighttpd, mogileFS, mongrels, JRuby are also gaining popularity.
With the myriad technologies available, it is not easy to understand how they differ, especially in terms of performance and scalability. With varied levels of documentation available for some open source applications, it is also quite difficult for a web2.0 startup to understand the correct manner of usage of these technologies so that they don't become a bottleneck as their site grows.
Web20Kit / Olio
To help understand the differences in these various web technology stacks and infrastructure applications, we developed the web20kit which has now been open-sourced and is an Apache Incubator project called Olio . web20kit / Olio is a Reference Architecture to help both emerging and established organisations evaluate the suitability, functionality and performance of web technologies.
Olio defines an example web application (a social events calendar) and currently provides two implementations of this application: PHP and Rails . The kit also defines ways to drive load against the application in order to measure performance.
Features
Understand how to use various web2.0 technologies such as AJAX, memcached, mogileFS etc. in the creation of your own application. Use the code in the application to understand the subtle complexities involved and how to get around issues with these technologies.
Evaluate the differences in the implementations: php and rails to understand which might best work for your situation.
Within each language implementation, evaluate different infrastructure technologies by changing the servers used (e.g: apache vs lighttpd, mysql vs postgre, ruby vs Jruby etc.)
Resources
We introduced the web20kit publicly at the Velocity '08 Conference on Web Performance and Operations. Check out our Presentation
Web20kit MySQL Performance
Lighttpd Performance on CMT
The Olio Project





