this post was submitted on 05 Feb 2021
8 points (100.0% liked)
Piracy
22689 readers
1 users here now
Welcome to /c/piracy
No netflix or streaming services landlubbers allowed, this is pirates territory.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I made that btw :smiling face: . One of my other projects.
What was the thought behind using a big flat csv file instead of json or a sql server?
Didn't use json because it's not as compact a data store In a csv, you only name the columns once, in json you have to name every field.
Sql isn't a very good for store for git, unless you have a migration system which should really only be used for data structure, not actual data. This does build an sqlite file from the csv so the server can do smart paging and such.
@[email protected] How big does the csv file get?
Its currently
78 MB
. That's a list of pretty much every torrent that has at least 1 seeder.