Hacker News Re-Imagined

Database-less torrent website

  • 232 points
  • β€’ 2 days ago

  • @etagate
  • Created a post
  • β€’ 70 comments

Database-less torrent website


@ronyfadel β€’ 2 days

Replying to @etagate πŸŽ™

I'm disappointed that I don't find result for "La vita e bella" but I do find results for "La vita Γ¨ bella".

Reply


@MuchHustle β€’ 1 day

Replying to @etagate πŸŽ™

Theres already like 10 crypto projects implementing that. The most prominent is probably Bit Torrent Token (BTT). https://www.bittorrent.com/token/btt/

Reply


@ineedasername β€’ 2 days

Replying to @etagate πŸŽ™

The headline doesn't make much sense. There's still a database, what changes is simply where it's stored when in use. "Torrent Website w/o DB Server" might work better.

That aside, would this method scale? 135,000 torrents doesn't seem comprehensive, so I would expect real world use to have many more. Maybe a different SQLite db for different categories?

Reply


@xialvjun β€’ 2 days

Replying to @etagate πŸŽ™

Since it has used IPFS, why not host the content of those torrents with IPFS?

Reply


@yonixw β€’ 2 days

Replying to @etagate πŸŽ™

Enhance it with the fact you can lazy load sqlite query using HTTP Range as demonstrated in: https://news.ycombinator.com/item?id=27016630

Reply


@politician β€’ 2 days

Replying to @etagate πŸŽ™

How do immutable systems like IPFS manage the problem of updates to a blog?

Reply


@senjin β€’ 2 days

Replying to @etagate πŸŽ™

Makes me wonder if you could host a pouchdb in ipfs

Reply


@dfghdfhs β€’ 2 days

Replying to @etagate πŸŽ™

I love the internet.

Reply


@tecleandor β€’ 2 days

Replying to @etagate πŸŽ™

I'm curious about why didn't they compress the SQLite file using gzip. Even in level 1, for superfast compression/decompression halved the file size.

Reply


@SuchAnonMuchWow β€’ 2 days

Replying to @etagate πŸŽ™

Reading just the title, I was expecting storing/serving magnet files on DNS, as someone did a few years back if I remember correctly (just as a joke/poc, not as a serious solution).

I'm pretty sure it was posted on hw, but I can't find the link anymore.

Reply


@danka β€’ 2 days

Replying to @etagate πŸŽ™

I wonder why the author ignored the option of compression in the post. Even with a simple gzip DEFLATE compression, those 10MB of plain text could get as small as a 1MB archive and possibly more, meaning that in a compressed 10MB payload you could fit much much more than 135K records.

Reply


@vindarel β€’ 2 days

Replying to @etagate πŸŽ™

related: https://torrent-paradise.ml/ Also based on IPFS with this HTTP gateway. I find a lot of torrents in there.

Reply


@lekevicius β€’ 2 days

Replying to @etagate πŸŽ™

One unmentioned con: no updates, no new torrents can be added (or, updates require re-deployment of full new .sqlite db, together with a new website). I think there's a space for decentralized database format. Something that would have immutable rows (not the whole db), ranges and search, indexes, etc. Maybe there's something like this already?

Reply


@kderbyma β€’ 2 days

Replying to @etagate πŸŽ™

love these kind of things. I am interested in distribution methods for smarter clients without needing a dedicated server to host from.

Reply


@thinkloop β€’ 2 days

Replying to @etagate πŸŽ™

IPFS requires "pinning" content for it to exist, meaning you host it, whoever pins content becomes liable for its distribution, if no one pins it, it disappears. That's why you can't freely host things like child porn on IPFS.

Reply


@donkarma β€’ 2 days

Replying to @etagate πŸŽ™

That's not going to stop takedowns, they don't care about if it's technically on your site or not.

Reply


@dfghdfhs β€’ 2 days

Replying to @etagate πŸŽ™

Could someone more savvy clarify....

On that page I do inspect, got console and do:

loadDBAndExec('SELECT * FROM my_table LIMIT 10;')

I get

Uncaught ReferenceError: loadDBAndExec is not defined

Why doesn't this work?

Reply


About Us

site design / logo Β© 2022 Box Piper