Earlier quoted context omitted.
By shared-nothing, we mean that no node is special, no node is indispensable. Unlike other popular NoSQL databases, we don't have different classes of nodes. The persistent data is distributed across the cluster, and nodes communicate amongst each other about which data are where. http://en.wikipedia.org/wiki/Shared_nothing_architecture
Given that this is based on Elasticsearch, there will be a master node, which should be chosen explicitly in configuration to be away from the data nodes, because ES responds poorly to garbage collection on the master node. So you want to keep the load down on your master. So you can run in a sort-of-shared-nothing configuration, but its not recommended.
Crate: Distributed SQL Database for the Age of Docker
31–40 of 45 posts
Re: Crate: Distributed SQL Database for the Age of Docker
#32Re: Crate: Distributed SQL Database for the Age of Docker
#33Re: Crate: Distributed SQL Database for the Age of Docker
#34Re: Crate: Distributed SQL Database for the Age of Docker
#35Earlier quoted context omitted.
That's part of it, but not the whole picture. For example, we mostly bypass the ES query engine and go directly to Lucene. Queries are not simply translated to ES query syntax. Also, we've done a lot more work than simply pasting an SQL layer over the top. We've built streaming BLOB support, a distributed SQL layer with real-time MapReduce, and a distributed aggregation engine that gives accurate results for aggregat…
do you have a field type that indexes in real time? or are you bound to the (default 1s) index delay from es? this is one thing that bothers me with elasticsearch, that I can not define eg "type": "cart","index":"realtime", "not-analyzed" so if an item gets added to a cart, the subsequent count would directly return the correct number of items in the cart.
Re: Crate: Distributed SQL Database for the Age of Docker
#36Earlier quoted context omitted.
That's part of it, but not the whole picture. For example, we mostly bypass the ES query engine and go directly to Lucene. Queries are not simply translated to ES query syntax. Also, we've done a lot more work than simply pasting an SQL layer over the top. We've built streaming BLOB support, a distributed SQL layer with real-time MapReduce, and a distributed aggregation engine that gives accurate results for aggregat…
Why can't you aggregate on non-indexed fields? I know lucene doesn't allow that, but why? It seems to work on normal-rdbms ?
Re: Crate: Distributed SQL Database for the Age of Docker
#37Earlier quoted context omitted.
yes, you can enable the elasticsearch API ("es.api.enabled: true" in the crate.yml config file). however, it's not officially supported and we recommend to use it read-only as we store additional information about tables,...
Read-Only should be fine. Is there specific "Crate" query syntax for selects that is not supported by the Elasticsearch DSL?
Re: Crate: Distributed SQL Database for the Age of Docker
#38Look cool. What font are they using?
Re: Crate: Distributed SQL Database for the Age of Docker
#39The URL is annoyingly similar to https://crates.io/
Re: Crate: Distributed SQL Database for the Age of Docker
#40Anybody who is using Elastic Search as the basis for persistent data storage is going to come in for some scary surprises down the road in production. Without violating my NDA(s) I can't give significant details, but I've personally witnessed weird split-brain multi-master, dropped writes, etc. in response to network partitions and other common failure scenarios for a distributed data store. Elastic Search is a fanta…
When it comes to consensus real consensus servers are the only way and Zookeeper is the only production consensus server available outside of Google. (sorry etcd, you aren't quite there yet).