Description
Update: Google Colab is looking very promising. Next steps:
- SGM tries example with full LaTex - how much does it slow down loading?
- check all notebooks work in Colab (will need to at least add import statements) (SGM can do this by forking REMARKs repo)
If we decide on Colab, we will then:
- update how we direct people on the website
- reformat REMARKs to remove now-unnecessary mybinder structure
Currently, mybinder takes several minutes to load our remarks and other notebooks. We'd like anyone loading a notebook from the econARK site to be able to access it quickly, definitely in under 30 seconds and ideally faster. Not sure whether we need special hosting, caching, etc to make this happen. Relatedly, our current setup causes issues with dependency management (see issue #12).
Use cases:
- giving a presentation or sharing with a colleague, when you need to launch your own notebook quickly and interactively
- teaching a workshop, with dozens of individuals needing to interact with a notebook
- random visitors to the website
The above use cases have different limitations. A lot of platforms I've investigated have access control such that it would be hard to provide this service to anonymous internet people but easy enough for anyone we approve of and who can spare a few minutes of initial setup. It's possible we could set up a two tiered system where community members (and the students/workshop attendees of community members) can launch notebooks quickly and internet strangers continue to use the mybinder system. (Although this doesn't address the dependency management aspect, just the performance aspect.)
Potential approaches:
- find a hosting platform that allows us to do this (trying this first, since it's the easier option; see list below)
- set up our own hosting system, perhaps on AWS (OTS did this for us briefly last year, for a specific event)
People to consult:
- OTS
- QuantEcon (Though they appear to use the same mybinder.org-based solution that we currently do, with corresponding 30 second launch times. What did they customize?)
Hosting Platforms & Notes
- Google Colab
- CodeOcean - major roadblock here is that you have to login to run notebooks interactively