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

Issue 1029703002: ChannelMojo: Grow IPC message upper limit to 128MB (Closed)

Created:
5 years, 9 months ago by Hajime Morrita
Modified:
5 years, 9 months ago
Reviewers:
agl
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ChannelMojo: Grow IPC message upper limit to 128MB There are assumptions that the IPC message limit is 128MB so ChannelMojo has to allow messages in upto the message size. Such large messages happen when IDB reads/writes huge records. BUG=464151 R=agl@chromium.org Committed: https://crrev.com/5690575b71ebeb8e3bdb5ecdbadb8874be3f3f50 Cr-Commit-Position: refs/heads/master@{#322072}

Patch Set 1 #

Patch Set 2 : Landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M content/app/mojo/mojo_init.cc View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 11 (2 generated)
Hajime Morrita
5 years, 9 months ago (2015-03-23 21:12:01 UTC) #1
darin (slow to review)
Wow, seems like there is an opportunity to optimize IndexedDB IPC. Perhaps once we are ...
5 years, 9 months ago (2015-03-24 18:07:29 UTC) #2
jsbell
Note that a lower limit is acceptable too, we just need to ensure that code ...
5 years, 9 months ago (2015-03-24 18:10:28 UTC) #3
agl
I'm not sure that I can usefully opine about this, but if knowledge people think ...
5 years, 9 months ago (2015-03-24 18:17:03 UTC) #4
Hajime Morrita
On 2015/03/24 18:10:28, jsbell wrote: > Note that a lower limit is acceptable too, we ...
5 years, 9 months ago (2015-03-24 19:51:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1029703002/20001
5 years, 9 months ago (2015-03-24 19:53:18 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-24 21:21:12 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5690575b71ebeb8e3bdb5ecdbadb8874be3f3f50 Cr-Commit-Position: refs/heads/master@{#322072}
5 years, 9 months ago (2015-03-24 21:21:51 UTC) #10
jsbell
5 years, 9 months ago (2015-03-24 23:26:46 UTC) #11
Message was sent while issue was closed.
On 2015/03/24 18:07:29, darin (slow to review) wrote:
> Wow, seems like there is an opportunity to optimize IndexedDB IPC. Perhaps
> once we are using Mojo IPC for it, we can use a DataPipe for transferring
> (streaming) such huge records.

Yep. :)

Fortunately, this is pretty rare. Now that we have Blob support in IDB, we
encourage developers to use that for big records. dmurph@ is working on scaling
up the blob transport system to handle ridiculously large amounts of data too.
We've also considered auto-blobifying big IDB records anyway, since leveldb
doesn't handle big records particularly well either.

Powered by Google App Engine
This is Rietveld 408576698