Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only consider stream output for data rate limit #2293

Merged
merged 2 commits into from Mar 22, 2017

Conversation

minrk
Copy link
Member

@minrk minrk commented Mar 15, 2017

large stream outputs cause much more problems than images or binary widget data, which seem to hit the rate limit more than anything.

this does open us up to large HTML and/or displayed text output potentially causing issues,
but most large outputs that have been hitting this limit do not cause issues (#2287).

The main throttle that's important is DOM elements to be added to the page. We can't feasibly distinguish between a massive million-element SVG and HTML with one big image in it.

This does explicitly remove the ability to do throttling based on bandwith. If people do want that, I can add the stream limit to a new config value. In that case, I would change the default all-output rate limit to no limit, so the same behavior as this PR, just with an extra knob.

closes #2287

large stream outputs cause much more problems than image output

this does open up to large HTML and/or displayed text output,
but those seem to behave well more often than they don't.
@minrk minrk added this to the 5.1 milestone Mar 15, 2017
@jbednar
Copy link

jbednar commented Mar 15, 2017

This sounds like a good solution. Thanks so much for the quick response!

@rgbkrk rgbkrk merged commit de61e20 into jupyter:master Mar 22, 2017
@rgbkrk
Copy link
Member

rgbkrk commented Mar 22, 2017

It just occurred to me that this was slated for 5.1 and I merged it on to master. Is this ok or do I need to revert it?

@takluyver
Copy link
Member

I think we should probably revert it, or make a 5.0.x branch from the previous commit to make the release from. We're really close to 5.0 now. @minrk what do you want to do?

@takluyver takluyver mentioned this pull request Mar 22, 2017
12 tasks
@minrk
Copy link
Member Author

minrk commented Mar 22, 2017

Reverting's probably easiest for now.

@takluyver
Copy link
Member

This was reverted in #2326, so it will need to be repeated for 5.1.

@rgbkrk
Copy link
Member

rgbkrk commented Mar 22, 2017

Thank you, my apologies. Glad this PR was made.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iopub rate limits are too low by default, for visualization-heavy projects
5 participants