Stardance-Graph
- 3 Devlogs
- 45 Total hours
I graph about every possible connection in Stardance
I graph about every possible connection in Stardance
In short, I added some new code to scrap some other things like:
I also added timeline tables of users, projects, devlogs, superstar and ship events. So that I now how projects have changed over the time.
I also run in a problem, while the program scraps the site, I cannot access it too, because I wrote it so that the requests are exactly calculated so that I can fully utilize the rate limit. I tried to avoid it by running the program on nest but the container just kills my program after 50,000 requests (I don’t know why, and the logs don’t help me and it wasn’t the OOM-Killer). So I am now running it on my Raspberry Pi 4b and because it is at my house, it uses the same IP)
I am also going to rename this project from Stardance-Graph to Stardance-Scraper, because the program is now more then just a graph. I am still going to write the graph, but in a second project.
Well I scraped Stardance 4 times, since the last devlog:
In total I have done like 400,000 requests to Stardance.
The image shows a line chart that shows the number of users who joined on each date. (Yes someone joined on 19.04.2026: @/cskartikey)
I have used HTTP/1.1 for my request to stardacen, then I found out that I can use HTTP/2. I tried it and it so much faster, like I could send 600 Requests under 1 minute.
It was so fast that my Database Writer, couldn’t keep up and I needed to slow down, so that everything is stored in the DB. But then Stardance got (D)DOSed (which wasn’t me). So they added ratelimits. And now I can only do 120 Requests per minute.
Which slows my down.
I also updated the DB so that now every request I do is stored in it, for better debugging and analytic.
Here are some statistics about my scraping and Stardance
Yesterday I started scraping around 6 AM EST and it took 10 hours and 21 minutes.
And I found some really cool things
Like:
I haven’t worked on the graph, so I don’t have pictures of it. But I have some diagrams about the data I have scraped.
Please note that this data is from yesterday and can be outdated
I wrote a program that completely scraps Stardance. It starts with the projects (from 1 to 20000) that it can find on the page. It analyses them and stores the information in a database. It also searches for references to users, devlogs, followers, comments, etc. So for every project I get also the creator of it and then the creator gets also scraped. So in the end I have users, projects, devlogs, followers, following and comments.
The name of this projects reveals it: I want to create a graph, of every possible connection between objects. I want to host it on a website, so you can search for users like @Fantamomo and see how I am connected with other projects and users, like I repost a devlog, if someone comments one one of my devlogs etc.
The image show a prototype (coded by AI, because I have no clue how to write something like that). The problem is that the program constantly uses around 139% CPU and around 2 GB RAM. Even with that much CPU usage, it is still laggy and I can barely use it.
So now I have to figure out how to make the graph faster so that I can host it as a website on nest.
Scrapping Stardance took 3 hours (I paused between request to avoid the non existing rate limits)
During the time:
My first devlog was reposted by someone.
At that time, the notification system did not exist yet, so I didn’t know who reposted it.
Through my scraping I found out: It was @neon (btw thanks)