-
Notifications
You must be signed in to change notification settings - Fork 32
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
[feature-request] create an engine playground #202
Comments
We're half way there. Right now @rporres is able to do this, and we use them (they are based on the current Since they are provisioned on demand (since we use a new GCP instance per user), we would need a small frontend like Docker.com does with their trial and automated provisioning (should be relatively straight forward to do):
Want to make something more fancy or use the Jupyter notebooks? |
Another alternative is having cached data for a (limited) set of queries, this way, we could 'mock' an engine environment. |
To learn more about how @src-d/infrastructure does it today: https://github.com/src-d/infrastructure/tree/master/engine-jupyter-demo |
I doubt the current approach can scale properly... Most likely we would need to use something like Jupyter Hub to manage a multiuser setup... |
From what I understand about Spark we'd need to also move away from Derby (src-d/sourced-ce#192) to allow multiple Spark sessions and a we'd need heavy caching across all sessions. |
Hosted playground is a nice idea, esp as simple Jupyter UI with Python or Scala can be exposed. BTW if we are using a container-per-user model, why would multiple Spark sessions be needed? |
@bzz because of @rporres's comment of how feasible it is to scale with individual instances (not containers) per user. @rporres since they are temp containers, could we do something like launch a container per user not an instance and have them time-out after x hours of idleness? Just a simple bash script that checks the logs of the container and kills the container if a certain command was not used for x hours? |
Is this still being worked on or can we close the issue? |
This will open up again once gitbase is ready, right now it's on pause till performance is where it needs to be. |
The best way to get people to try your technology is to reduce time to first "whoa" moment.
In order to do so @eiso created a Dockerfile that allows you to run the engine in a very straightforward way. The only problem I see with this is we require people to install docker and download a pretty large image.
I'd like to create an Engine Playground (à la play.golang.org) that will provide shells into an engine instance running on one of our projects.
advantages:
concerns
The text was updated successfully, but these errors were encountered: