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
 

The user can make a instance very easily and the design is pretty great. The software only holds torrents with at least one seeder. Codeberg git.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 4 years ago (1 children)

I made that btw :smiling face: . One of my other projects.

[–] [email protected] 1 points 4 years ago (2 children)

What was the thought behind using a big flat csv file instead of json or a sql server?

[–] [email protected] 2 points 4 years ago

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] 2 points 4 years ago (1 children)
[–] [email protected] 1 points 4 years ago

Its currently 78 MB. That's a list of pretty much every torrent that has at least 1 seeder.