Giter Site home page Giter Site logo

Comments (9)

choldgraf avatar choldgraf commented on June 12, 2024 2

then we can make it into a song like

who's the best at building docker? binderbinderhubhub
who supports both R and Rocker? binderbinderhubhub
who connects all the pieces? binderbinderhubhub
who can reproduce your thesis? binderbinderhubhub

ok no more coffee for me this morning

from mybinder.org-deploy.

yuvipanda avatar yuvipanda commented on June 12, 2024 1

The way you'd usually do this is:

  1. Move binderhub to emitting structured logs (jupyterhub/binderhub#219)
  2. Tail these logs from a different service (just do the equivalent of kubectl logs, or pull in from the stackdriver API)
  3. This service is accessible over the web (as events.mybinder.org, sure!), and probably produces an EventStream (so can be easily consumed from front end JS as well as other languages)

This accomplishes a few things:

  1. Makes this completely optional, and doesn't bloat the binderhub code
  2. (2) and (3) are quite generic and unrelated to binderhub itself, so we might actually be able to find some tool that already does it. Even if we don't, this is conceptually quite simple to write, and scales well horizontally

from mybinder.org-deploy.

choldgraf avatar choldgraf commented on June 12, 2024

Totally agree, this could be a great community feature, and is a key step towards making a "case" for binder tech as being impactful.

One challenge: how would this work once Binder is federated? Would these statistics be kept at the BinderHub level? If there are multiple public streams out there, then it would be straightforward to aggregate them, so maybe not such a big deal so long as the data is there.

from mybinder.org-deploy.

yuvipanda avatar yuvipanda commented on June 12, 2024

Indeed, ideally every BinderHub would make its stream public and people can aggregate. See https://wikiapiary.com/wiki/Main_Page for how this sortof aggregation happens for MediaWiki instances (which run Wikimedia but also other websites on the internet unrelated to wikimedia)

from mybinder.org-deploy.

ctb avatar ctb commented on June 12, 2024

+1 on the federation question :). Does this mean we'll need to have a BinderHubHub?

from mybinder.org-deploy.

choldgraf avatar choldgraf commented on June 12, 2024

I prefer "binderbinderhubhub"

from mybinder.org-deploy.

betatim avatar betatim commented on June 12, 2024

What kind of tools/setups would we use to collect the events emitted by binderhub?

As a user of this data, I'd hit "events.mybinder.org" and receive all future events (similar to how you subscribe to the twitter 1% stream?).

from mybinder.org-deploy.

yuvipanda avatar yuvipanda commented on June 12, 2024

We could also explicitly have a 'public' field in the JSON log output, thus whitelisting the things that appear in the public stream. This protects against things like secrets accidentally leaking.

from mybinder.org-deploy.

yuvipanda avatar yuvipanda commented on June 12, 2024

boom, https://archive.analytics.mybinder.org/

from mybinder.org-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.