News for hackers. Stuff that matters.
Re:Apple open-sources FoundationDB by tinco on Thursday April 19, 2018 @04:21PM (#16879751)
Would it be possible to build a tree DB on top of it like MonetDB/Xquery? I always wondered why XML databases never took off, I've never seen anything else quit as powerful. Document databases if du jour seem comparatively lame.
Re:Apple open-sources FoundationDB by CMCDragonkai on Thursday April 19, 2018 @08:05PM (#16881203)
Yes you can. You need a tree index basically. Any kv store can serve as the backing data structure. I've been writing one for config file bidirectional transformation.
Re:Apple open-sources FoundationDB by spullara on Thursday April 19, 2018 @05:16PM (#16880243)
They had a document layer that wasn't released that was MongoDB compatible — so you can do this.
Re:Apple open-sources FoundationDB by tinco on Thursday April 19, 2018 @06:35PM (#16880773)
MongoDB is just a database with less features than a SQL database. An XML/XQuery database is fundamentally different, so I figured if FoundationDB layers are really so powerful, they might be able to model a tree DB as well.
Re:Apple open-sources FoundationDB by spullara on Thursday April 19, 2018 @09:52PM (#16881589)
Ah misread. Maybe? Storing hierarchical data would be pretty natural.