I remember paying attention to the website architecture more than once in the university, but every time I was familiar with it, I did not focus on recording it. After a while, I lost my mind on the various architectures. Over the past few days, I have been eager to learn more about the website architecture, record something for you to read later, and provide some useful information to those who want to know about it. The following is my summary note for this study, if you have any mistakes, please point out that you may also hope that this article will inspire others to express their opinions.
1. MySpace Architecture
Looking back at the growth history of MySpace, It was amazing that his architecture had basically gone through five milestones. Every stage was so hasty, helpless, bumpy, and wonderful, to survive, websites have to do everything they can to optimize the system architecture and satisfy users. His inspiration to our future generations is to discover the bottleneck of the system as soon as possible. Designers should have a forward-looking idea during design, or they may have to upgrade your product in such a rush in the future.
Here is a detailed description of the "five milestones.
2. Summary of the website architecture
Flickr.com is one of the most popular photo sharing websites on the Internet. Do you still remember Hamad Darwish, which took a wallpaper for Windows Vista? He just uploaded the photo to Flickr and was taken into consideration by Microsoft to become a professional photographer for Vista wallpapers.
-- Pair of serveriron's Load Balancing
-- SQUID: cache HTML and photos
-- Memcached for data caching
-- In particular, MySQL Databases use master-slave and shards technologies to achieve Load Balancing for MySQL databases, solve database bottlenecks, and achieve horizontal database scaling.
Here is his detailed architecture description
3. YouTube architecture Summary
This seems to be harmonious in China and can be accessed only when the walls are crossed (somehow ). Look at his architecture:
-- NetScaler is used for load balancing and static content caching
-- Use Lighttpd as the Web server to provide video services
-- CDN backs up content in multiple places, so that the content is closer to the user and the chances are higher.
-- Using Google's bigtable, a distributed data storage and database
Shards: different users specify different shards,
Use bigtable to back up images to different data centers,CodeCheck who is the most recent
Here is the detailed architecture description of YouTube.
4. Summary of plentyoffish Architecture
I think this is the most amazing thing. A person who spends 2 hours a day can maintain a daily PV of 3000 W, and is based on. NET (haha, finally give us. netProgramA good example ). Briefly describe his architecture:
-- Use Microsoft Windows as the server
-- Use ASP. NET Technology
-- Use IIS as a Web Container
-- Use Akamai CDN to cache webpages
-- Use foundry serveriron for Load Balancing
-- Sqlserver adopts the master-slave architecture. The two are responsible for read operations, and the master is responsible for write operations.
-- All request data is compressed using gzip.
Detailed architecture description of plentyoffish
5. Summary of Wikipedia Architecture
Wikipedia is a global multilingual encyclopedia collaboration program based on Wiki technology. It is also a network encyclopedia presented on the Internet, its purpose and purpose is to provide free encyclopedias for all mankind-a dynamic, free and global body of knowledge written in the language of their choice.
-- Geodns allows users to access the web address closest to their regionServer
--Load Balancing with LVS
--Use Lighttpd as an image server
--Use mediawiki Software
--A large number of caches ),Squid acts as the reverse proxy,Memcached for data caching
--Use a MySQL database cluster
Detailed introduction to Wikipedia Architecture
Let's summarize so much for the time being. You are welcome to comment.