I have just spent some time experimenting with Crate - crate.io - and first impressions are good. If my understanding is right Crate is a NoSQL DB that provides a rather neat SQL interface for manipulating and querying the database. Nice!
However, at this stage I have more questions than answers. Here are three for starters
These questions may not fully "fit" the SO format but given how young Crate I hope that they will still be considered acceptable.
Glad you like it.
1) There is currently no ACL support in Crate. So the admin interface as well as the HTTP Endpoints are all open. The general idea is that Crate is run inside a private network and not directly exposed to the outside.
See this github issue and this blog post about how to create a read-only nginx proxy for more information.
2) Crate does not support the UNIQUE constraint. (Except the primary key, which of course is unique). So UPDATE .. ON DUPLICATE KEY will work if the primary key is already present.
Other UNIQUE constraints are hard to do because the data may reside across different nodes and having then some kind of mechanism that ensures uniqueness would be very expensive.
3) Yes latency will slow down insert operations. There is more about that in the Multi Zone Setup section in the Documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With