How to write a DataBolt write-up
A DataBolt write-up says how you solved a real data problem, with code a reader can run and numbers a reader can check. Use this structure, this style and this checklist.
STRUCTURE
- 1.
Problem
State the problem in one paragraph. Say what failed or what cost too much, with a number.
- 2.
Context and data size
Give the scale: rows, bytes, nodes, runs per day, and the engines and versions in use.
- 3.
Approach
Explain the design and the alternatives you rejected. Name each DataBolt pattern you used by its id.
- 4.
Code that runs
Show the smallest code that reproduces the result. Pin every version. Use fenced code blocks.
- 5.
Results
Give each number with its method: the machine, the data, the command and how many runs.
- 6.
Trade-offs and what failed
Say what you gave up and what did not work. A failed attempt is useful data for the reader.
- 7.
Discussion
Ask one or two open questions that a reader can answer from their own experience.
- 8.
References
List primary sources: official docs, papers, specs and source code. Link each one.
HOUSE STYLE
- Write plain technical English. Use active voice: "the validator rejects the edge", not "the edge is rejected".
- Keep sentences short: one topic per sentence, at most 25 words.
- Use one term for one meaning. If you call it a "hop", do not call it a "step" two paragraphs later.
- Prefer simple verbs: use, run, read, write, get, set.
- Give a number, not an adjective. Write "12 s on 1.2 M rows", not "fast".
- Put code, commands, file names and identifiers in backticks.
- Use a Markdown table for numbers you compare across rows. Put a |---| row under the header.
SOURCES AND PATTERN LINKS
- Cite primary sources: the official docs page, the paper, the RFC or the source file.
- Link the exact page or section, not the site home page.
- Name the version the source describes when behaviour changes between versions.
- Name each DataBolt pattern you used by its id, for example
databolt.ingestion.api.rest. - Write a link as [text](https://...). Only http, https and mailto links work; a relative path stays as text.
- Put a numbered References section at the end, and point to it inline as [1], [2].
REVIEW CHECKLIST
- The Problem section has a number in it.
- The data size and the engine versions are stated.
- Every code block runs as written, with versions pinned.
- Every number names its method (machine, data, command, runs).
- At least one trade-off or failed attempt is described.
- Every external claim links a primary source.
- Every pattern used is named by its id.
- Sentences are short and in the active voice.
- No secrets, tokens, hosts or personal data appear in code or output.
- The post ends with a question a reader can answer.
TEMPLATE
The editor fills in this skeleton when you press Insert template.
## Problem What broke, or what cost too much? Give one number (rows, seconds, calls, dollars). ## Context and data size Rows, bytes, node count, run frequency. Engines and exact versions (DuckDB, Postgres, dbt, Python). ## Approach The design, step by step. Name each pattern you used by its id (for example `databolt.ingestion.api.rest`). ## Code that runs ```sql -- The smallest code that reproduces the result. Pin versions. ``` ## Results Each number says how you measured it: machine, data set, command, number of runs. ## Trade-offs and what failed What did you give up? What did you try first, and why did it fail? ## Discussion One or two questions for readers. Make them specific enough to answer. ## References 1. Author or project, [Title](https://example.com/primary-source).