Skip to content

v0.3.0: the Databricks proof of concept, measured

Choose a tag to compare

@technobasant technobasant released this 19 Oct 15:01
· 10 commits to main since this release

The Databricks half of the proof of concept is complete, the current state is re-measured at the client's own rate, and the cost model is priced in the client's EU region. A review of v0.2.0 drove most of the changes.

Current state, re-measured at the brief's peak rate (12 product requests a second; v0.2.0 ran at 100, about 25 times the brief's event rate)

  • Reports on the primary took the product's p95 request latency from 40 to 525 ms.
  • On the default replica, 3 of 35 long report runs finished; with hot_standby_feedback, 11 of 11, holding back the primary's cleanup.
  • New stopgap, measured: a replica for reports alone with max_standby_streaming_delay at 15 minutes finished 7 of 7, up to 4.7 minutes behind (0001).

Proof of concept, Databricks half (11)

  • Speed: the slowest BI report's median was 2.82 s on the smallest warehouse with eight analysts at once, against 62 s on the product's Postgres; nothing queued.
  • Cost: one day's build and reports took 38 s and were billed 0.743 DBU, 11 minutes 9 seconds awake, 95% of it the auto-stop wait. Hours awake set the bill: $21 to $961 a month at EU list price.
  • Operability: Terraform (OpenTofu 1.13, Databricks provider 1.138) owned 6 of 7 kinds of governance object and planned clean; the mask function needs SQL.
  • Erasure on UniForm, the chosen format: deletion vectors are refused, so a delete rewrote all 8 files holding the user's rows; same 15-day timeline.

Design

  • Cost model in AWS EU (Ireland) at the editions the requirements need. Snowflake Standard and BigQuery are dropped; Business Critical is added for PrivateLink.
  • CDC rules: what each table's deletes mean, a column list excluding last_seen_at, and the restart rds.logical_replication needs.
  • A backfill of the S3 exports so Q4 holds at stage 1.
  • A 14-day backup in a separate AWS account; landed files expire after 30 days; erasure within 15 days with a daily VACUUM.
  • One roadmap in weeks, with an honest one-month slip of the assistant.

Evidence

  • In-repo figures are re-derived from the results files by scripts/build.py --check.
  • Evidence that does not test its decision directly is labelled indirect.