r/AetheralResearch • • Jul 13 '15

Web interface

The biggest problem with a decentralized Reddit is if its going to have mass appeal and be an viable alternative it has to live on the browser somehow.

This includes the content being searchable/scrapped by google, the links should work from other sites and generally work like a normal site?

Is there a way to have a web page that is a javascript terminal and implement p2p protocols and automatically transforms addresses?

We could probably get them to install a plugin for the browsers but that is as much I see a user would tolerate.

Without this I don't see much more acceptance then whatever it is with other networks like this.

2 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/teknoir75 Jul 14 '15

There's another important factor: A DHT needs an index (and a frequently updated one) to let users see the organized content. The only viable way to build such an index is through efficient database software. Otherwise you'd be searching over and over for the same files.

An alternative would be to have indexing servers, but they would attract too many nodes... this would be like returning to the old ISP model, where you have to depend on huge servers to access your e-mail and such.

1

u/[deleted] Jul 14 '15

The only viable way to build such an index is through efficient database software.

The only part really needed is an index. Look at git, it puts all its data into one big file and then creates an index file with jumptables. Then all you need to have is a binary-search on the jump-table which is tiny in comparison.

I've used this approach in my software various times. Its not too difficult and super fast.

1

u/[deleted] Jul 14 '15

Also have to add that I don't foresee anyone using a DHT.

1

u/adrixshadow Jul 14 '15

A DHT needs an index

It does?

Doesn't DHT work by closeness? If so can't DHT be used as a sort of address of the community where peers around can be reasonably assumed to have the data of the community they are part of?

I guess this method has security issues?