SAFE Network + database-driven websites

Is SAFE Network only meant to be used with static websites? I’m not sure how a database could be chunked, encrypted, and distributed.

[@happybeing: corrected MAIDSAFE to SAFE Network]

2 Likes

SAFE Network is doing all that for you basically. It is a decentralized key-value store with private, public or shared access. You only have to shift the paradigm to programming an application that is fully executed locally. Your application can interact with other copies of it running at other users by sharing data.

8 Likes

I can’t wait to make my first app in SAFE Network. It would be nice not having to pay Heroku, Firebase, AWS etc. for the servers.

3 Likes

And it will be nice to get paid automatically and instantly based on its utility!!

2 Likes

So I’m sure I understand, conventional databases are incompatible with SAFE Network?

Can a static website be distributed without special key/value programming?

Are website owners paid or only storage providers?

Is SAFE Network a substitute for Storj or complementary?

Yes but key value stores are not :smiley: Its a different paradigm People can use personal databases with out issue on a SAFE drive, but services and communications is completely decentralised.

Yes you will only see a disk or use the Nfs API and write files direct

Website owners/ blog owners and any data owners can publish any info free of charge. (even programs plus data, or apps etc.)

Project SAFE is a larger proposition I think (in terms of technology and vision), our vision is to provide privacy security and freedom of all the worlds digital information for everyone. The main differences are possibly Storj is focussed on storage at the moment and that is somehow on a blockchain and via some kind of supply/delivery type contract between server owners and potential customers. In SAFE we aim for zero human intervention, so they are possibly different projects in many ways, but both have at least storage and decentralisation in their sights.

2 Likes

The storage providers are the ones who are paid, not the content providers, correct? whiteoutmashup’s comment above made me want to check on this.

EDIT: Is there an ETA for release and are there any coins besides the currently available supply of 452,552,412?

1 Like

Both. Both add value to the network, so both get a reward.

2 Likes

How is the reward paid to the content providers determined?

Is there a plot of the SAFECOIN emission curve compared to that of other coins such as BTC?

EDIT: How are websites on the SAFE Network network accessed by users? Is there a browser/client? If so, is it open-source? If it is not open-source, does it use an open protocol to access the network?

2 Likes

People will make browsers for SAFE just like people have made Firefox, Chrome, IE, Opera, etc for the current internet.

ETA is either this month or first quarter of next year (March?).

And yeah only farmers get paid automatically by the network, everyone else can also get paid though by selling things, etc on their sites or whatever, which are free to put up online (within reason).

I am still a little unclear - particularly about transitioning from a traditional site. Say I have a current Ruby on Rails site that consists of the front end (RoR) and the DB back end (Java programming + non std storage + std DB). Is it possible to just move the data onto the MaidSafe network somehow while I work out how to convert the front end?

If some parts are proprietary that can’t be Open Sourced (at the moment) - does that preclude using the MaidSafe network?

Thanks for any enlightenment but pointers to diagrams / pictures “for dummies” about this stuff would be good . .

@whiteoutmashups:

And yeah only farmers get paid automatically by the network, everyone else can also get paid though by selling things, etc on their sites or whatever, which are free to put up online (within reason).

Incorrect! Content providers and app builders will be automatically rewarded by tagging public content/apps with a wallet address. They still have the option of using their own fee free payments model based on Safecoin micropayments, subscriptions etc coded by them into an application - but this is not necessary to get rewarded, only tagging with a wallet address.

3 Likes

philip_rhoades, I think you’d be looking at a rewrite of at least the DB backend.

happybeing, once content/apps are tagged with a wallet address, how are payment amounts made to that address by the network determined? In other words, if I put up a site and tag it with my address, how much do I get paid?

@maidsaferocks

Why? Why should the MaidSafe network care what sort of data is stored on it? If there is software that runs on a server that is connected to both the conventional Internet and the MaidSafe network, then it seems to me that the server can decide where the data is stored? I need some pictures . .

Because data that is to be uploaded to the SAFE Network network is chunked, encrypted, and distributed across many nodes in different physical locations. Not exactly a conventional database environment.

@maidsaferocks

Of course, but that seems to need an extra layer between the DB and the data - that doesn’t seem like rewriting to me . .

A distributed database (key/value) store is a paradigm that we have gone over a lot. Perhaps will try and get together some links to show NOSQL type database creation etc. and how its done, it may be worth looking at implementations on dynamo/dynamite as this is amazon and netflix for instance. Add in security etc. and then you have SAFE. What is needed is a key/value programming guide for traditional database implementers. I am really sorry but time is my enemy right now, but for this purpose imagine SAFE is an efficient key/value database itself. In that way of thinking you also need to consider eventual consistency models as well (facebook / cassandra). Many of today’s super scaled systems (google bigtable etc. (see byzantine paxos implementation)) all use massively distributed key value stores and say its not possible with a database. See also the martin fowler video I posted here regarding differences.

I imagine SQL front ends can be written as attempted for hadoop type SQL imitation front ends. When we get a bit more clear form the current incredible workload I will try and write something up and create a typical example how to do this. There is info out there though, just nobody imagined a network doing this at planarity scale on a hostile network like the internet.

6 Likes

Oh yeah, that’s right, farmers AND builders get paid (duh!) My bad. How could I forget that lol.

But idk about anyone besides them though.

@happybeing what do you mean?

Writers, music makers, etc also?

This is definitely the first time I’m hearing about that!

Sounds like an amazing technological achievement!

1 Like

@whiteoutmashups yes, content publishers: anyone who stores data and makes it public is a publisher (web pages, music, video, junk data) will be rewarded by the network based on access (GET requests)

@maidsaferocks I don’t know the payment amounts or how this is implemented, but guess it will be similar to farming, so based on GET requests the vault delivering the data gets a chance to farm, and the data accessed gets a chance to earn Safecoin.

BTW if you insert ‘@’ at the start of usernames the user gets notified of a mention: as in @maidsaferocks (versus maidsaferocks).

4 Likes

@happybeing that’s genius!! Where can I read more about it?

@dirvine is that really how it works?