Replacing SQL Database with Safe

How would a legacy app be re-written to use Safe instead of a SQL database? Would Safe be used as a NoSQL database and be a driver/backend for MongoDB, etc?

7 Likes

Hey, @JeromeBell! I don’t have an answer for you on this, but let me know if it would be helpful to point you in the direction of some of the more technical people around the community to see if they could help get this answered.

2 Likes

Have you been here, hope it will help, if not.

https://hub.safedev.org

2 Likes

Yep he has posted another Bloody Good Question on the Dev forum WebCache - Transparently Cache the Current Web in Safe - General - Safe Dev Forum

Feeling somewhat embarrassed I cannot give him a useful answer on this. - yet.

@JeromeBell

3 Likes

Yes, this is certainly possible.

This is less likely.

We are looking towards an RDF backed data handling system. At the moment the fundamental data types and transforms/methods are being finalised. We recently started to make sure these are crud/crdt/acod2 complient.

11 Likes

What’s this? Search is not finding anything.

3 Likes

Typo for acid perhaps?
http://swarmdb.net/articles/acid2/

3 Likes

Ah sorry it was ACIDII (Associative Commutative Idempotent Decentralised/Distributed)

4 Likes

Given that at a basic level you can use the Safe Network as a key/value store, there should be nothing to stop people building on top of that. Existing open source libraries could almost certainly be leveraged for this.

I did look at creating a Spring Data library a while back and it looked possible. However, there isn’t a functioning Safe Network Java library to interface with currently, so I’ve not explored it further. It is something I may look into in the future though.

8 Likes