Better HN
topnewbestaskshowjobs
Log inSign up

jodok

124 karma · joined Apr 3, 2011 (15y ago) · 65 submissions

Crate.io, CTO, https://crate.io

[ my public key: https://keybase.io/jodok; my proof: https://keybase.io/jodok/sigs/whfix4jxYJhQb_OdkHCG_F-9aVN1O5y9mF7UaQobJzw ]

Submissions

1.

Roof Knocking (Israel)(en.wikipedia.org ↗)

8 points · by jodok · 5y ago · discuss

2.

Bonaverde files for insolvency(bonaverde.com ↗)

2 points · by jodok · 7y ago · discuss

3.

On open source, licensing and building a sustainable company(crate.io ↗)

4 points · by jodok · 7y ago · 1 comment

comment 9y ago · link · parent

thanks for the comment, we'll update the indexes used in postgres. we tried to be as objective as possible and of course show our sweet spot. we don't want to treat postgres unfair, if you have suggestions on how to improve indexing in postgres we'd be happy to take that into account. (full disclosure: i'm co-founder of crate.io).

comment 9y ago · link · parent

@ralala - would love to hear your feedback once tried crate (jodok@crate.io). we've been working directly with kyle on the issues discovered. the current state of our work is documented on our website: https://crate.io/docs/scale/resilience/

Thankfully, for most use-cases, if you our follow best practices, you are extremely unlikely to experience resiliency issues with CrateDB.

comment 10y ago · link · parent

why not run the database directly in the container as well? we're doing that with https://crate.io - just expose your local instance store as volume, crate will take care of the rest

7.

Using the New Docker Security Scan to Secure Your Image(crate.io ↗)

2 points · by jodok · 10y ago · discuss

8.

Running 1001 Docker Nodes on Azure with Crate.IO(crate.io ↗)

3 points · by jodok · 10y ago · discuss

9.

We need to talk about Scrum Nexus(baggerspion.net ↗)

1 points · by jodok · 10y ago · discuss

10.

(Ab)using Elasticsearch as a Framework(zignar.net ↗)

7 points · by jodok · 10y ago · discuss

11.

Distributed SQL DB Crate.io – Docker CTO Solomon Hykes Invests Alongside Others(crate.io ↗)

4 points · by jodok · 10y ago · discuss

12.

$4M for Distributed SQL DB Crate.io(techcrunch.com ↗)

4 points · by jodok · 10y ago · discuss

comment 11y ago · link · parent

https://crate.io Co-Founder here. We're participating in this game by working hard to build a fully distributed, shared-nothing SQL database.

In our vision, a app in a container is able to access the persistence layer like in SQLite - just import it. another cluster of containers - preferably having one instance node-local - takes care of the database needs.

The database is distributed and makes sure enough replicas exist on different nodes. it's easy to scale up and down, local ressources are being utilized whenever possible (no NAS/SAN like storage).

14.

Deploy an Elastic High-Availability SQL Cluster with Crate and Weave(blog.giantswarm.io ↗)

11 points · by jodok · 11y ago · 1 comment

15.

How was the weather in germany?(blog.m7w3.de ↗)

3 points · by jodok · 11y ago · 1 comment

comment 11y ago · link · parent

cool stuff

17.

Scalable SQL Database Crate Now Available as Click-To-Deploy for Google Compute(googlecloudplatform.blogspot.com ↗)

2 points · by jodok · 11y ago · discuss

18.

Applying the Universal Scalability Law to Organisations(blog.acolyer.org ↗)

2 points · by jodok · 11y ago · discuss

comment 11y ago · link · parent

full disclosure. i'm one of the co-founders of crate :)

In December 2010 we found about Elasticsearch and were truly amazed by it's simplicity, speed and elegance. We built our service and consultancy business around it.

In 2011 we've built some of the largest ES applications at that time (6TB, 120node cluster, http://2012.berlinbuzzwords.de/sessions/you-know-search-quer...) and started to develop a set of plugins, such as the in-out-plugin to allow distributed dump/restore.

