-
Notifications
You must be signed in to change notification settings - Fork 108
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
UCB Data 8 / Prob 140 Upcoming Kernel Usage #34
Comments
Some (very) preliminary thoughts on the topic of rate limiting single repositories jupyterhub/binderhub#242 |
just a clarifying question here: you're planning to use mybinder.org, and not set up your own binderhub server? |
@choldgraf We are currently planing on using mybinder.org . Let me know if things have changed and mybinder.org is no longer okay to use. |
It should work fine but may slow down if a ton of traffic hits it at once, just noting that our goal is to have multiple binderhubs in existence because it is definitely a limited resource :-) |
I suspect it'll be 15-20 instances max, and we should have no problems. |
Oh, that's no big deal at all then. I was imagining hundreds of people
hitting it at the same time
…On Tue, Nov 21, 2017, 4:57 PM Yuvi Panda ***@***.***> wrote:
I suspect it'll be 15-20 instances max, and we should have no problems.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABwSHaha_ZeHCkX18WSFjUDJ44kD4u4Vks5s43F7gaJpZM4QlTPG>
.
|
BTW, we are now seeing 500 concurrent Binders from these sources, I think because Binders could be requested on pageview, rather than as needed. If the clients do either or both of:
then things should improve dramatically |
@minrk do you think we're at a point where we can write a guide for people to plug into the Binder backend in this way? |
Should we keep this open until we unban the repos? I think as a general strategy it would be good to open an issue on the mybinder-deploy repo for each ban to document why it was banned, contain any discussions related to the ban, and serve as a reminder that there is a ban (that should be lifted eventually). Which would suggest that we close this issue and create such an issue for this ban. |
I just added a jupyterhub/mybinder.org-deploy#357 going to close this, but if somebody disagrees then feel free to re-open |
We'd like to use BinderHub kernels to allow for widgets to display in the Data 8 and Prob 140 textbooks. Although this is still in the works, I wanted to give you a heads up so we can work out potential issues sooner rather than later.
Rough timeline (exact dates TBD):
Back-of-the-envelope calculations on usage:
Data 8's textbook gets around 8k views on a peak day. If we assume that the views are evenly distributed through an 8-hour workday, that's 1k views per hour, or 17 views per minute.
Suppose each user's kernel lasts 10 minutes on average, and that each view creates a kernel. This means that there will be an extra 170 kernels running on average during peak hours.
(Prob 140's textbook gets significantly less traffic, so I believe Data 8's usage will dominate.)
How I'm going to help manage load:
One idea for managing load on the Binder team side: Set a quota for Data 8 textbook servers and deny requests when the quota is filled.
Please let me know if you foresee any issues with this! Happy to work around any constraints that you have.
cc @yuvipanda @CalebS97 @ryanlovett
The text was updated successfully, but these errors were encountered: