The Circuit Breaker mechanism in CrateDB

Thursday, June 17, 2021

In this article we’ll take a look at the circuit breaker mechanism in CrateDB. CrateDB uses circuit breakers to prevent a node from running out of memory or stalling due to high garbage collection load.

Group By query execution in CrateDB

Friday, June 4, 2021

In this post we’ll look at how CrateDB distributes GROUP BY queries. This is the fourth post in a series about CrateDB internals.

I assume that you’ve read the first and second post of the series. You may also be interested in the third post, but it is not necessary to read it to follow this article.

Query Then Fetch execution in CrateDB

Friday, May 28, 2021

This is the third post in a series about CrateDB internals. This time I’ll introduce the Query Then Fetch execution strategy. Similar to the previous posts, this focuses on the distribution aspect.

Make sure to read the first and second post of the series.

Distributed SELECT statement execution in CrateDB

Thursday, May 20, 2021

This is the second post of a series about CrateDB internals. In the first post I introduced relational algebra, the optimizer and outlined how the execution works on a very high level. In this post I’ll explore the execution of a simple SELECT statement in more detail. This post focuses on the distribution aspect of the query execution.

Avoid shallow functions

Friday, May 14, 2021

Over the last couple of years I’ve developed an intuition that shallow functions can be problematic and here I’d like to share some thoughts on why that is the case.

Are you asking too many questions, or not enough?

Thursday, April 15, 2021

Two scenarios that may sound familiar:

  • You’re in an office space and there is this one person who always asks questions that they could answer on their own by spending two minutes using Google DuckDuckGo. He feels super productive because he’s getting answers quickly, but the senior who has to answer starts getting annoyed by all the micro interruptions. It makes it hard for her to focus.

  • A new person joins a team, and they hardly ask any questions. Instead, they spend hours trying to figure out everything on their own.