With this background - and the mission to build a datastore that is as easy to use and administer as Elasticsearch we founded in 2013 Crate and raised some Seed money. Since that we're working hard to make this vision become true. We're often confronted with the results of the so-called Jepsen-Test (https://aphyr.com/posts/317-call-me-maybe-elasticsearch) that Aphyr published in 2014. Don't forget: Lucene, Netty, Elasticsearch, Crate - all are Open Source products (APL) and rely on all kinds of contributions - such as this analysis! No matter be it bad news or good news. We can only improve based on hard testing and feedback. However, this caused a lot of rumblings in the Elasticsearch ecosystem and the reaction of Elasticsearch was exemplary:

1) explain the reasoning and make an official statement: https://www.elastic.co/blog/resiliency-elasticsearch/

2) list all the issues and hunt them down. one by one: http://www.elastic.co/guide/en/elasticsearch/resiliency/curr... (and add new ones as they occur).

3) stay in contact with the community that reported the issues: https://twitter.com/aphyr/status/525712547911974913

All that being said. We see many people using Crate as primary store (and of course backing up their data) but we also see people that don't put that much trust in a younger database and keep all their primary data in another location and sync/index to Crate.

ALWAYS make backups (COPY TO / COPY FROM), make sure you have replicas, and most important configure minimum_master_nodes correctly to avoid split brain.

At Crate we stand on the shoulders of these great Open Source project, try to be as good citizens as possible and focus mainly on our Query engine (Analyzer, Planner, Execution Engine).

comment 11y ago · link · parent

It's named Blender Pro and has been designed by our swiss friends from binnenland. We're super happy that they provided us with a generous license to use it within Crate. More about the font: http://www.binnenland.ch/notes/view/about-the-blender-typefa...

comment 11y ago · link · parent

Crate-only queries - like exact counts, distinct counts, (soon JOINs) - are not exposed via this API. The Crate query engine is accessing Lucene directly and not running on top of the ES query engine.

comment 11y ago · link · parent

We run aggregations fully distributed and when iterating over the values we heavily rely on the field-caches. They hold the values of the latest used fields in memory and therefor allow in-memory performance on them. for example they don't grow linearly with the amount of rows stored, but depend on the cardinality of the fields. Running aggregations over non-indexed data is not supported.

comment 11y ago · link · parent

not yet. but we have some "tweaks" for exactly your use-case on our backlog. using the client libraries should make it mucn easier (e.g. https://crate.io/docs/projects/crate-python/stable/sqlalchem...). so right now you would need to do a refresh. on a side note: it's not an index delay. it's the readers that "sit" on the lucene index. they are being repurposed for performance reasons (and meanwhile other writes are appending). like the client libraries you can force reopening them (https://crate.io/docs/en/0.47.8/sql/reference/refresh.html) - of course at the cost of performance.

comment 11y ago · link · parent

we recommend to expose a host directory to crate ('docker run -d -p 4200:4200 -p 4300:4300 -v <data-dir>:/data crate') and configure replicas. if one of the crate containers disappears, replicas will be promoted as primary shard and new replicas created on the fly. it's also possible to expose multiple directories (e.g. on multiple disks for more performance), you can configure crate to use them in parallel.

comment 11y ago · link · parent

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,...

comment 11y ago · link · parent

No, it can hold as much data as the sum of all the nodes in the cluster have (also depending on the amount of replicas you configure). Some background: All data is being sharded by default. These shards are distributed evenly between the nodes. Nodes can hold multiple shards. Furthermore shards can have replicas, being hold by other nodes. Memory is being utilized to hold indizes in RAM and to cache values that are being needed frequently for e.g. aggregations ("field caches").

comment 11y ago · link · parent

we're good friends with the original owner "dstufft" and took over the domain after he took over an official pypi position (more than a year ago). read his own blog post: https://caremad.io/2014/03/crate-io-new-ownership/

comment 11y ago · link · parent

arthur, that's how we started two years ago. meanwhile the queries are being handled by our own engine. https://github.com/crate/crate
123