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

Issue 205343003: [GCM] Add port 443 fallback logic and histograms (Closed)

Created:
6 years, 9 months ago by Nicolas Zea
Modified:
6 years, 9 months ago
CC:
chromium-reviews, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

[GCM] Add port 443 fallback logic and histograms Alternate between the default (5228) endpoint and the fallback (443) endpoint. Also introduce histograms for tracking endpoint and proxy success rate. BUG=351890 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258720

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments, update tests #

Total comments: 6

Patch Set 3 : Update comments #

Total comments: 2

Patch Set 4 : Update histogram enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -13 lines) Patch
M google_apis/gcm/engine/connection_factory_impl.h View 1 2 3 chunks +12 lines, -3 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.cc View 1 2 6 chunks +31 lines, -5 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl_unittest.cc View 1 5 chunks +13 lines, -2 lines 0 comments Download
M google_apis/gcm/gcm_client_impl.cc View 1 2 chunks +11 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 22 (0 generated)
Nicolas Zea
PTAL
6 years, 9 months ago (2014-03-19 23:16:04 UTC) #1
jianli
https://codereview.chromium.org/205343003/diff/1/google_apis/gcm/engine/connection_factory_impl.h File google_apis/gcm/engine/connection_factory_impl.h (right): https://codereview.chromium.org/205343003/diff/1/google_apis/gcm/engine/connection_factory_impl.h#newcode94 google_apis/gcm/engine/connection_factory_impl.h:94: // Index to the endpoint for a which a ...
6 years, 9 months ago (2014-03-20 01:11:53 UTC) #2
fgorski
https://codereview.chromium.org/205343003/diff/1/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/205343003/diff/1/google_apis/gcm/engine/connection_factory_impl.cc#newcode250 google_apis/gcm/engine/connection_factory_impl.cc:250: UMA_HISTOGRAM_COUNTS("GCM.ConnectionEndpoint", current_endpoint_); How/what exactly do you mean to measure ...
6 years, 9 months ago (2014-03-20 16:45:41 UTC) #3
Nicolas Zea
PTAL https://codereview.chromium.org/205343003/diff/1/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/205343003/diff/1/google_apis/gcm/engine/connection_factory_impl.cc#newcode250 google_apis/gcm/engine/connection_factory_impl.cc:250: UMA_HISTOGRAM_COUNTS("GCM.ConnectionEndpoint", current_endpoint_); On 2014/03/20 16:45:42, Filip Gorski wrote: ...
6 years, 9 months ago (2014-03-20 20:10:02 UTC) #4
jianli
https://codereview.chromium.org/205343003/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/205343003/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc#newcode249 google_apis/gcm/engine/connection_factory_impl.cc:249: next_endpoint_++; What if GetCurrentEndpoint() uses last_successful_endpoint_ and it failed? ...
6 years, 9 months ago (2014-03-20 23:10:21 UTC) #5
Nicolas Zea
https://codereview.chromium.org/205343003/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/205343003/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc#newcode249 google_apis/gcm/engine/connection_factory_impl.cc:249: next_endpoint_++; On 2014/03/20 23:10:21, jianli wrote: > What if ...
6 years, 9 months ago (2014-03-20 23:53:29 UTC) #6
jianli
lgtm https://codereview.chromium.org/205343003/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/205343003/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc#newcode249 google_apis/gcm/engine/connection_factory_impl.cc:249: next_endpoint_++; On 2014/03/20 23:53:30, Nicolas Zea wrote: > ...
6 years, 9 months ago (2014-03-21 00:13:18 UTC) #7
Nicolas Zea
Done. Filip, did you have any further comments? https://codereview.chromium.org/205343003/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/205343003/diff/20001/google_apis/gcm/engine/connection_factory_impl.cc#newcode249 google_apis/gcm/engine/connection_factory_impl.cc:249: next_endpoint_++; ...
6 years, 9 months ago (2014-03-21 00:35:10 UTC) #8
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-21 01:38:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/205343003/40001
6 years, 9 months ago (2014-03-21 01:39:56 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 02:16:39 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=56657
6 years, 9 months ago (2014-03-21 02:16:40 UTC) #12
Nicolas Zea
+Alexei for histograms
6 years, 9 months ago (2014-03-21 02:18:03 UTC) #13
Alexei Svitkine (slow)
https://codereview.chromium.org/205343003/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/205343003/diff/40001/tools/metrics/histograms/histograms.xml#newcode6578 tools/metrics/histograms/histograms.xml:6578: + gcm_client_impl.cc for endpoint definitions. Can they be enumerated ...
6 years, 9 months ago (2014-03-21 15:31:43 UTC) #14
fgorski
lgtm
6 years, 9 months ago (2014-03-21 15:39:27 UTC) #15
Nicolas Zea
Histogram enums updated, PTAL
6 years, 9 months ago (2014-03-21 17:47:02 UTC) #16
Nicolas Zea
https://codereview.chromium.org/205343003/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/205343003/diff/40001/tools/metrics/histograms/histograms.xml#newcode6578 tools/metrics/histograms/histograms.xml:6578: + gcm_client_impl.cc for endpoint definitions. On 2014/03/21 15:31:43, Alexei ...
6 years, 9 months ago (2014-03-21 17:47:16 UTC) #17
Alexei Svitkine (slow)
lgtm
6 years, 9 months ago (2014-03-21 17:52:06 UTC) #18
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-21 21:38:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/205343003/60001
6 years, 9 months ago (2014-03-21 21:40:40 UTC) #20
commit-bot: I haz the power
Change committed as 258720
6 years, 9 months ago (2014-03-22 00:35:34 UTC) #21
Lei Zhang
6 years, 9 months ago (2014-03-22 01:11:03 UTC) #22
Message was sent while issue was closed.
FYI, this broke the build. The trybots don't build the mcs_probe target, but the
real bots do.

Powered by Google App Engine
This is Rietveld 408576698