Tengine
頁面Module:Message box/mbox.css沒有內容。頁面Template:Ambox/style.css沒有內容。
此條目的語調或風格或許不適合百科全書。 (2020年3月10日) |
頁面Module:Message box/mbox.css沒有內容。頁面Template:Ambox/style.css沒有內容。
此條目翻譯品質不佳。 (2020年3月10日) |
package.lua第80行Lua錯誤:module 'Module:CGroup/core' not found
頁面Module:Infobox/styles.css沒有內容。
| 開發者 | 淘寶(從Igor Sysoev的nginx複刻) |
|---|---|
| 首次發布 | 2011年11月29日[1][2] |
| 當前版本 | 3.1.0 (2023年10月27日) |
| 作業系統 | GNU/Linux Unix |
| 類型 | HTTP伺服器 |
| 許可協議 | 自由軟體 (BSD許可證) |
| 網站 | 官方網站 |
| 腳本錯誤:沒有「Template wrapper」這個模塊。 | |
Tengine是一個由淘寶核心系統開發部開發的HTTP伺服器[3],現時版本為3.1.0[4]。Tengine基於Nginx 1.0.10開發,二者配置兼容[5]。2011年11月29日,Tengine宣佈開源[5]。由於Tengine從Nginx復刻出來後,也不斷從Nginx繼承其更新,所以目前的版本兼容Nginx最新版1.8.1的所有特性,亦有HTTP2模塊同步於Nginx 1.11.6[1]。據W3Techs的統計,截止2024年6月,Tengine的市場佔有率為0.1%[6]。
與Nginx的差異[編輯]
淘寶的Tengine從原來的Nginx添加了下列各項內容[5]:
- 透過對上傳到HTTP後端伺服器或FastCGI伺服器的請求整流,以及透過增加一致性hash模塊、會話保持模塊,加上對伺服器的主動健康檢查,根據伺服器狀態而自動加添或減少伺服器的實例,大量減少對伺服器機器的I/O壓力,大大增強其負載均衡能力;
- 支援動態模塊加載(DSO)支持,透過把模塊編譯成為可共享程式庫package.lua第80行Lua錯誤:module 'Module:Ilh/data' not found,令伺服器增添模塊後無需再把整個伺服器程式重新編譯[7];
- CONCAT模塊:受到Apache HTTP Server的modconcat功能啟導,可將對多個CSS、JavaScript文件的訪問請求合併成一個請求[2],以提高壓縮比,減少數據流量;
- 輸入過濾器主體,以更方便地管理在防火牆和事件到HTTP級別之間的連接。
- Sysguard模塊[8],當伺服器的性能指標(例如響應時間、CPU使用率等)超出設定閾值時,限制用戶請求以保護系統。
上列內容主要是從處理請求的效率及擴展性的增潤。這些修正部分已被Nginx接納。
主要使用者[編輯]
- 淘寶網,2018年4月在Alexa排名全球第10位、中國第3位[9];
- 全球速賣通(Aliexpress.com),2018年4月在Alexa排名第52位、俄羅斯第10位[10]。
- 華文詞源百科網站
- Bilibili彈幕網站
- OSCHINA中文開源技術交流社區
- 香港航空官方網站
參考文獻[編輯]
- ↑ 1.0 1.1 package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ 2.0 2.1 package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ 5.0 5.1 5.2 package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
- ↑ package.lua第80行Lua錯誤:module 'Module:Citation/CS1/Identifiers' not found
外部連結[編輯]
package.lua第80行Lua錯誤:module 'Module:Navbar/configuration' not found