centralized DB support? #51
Comments
|
What do you mean by "a central DB via a REST api"? can you be much more specific?
out of scope of ipfs-core, but certainly in scope of protocols on top of IPFS that we're designing. imagine ipfs-cluster + an IPFS-KV or IPFS-SQL implementation. |
|
when I say "a central DB via a REST api". I mean something like a mysql db behind a PHP/APACHE web server. The public side of the server exposes a REST api via port 80 while the internal side connects to a mysql db. So in order for my app to make changes to my DB, it would make rest calls to this php/apache server. I was just curious if IPFS would mess with that traffic in any way. But I'm guessing it wouldn't since I would use the IP of that web server in my app. |
|
correct |
I'm no expert but years ago I dabbled with a particular column-oriented database called KDB (now: KDB+) which was, and still is, way ahead of its time. In 2000 the concept was relatively unknown to traditional RDBMS people, but not so today. I know that with column-oriented databases in general (and specifically KDB) index files are not used and column data, stored in separate text files, can be, and is, split over many volumes. I just have a hunch that this kind of data structure would lend well to IPFS, and eventually updates and inserts could be automagically handled with version diffs. I suppose that files like Microsoft SQL Server uses would probably be a nightmare on IPFS. Just a thought... |
|
there are clean layerings of SQL (or restricted subsets) on top of these kinds of systems. |
|
jbenet. Can you send some links or give some names of the technology that use these "restricted subsets"? I've never heard of it. I did some googling and can't find any links to any tech like that. It sounds interesting. |
|
one example GQL is a restricted subset of SQL for bigtable/"appengine datastore". layered over a multiversion distributed kv-store. look for those. all the "no sql but relational" dbs usually have a SQL restricted subset layered over a distributed kv store, even if they dont call it that. this includes mongodb. |
|
name isn't pretty, but possibly a good candidate to adapt to ipfs: https://github.com/cockroachdb/cockroach |
|
here is another that is very interesting: |
|
A couple of interesting graph-oriented databases found on wikipedia. My criteria were basic: distributed, open source, NOT written in java.
|
|
lol "NOT written in java." so true... so true. A couple of interesting graph-oriented databases found on wikipedia. My criteria were basic: distributed, open source, NOT written in java.
|
|
An important concept that ought to work well with distributed hash tables |
|
This issue was moved to https://discuss.ipfs.io/t/centralized-db-support/370 |
pocketmax commentedSep 29, 2015
If I have an app thats deployed in IPFS with a central DB via a REST api...does IPFS mess with the REST communication of my app?
Also, does IPFS have a solution to centralize large databases? Maybe split records across multiple nodes or is that outside the scope of IPFS?
The text was updated successfully, but these errors were encountered: