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

adding diagram for jupyterhub #481

Merged
merged 1 commit into from
Feb 28, 2018
Merged

Conversation

choldgraf
Copy link
Member

This adds a diagram for a high-level view of JupyterHub. I think there are probably many improvements to be made, but I feel like it's better to have something we can iterate on. Would love to hear what people think!

The google slide used to create the image can be found here: https://docs.google.com/presentation/d/1t5W4Rnez6xBRz4YxCxWYAx8t4KRfUosbCjS4Z1or7rM/edit#slide=id.p

edits or comments are welcome!

closes #10

@yuvipanda
Copy link
Collaborator

Hey @choldgraf, I added comments + made some minor changes in the google slides you linked to. Thank you very much for making these!

@consideRatio
Copy link
Member

consideRatio commented Feb 17, 2018

I considered some changes, it's really tough to make a clean concise diagram though. The original document is available in the Feb 13 at 4:22 pm revision by Chris.

@choldgraf
Copy link
Member Author

I incorporated a bunch of @consideRatio 's changes and cleaned things up a bit more in general...LMK what people think.

@choldgraf choldgraf force-pushed the diagram branch 2 times, most recently from 48a2f0a to ac6ea06 Compare February 23, 2018 19:58
@choldgraf
Copy link
Member Author

one question: on the jupyterhub side, what serves the actual user interface? is it hub- or proxy-?

@consideRatio
Copy link
Member

consideRatio commented Feb 23, 2018 via email

@choldgraf
Copy link
Member Author

yep - I think that's it...basically if the cookie says the person has a jupyter server for them it'll just redirect you to the pod...if the server isn't present or cookie not there, it redirects you to the hub which handles authentication etc

and then the way I think Binder works is that it directs you to a Hub that's using a dummy authenticator that automatically creates a temporary user and immediately redirects to your pod when it's ready.

@consideRatio
Copy link
Member

@choldgraf is all HTML etc always server through the proxy? Will the binder use the jupyterhub's proxy or have one additional layer of proxy on top perhaps?

Im thinking that the user will keep speaking with the same IP all the time, for the JH and the BH, is that correct?

@choldgraf
Copy link
Member Author

@consideRatio I think it's a different IP since if you notice, on binder you're redirected to https://hub.mybinder.org which handles subsequent directing to user pods

@choldgraf
Copy link
Member Author

FYI this one is ready to go from my end. I think the diagram could use improvements but is a helpful addition. I'm happy to spot-check things moving forward...

@consideRatio
Copy link
Member

Looks great!

@willingc willingc merged commit 1616599 into jupyterhub:master Feb 28, 2018
@willingc
Copy link
Collaborator

@choldgraf Sorry this one slipped off my radar. Merging.

@manics manics mentioned this pull request Aug 15, 2018
7 tasks
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

Successfully merging this pull request may close these issues.

Create a diagram showing how the services interact
4 participants