bobheadxi / timelines Goto Github PK
View Code? Open in Web Editor NEW🏷 Historical analysis of Git repositories and Git host activity as a service
Home Page: https://bobheadxi.dev/timelines-recap
License: Apache License 2.0
🏷 Historical analysis of Git repositories and Git host activity as a service
Home Page: https://bobheadxi.dev/timelines-recap
License: Apache License 2.0
https://github.com/bobheadxi/projector/blob/3138160/db/repos.go#L143
this:
worker
to hang in an uninterruptible state. this probably hints at a more serious issue with all the WaitGroups - stacktrace in commentswill probably need it for users, projects, etc. that wont be indexed all the time
can't find examples, but looks like there is language detection floating around, and a commit about language reports. We could analyze the growth of languages over time based on additions/deletions, to stick with git clone --bare
some libraries:
deck.gl
as of e76b177heroku provides 10k rows free, which is almost certainly not enough. might use for dev, but probably host separately on launch - admin might be painful but whatever
DO offers nicer and more understandable pricing, but no free tier.
has free tier
alternatively, g1-small is ~$14/mo and n1-standard is ~$24/mo
need to plan this out better. blocks #3
At 5000 requests per hour, a repo like https://github.com/Microsoft/vscode will take more than 14 hours to sync all 70,000+ issues and PRs (at time of writing). Some things to do:
also:
for now, try deploying both to a single heroku instance, ie with 2 procs. if that doesn't perform too well, can run:
server
on heroku dynoworker
(s) on some other cloud instnaces, using Inertiawhat is this???
[
[1086, 0, 0,0, 0,0],
[1022,389, 0,0, 0,0],
[1022,389,29,0, 0,0],
[1022,389,29,0, 0,0],
[1011,365,29,0,58,0],
[1011,365,29,0,56,2],
]
need to:
sounds fancy, but doesnt really add much value right now
low-priority, but at scale will probably need some kind of compaction:
still pondering if old analysis are worth holding onto. each on generates a lot of rows however, and old data is of dubious usefulness (since scaling ticks will render the bands / samples incomparable)
for now, might be a good idea to drop any old data before analysis
see #26
service: API access, etc.
worker: chron jobs, sync tasks, git stuff, etc.
https://github.com/bobheadxi/timelines/blob/master/graphql/schema.graphql
probably want to refer to #41
https://github.com/apollographql/react-apollo
probably need to update the codegen as well (follow-up to #1)
files: files with active changes
contributors: most active contributors
will need to scale timelines dynamically.
probably with Google Cloud: https://cloud.google.com/free/
redis as job queue, can later use as rate limiter as well - probs more versatile overall
host
field in database repositories tablegithub.com
to git repo pathsgithub
to host/github
github_item
to meta_item
or somethingetc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.