Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Issue 9764003: Increase number of max sockets per group for WebSocket connections. (Closed)

Created:
8 years, 9 months ago by Yuta Kitamura
Modified:
8 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Increase number of max sockets per group for WebSocket connections. This change makes ClientSocketPoolManager aware of SocketPoolType so it can pick a different limit for normal socket pools and WebSocket socket pools. As an initial (experimental) setting, number of max sockets per group for WebSocket connections is raised to 30, and other limits are set to the same value as normal socket pools. This configuration should be revisited later when WebSocket protocol stack starts to work and a good amount of usage metrics are collected. BUG=118268 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128044

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add NUM_SOCKET_POOL_TYPES. #

Total comments: 4

Patch Set 3 : Use COMPILE_ASSERT. #

Patch Set 4 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -92 lines) Patch
M chrome/browser/browser_process_impl.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 2 chunks +14 lines, -8 lines 0 comments Download
M net/http/http_network_session.h View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 chunks +10 lines, -4 lines 0 comments Download
M net/http/http_network_session_peer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_network_transaction_spdy21_unittest.cc View 1 2 3 2 chunks +17 lines, -9 lines 0 comments Download
M net/http/http_network_transaction_spdy2_unittest.cc View 1 2 3 2 chunks +17 lines, -9 lines 0 comments Download
M net/http/http_network_transaction_spdy3_unittest.cc View 1 2 3 2 chunks +17 lines, -9 lines 0 comments Download
M net/http/http_pipelined_network_transaction_unittest.cc View 5 chunks +13 lines, -6 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/client_socket_pool_manager.h View 2 chunks +17 lines, -8 lines 0 comments Download
M net/socket/client_socket_pool_manager.cc View 1 2 4 chunks +65 lines, -19 lines 0 comments Download
M net/socket/client_socket_pool_manager_impl.h View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M net/socket/client_socket_pool_manager_impl.cc View 1 2 3 10 chunks +20 lines, -16 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Yuta Kitamura
William and Matt, could you review this? If net/ part is fine with you, I ...
8 years, 9 months ago (2012-03-20 19:24:34 UTC) #1
willchan no longer on Chromium
I only have a lame nit :) I'd prefer you do that, because it also ...
8 years, 9 months ago (2012-03-20 22:33:28 UTC) #2
Yuta Kitamura
William: Could you take another look? John: Could you take a look at chrome/ change ...
8 years, 9 months ago (2012-03-21 00:47:02 UTC) #3
mmenke
https://chromiumcodereview.appspot.com/9764003/diff/8001/net/socket/client_socket_pool_manager.cc File net/socket/client_socket_pool_manager.cc (right): https://chromiumcodereview.appspot.com/9764003/diff/8001/net/socket/client_socket_pool_manager.cc#newcode29 net/socket/client_socket_pool_manager.cc:29: }; Since we're specifying default values here, rather than ...
8 years, 9 months ago (2012-03-21 14:24:29 UTC) #4
mmenke
https://chromiumcodereview.appspot.com/9764003/diff/8001/net/socket/client_socket_pool_manager.cc File net/socket/client_socket_pool_manager.cc (right): https://chromiumcodereview.appspot.com/9764003/diff/8001/net/socket/client_socket_pool_manager.cc#newcode29 net/socket/client_socket_pool_manager.cc:29: }; On 2012/03/21 14:24:34, Matt Menke wrote: > Since ...
8 years, 9 months ago (2012-03-21 14:25:25 UTC) #5
Yuta Kitamura
https://chromiumcodereview.appspot.com/9764003/diff/8001/net/socket/client_socket_pool_manager.cc File net/socket/client_socket_pool_manager.cc (right): https://chromiumcodereview.appspot.com/9764003/diff/8001/net/socket/client_socket_pool_manager.cc#newcode29 net/socket/client_socket_pool_manager.cc:29: }; On 2012/03/21 14:25:25, Matt Menke wrote: > On ...
8 years, 9 months ago (2012-03-21 17:30:12 UTC) #6
jam
On 2012/03/21 00:47:02, Yuta Kitamura wrote: > William: Could you take another look? > > ...
8 years, 9 months ago (2012-03-21 17:31:48 UTC) #7
Yuta Kitamura
On 2012/03/21 17:31:48, John Abd-El-Malek wrote: > lgtm. i'm usually overloaded by reviews, so for ...
8 years, 9 months ago (2012-03-21 17:43:08 UTC) #8
willchan no longer on Chromium
lgtm On 2012/03/21 17:43:08, Yuta Kitamura wrote: > On 2012/03/21 17:31:48, John Abd-El-Malek wrote: > ...
8 years, 9 months ago (2012-03-21 17:53:20 UTC) #9
mmenke
LGTM
8 years, 9 months ago (2012-03-21 17:53:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yutak@chromium.org/9764003/15003
8 years, 9 months ago (2012-03-21 18:23:20 UTC) #11
commit-bot: I haz the power
8 years, 9 months ago (2012-03-21 20:29:54 UTC) #12
Change committed as 128044

Powered by Google App Engine
This is Rietveld 408576698