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

High traffic to mybinder.org #4

Closed
rgaiacs opened this issue Feb 6, 2024 · 6 comments
Closed

High traffic to mybinder.org #4

rgaiacs opened this issue Feb 6, 2024 · 6 comments

Comments

@rgaiacs
Copy link

rgaiacs commented Feb 6, 2024

Dear @hughshanahan,

we had a incident at the mybinder.org federation and our investigation, see jupyterhub/mybinder.org-deploy#2922, lead to this repository.

Since the end of April 2023, mybinder.org is running under reduced capacity as announced at https://blog.jupyter.org/mybinder-org-reducing-capacity-c93ccfc6413f.

Were you teaching and using this repository today? Thanks for the help!

@hughshanahan
Copy link
Owner

Hi - aagh apologies for not replying! Yes I was running a class using this notebook.

Hugh

@rgaiacs
Copy link
Author

rgaiacs commented Feb 23, 2024

Thanks @hughshanahan for the reply. I hope that your class went well.

@rgaiacs rgaiacs closed this as completed Feb 23, 2024
@hughshanahan
Copy link
Owner

Yes - it went fine. There were ~90 students using it per hour for two hours.My apologies if that was a drain on your resources. Do you mind me asking what was the problem it caused (if not just lots of instances being started?). The notebook itself is not doing any major computation (just showing students how to use NumPy).

@rgaiacs
Copy link
Author

rgaiacs commented Feb 26, 2024

Do you mind me asking what was the problem it caused (if not just lots of instances being started?).

For reasons that I don't know, a lot of builds for this repository started at the same time. We do one build per commit as the build is deterministic if the requirements.txt is configured properly. Once the build is complete, we launch the web service for the user. Launch is relatively cheap.

Because of the many builds at the same time, we were unable to launch new web services for new users.

@hughshanahan
Copy link
Owner

So - could it be I did something wrong on requirements.txt file?

@rgaiacs
Copy link
Author

rgaiacs commented Feb 27, 2024

could it be I did something wrong on requirements.txt file?

The requirements.txt is only used during the build.

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

No branches or pull requests

2 participants