Skip to content

data infra

mikerspencer edited this page Nov 15, 2025 · 9 revisions

Simple data infrastructure

This page documents a simplified version of data infrastructure. The example is a minimum working model to enable a data analysis or science team to be functional.

Key components

  • Data Ideally this is a quality controlled central store of data. In reality this will probably include many disparate sources from inside and outside organisations. As an organisation becomes more mature the process of making new data available will become quicker and easier - including the documentation for the data descriptions element.
  • Compute in its simplest form is the place where the computation happens which transform raw data into results. In practice this can take different forms and covers a couple of separate roles. Compute in this context is describing the act of running the computation, and also the development of the process (code) to carry the computation out. Compute could happen on a local machine like a laptop, or be server based. Reasons to choose where compute happens might include cost, control and security.
  • Code management required to manage quality of work via version control and review. Examples of this include Github, Bitbucket, Gitlab, and more recently Codeberg and Forgejo.
  • Data descriptions are metadata, these explain the source of input data and the methods used to create results. They are required for transparency and utility.
  • Documentation is wider than metadata and includes discussion and results of investigation, data limitations, future plans, etc.. A wiki is a very good tool for this.
  • Outputs include a whole range of formats, from dashboards to pdfs. These are record of results from a fixed point in time, or live information for evolving situations. Data can also be an output, for consumption by downstream processes.
  • Analysts, researchers and data scientists. The people turning input data into output results.
  • Audience may be internal, external or both. The ability to segrate these groups is important.

Diagram

flowchart TD

subgraph "**Documentation**"
MD@{ shape: docs, label: "**Data descriptions**" }
end

A@{ shape: manual-input, label: "**Analysts**"} --- VC@{ shape: cloud, label: "**Code management**" }
A --- C@{ shape: rect, label: "**Compute**" }
A --- MD

C --- S@{ shape: lin-cyl, label: "**Data**" }
C --- VC
C --- O@{ shape: docs, label: "**Outputs**" }
VC --- MD

O --- A
O --- Au(**Audience**)
Au --- MD
Loading

Opinionated examples

R

Python

Advanced agnostic

Clone this wiki locally