Django Book 翻译
菜单>:
TOC
返回
原文:
When a user requests the site they are sent to a cluster of Squid servers using lighttpd. There, servers then check if the user is logged in. If not, theyre served a cached page. A logged-in user is forwarded to a cluster of Web servers running apache2 plus mod_python (each with a large amount of memory), which then each rely on a distributed Memcached system and a beastly MySQL database server. Static content is hosted on a cluster of lighttpd servers. Media, such as large files and videos, are hosted (currently) on a server using a minimal Django install using lighttpd plus fastcgi. As of right now were moving toward pushing all media to a service similar to Amazons S3.
翻译:
當一個使用者要求這個網站,它們會被傳送到Squid (使用lighttpd)的叢集主機。在那裏,主機會檢查是否使用已經登入。假如不是,他們會招待一個快取頁面。一個已登入的使用者會被引導到一個網站主機(跑著lighttpd加上mod_python(每一個都擁有大量的記憶體))構成的叢集,依靠者分散式的Memcached系統和超強的MySQL 資料庫主機。靜態的內容是存放在由lighttpd 組成的叢集。多媒體,如大的影音檔,通常是放在用超小的Django 加上lighttpd 和 fastcgi。現在這些都移往,推向所有多某體到一個服務,類似Amazons S3。
备注:
译者: