MozTW 討論區

各項 Mozilla 相關軟體與技術討論
現在的時間是 2024-03-29, 04:51

所有顯示的時間為 UTC + 8 小時





發表新文章 回覆主題  [ 7 篇文章 ] 
發表人 內容
文章發表於 : 2011-07-07, 13:38 
離線
[MozTW 版主群]
頭像

註冊時間: 2008-10-10, 11:27
文章: 982
代碼:
network.http.max-connections;256

在 Firefox 6 beta 中 network.http.max-connections 預設值變更為 256,
沒想到這麼高的值已經被官方認可了,這個值沒有以往想像中的保守,
所以應該不會出現以往連線數調得太高會被 ban 的說法,看來以前是白擔心了。

其他像是
代碼:
network.http.max-connections-per-server;15
network.http.max-persistent-connections-per-server;6
network.http.max-persistent-connections-per-proxy;8

依然沒變動。這數值好像是參考 Chrome 的作法,
至於為何是 256 有人知道原因嗎?

_________________
圖檔


回頂端
Mozilla/5.0 (Windows NT 5.1; rv:7.0a2) Gecko/20110706 Firefox/7.0a2
 個人資料  
引用回覆  
文章發表於 : 2011-07-07, 15:10 
離線

註冊時間: 2011-05-02, 00:32
文章: 590
https://bugzilla.mozilla.org/show_bug.cgi?id=648570
相關的bug。調成256 應該只是跟chrome 相容吧?


回頂端
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110706 Firefox/8.0a1
 個人資料  
引用回覆  
文章發表於 : 2011-07-07, 21:24 
離線
[MozTW 版主群]
頭像

註冊時間: 2008-10-10, 11:27
文章: 982
Fanolian 寫:
https://bugzilla.mozilla.org/show_bug.cgi?id=648570
相關的bug。調成256 應該只是跟chrome 相容吧?

跟 Chrome 相容?什麼意思?

裡面似乎有說明
引言回覆:
this limit is currently at 30. This limit is global, it is different than the per host limit of 6 which remains unchanged.

The primary problem with the low limit is that it forces valid idle connections to be closed in order to meet demand for connections to different hosts. This happens a lot, and of course some fraction of those connections we close would have been useful in the future. There are some pages that involve more than 5 hosts and therefore exhaust the pool all by themselves.

the resources used to manage an idle connection in the client are pretty minimal, even the kernel.

This patch does not change the limit on mobile, the mobile pref file already overrides the 30 default.

_________________
圖檔


回頂端
Mozilla/5.0 (Windows NT 5.1; rv:6.0a2) Gecko/20110705 Firefox/6.0a2
 個人資料  
引用回覆  
文章發表於 : 2011-07-08, 01:07 
離線
頭像

註冊時間: 2003-07-17, 22:16
文章: 940
稍微簡單的翻譯一下好了
標題這個是全部的連線數(各網站加總),單一網站連線數還是不超過6
怕同時上太多網站 總連線數不夠用


回頂端
Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
 個人資料  
引用回覆  
文章發表於 : 2011-07-10, 13:32 
離線
頭像

註冊時間: 2006-01-12, 14:33
文章: 178
來自: 火狐星球
剛升級至6.0
預設的還是30啊

_________________
圖檔


回頂端
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
 個人資料  
引用回覆  
文章發表於 : 2011-07-11, 21:38 
離線

註冊時間: 2005-01-12, 18:31
文章: 44
Build不一樣吧?..我這個Build 20110707120024 預設己變成256


回頂端
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0
 個人資料  
引用回覆  
文章發表於 : 2011-08-12, 22:52 
離線

註冊時間: 2005-11-19, 17:01
文章: 134
來自: 月光之下
6.0-candidates 的 network.http.max-connections 預設值也成為了 256

不過, 在 ff4 時就已把它修改為 1000 了 :lol:


附加檔案:
檔案註釋: network.http.max-connections
max-connections.png [5.81 KiB]
被下載 784 次
回頂端
Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20100101 Firefox/6.0
 個人資料  
引用回覆  
顯示文章 :  排序  
發表新文章 回覆主題  [ 7 篇文章 ] 

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 3 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯您的文章
不能 在這個版面刪除您的文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
cron
Powered by phpBB® Forum Software © phpBB Group
正體中文語系由 竹貓星球 維護製作
© moztw.org, Mozilla Foundation
MozTW,Mozilla 台灣社群