Fast EXPLAIN ANALYZE 2: Cutting the Overhead from 25% to 6.6%, or Even 1.8%

TL;DR

  • lite-rowcount patch: it reduces the overhead of EXPLAIN (ANALYZE, TIMING OFF) from 25% to 6.6%, with no measurable impact on ordinary SELECT statements.
  • feather-rowcount patch: an experimental variant that counts rows inline in ExecProcNode() without a wrapper. It reduces the overhead further, to under 1.8%, but slows plain SELECT statements by about 0.8%.
Read full post gblog_arrow_right

GPT-1 from Scratch

I built GPT-1 from scratch and trained it to perform two downstream tasks. (To be more precise, I developed this version of GPT-1 in collaboration with Claude, based upon a transformer_tf.py script that I had created from scratch.)

A detailed explanation of the internal architecture of GPT-1 will be published in The Engineer’s Guide To Deep Learning in the near future (within a few years).

In this post, I will only briefly demonstrate how to use it. Please note that this is an alpha version, and many refactoring updates are planned for the future.

Read full post gblog_arrow_right

Datadog Failure

On March 8th, Datadog totally paralyzed around the world and it continued a few days.

I was interested in the caurses of that failure from the point of view of my pure engineering interest. However, Datadog have not disclosed anything yet.

Read full post gblog_arrow_right