7 ms·
I'm not familiar with FDB but what you say sounds almost too good to be true. Can I use it to implement the Google Datastore api? I'm trying for years to find a
by thefounder 9y ago
I'm not familiar with FDB but what you say sounds almost too good to be true. Can I use it to implement the Google Datastore api? I'm trying for years to find a suitable backend so that I can leave the Google land. Everything I tried either required a schema or lacked transactions or key namespaces.
- wwilson 9y agoAs an existence proof: before the acquisition we built an ANSI SQL database and a wire-compatible clone of the MongoDB API. I see no reason you wouldn't be able to implement Datastore. In fact here's a public source claiming that Firestore (which I believe is its successor) is implemented on top of Spanner: https://www.theregister.co.uk/2017/10/04/google_backs_up_firebase_with_a_second_realtime_data_store/ https://www.theregister.co.uk/2017/10/04/google_backs_up_fir...
- X-Istence 9y agoIs the wire-compatible clone of the MongoDB API available?
- wwilson 9y agoIt doesn't look like Apple open-sourced the Document Layer, which is a slight bummer. But I echo what Dave said below: what we got is incredible, let's not get greedy! Also TBH now that I don't have commercial reasons to push interop, if I write another document database on top of FDB, I doubt I'd make it Mongo compatible. That API is gnarly.
- chx 9y ago> That API is gnarly. Out of the many MongoDB criticisms, this one is valid. This https://www.linkedin.com/pulse/mongodb-frankenstein-monster-nosql-databases-john-de-goes/ https://www.linkedin.com/pulse/mongodb-frankenstein-monster-... article is quite right about it (note: endorsing the article does not mean I endorse its author by far). Other than that, they totally did a fake it until you make it with MongoDB 3.4 passing Jepsen a year ago and MongoDB BI 2.0 containing their own SQL engine instead of wrapping PostgreSQL.
- aeorgnoieang 9y agoWhat specifically are you trying to avoid endorsing about the author of the LinkedIn post to which you linked? I couldn't find anything from a cursory web search.
- mst 9y agoHe runs lambdaconf, and refused to disinvite a speaker who many people felt shouldn't be permitted to speak because of his historical non-technical writings. (I've tried to keep the above as dry as possible to avoid dragging the arguments around this situation into this thread - and I suspect the phrasing of the previous comment was also intended to try and avoid that, so let's see if we can keep it that way, please)
- chx 9y agoYou could try adding controversy to the author name and searching then. As mst correctly notes, I am trying to avoid reigniting said controversy while indicating my distaste.
- itp 9y ago> That API is gnarly. The Will Wilson I remember was not prone to such understatement. That API (and the corresponding semantics) was a nightmare.
- tjb1982 9y agoI was pretty bummed not see that, myself
- rthomas900 9y agoIf I recall correctly, the "SQL layer" you had in FDB before the Apple acquisition was a nice proof of concept, but lacked support for many features (joins in SELECT, for example). Is the SQL layer code from that time available anywhere to the public? (I'm not seeing it in the repo announced by OP.)
- tjb1982 9y agoI used to work there. The SQL layer was capable of actually the majority of SQL features including joins, etc. We had an internal rails app that we used to dog-food for performance monitoring, etc. I used to work on the document layer, and was sad to see it wasn't included here.
- rthomas900 9y agoPerhaps it's this? https://github.com/jaytaylor/sql-layer https://github.com/jaytaylor/sql-layer
- zwily 9y agoThat has FoundationDB dependencies that don’t exist in the apple repo (SQL Parser, JDBC Driver, etc)
- edwinyzh 9y agoI hope this question doesn't feel too dump, but is it possible to implement a SQL Layer using SQLite's Virtual Table mechanism and leverage all foundationdb's features?
- julien_c 9y agoHonest question, does MongoDB not work for this?
- PeCaN 9y agoHonest question, does MongoDB work?
- btilly 9y agoUntil recently, no. But apparently they got serious about making it work and now it actually does. See https://jepsen.io/analyses/mongodb-3-4-0-rc3 https://jepsen.io/analyses/mongodb-3-4-0-rc3 for verification. I realized this 2 months ago at https://news.ycombinator.com/item?id=16386129 https://news.ycombinator.com/item?id=16386129
- KMag 9y agoThat's Nostradamus-level crazytown. What next, PHP strongly enforcing a sound static type system with immutable defaults, GADTs and dependent types? Congrats to the MongoDB team!
- smadge 9y ago> What next, PHP strongly enforcing a sound static type system with immutable defaults, GADTs and dependent types? Too funny!
- boubiyeah 9y agoMongoDB is pretty average at absolutely everything. It's fast to install on a dev machine though, lol.
- dangets 9y agoFor better or worse, many times UX is more important than functionality.
- 9y ago
- wsh91 9y agoHey there--I'm an engineer on the Cloud Datastore team. I'd love to know more about what your needs are if you're willing to share.
- jlgaddis 9y agoHe "needs" to get rid of you (Google). :-)
- thefounder 9y agoI've forked the official SDK so that I can get extra functionality but it's quite hard to keep it updated when internal stuff changes. There is no way I can contribute. I can't use it everywhere I want...shortly said it's not open source and this sucks.