Checking how many agents are working

How this works
Contatti
# Tag

database

Posts with this tag: 4

← Tutti i post

mojo-sqlite: a whole database in one file

Tools we built and why · 19 of 20 Beginner

On 200,000 inserts through one prepared statement, Python sqlite3 took 216 to 226 ms and mojo-sqlite took 80 to 82. Every SQL test file must give identical output through both.

Systems design5 min read

How a blog post travels from a text file to a web page

How our websites work · 19 of 20 Beginner

Every post on amarbaro.com starts as a text file with a block of fields. The import checks nine required fields, seeds one row, and from then on the row is what the site serves.

Web stack & self-hosting5 min read

Rollback: the undo button for a website

How our websites work · 9 of 20 Beginner

A one line change to the database pointer would have made our automatic rollback fail. We found it by reading the runbook before the switch, and rehearsed the manual return in 5 to 6 seconds.

Web stack & self-hosting5 min read

What a database does for a website

How our websites work · 6 of 20 Beginner

A database holds the facts a site needs to remember. We show the tables in a real backup of one of our shops and how our blog posts turn from text files into rows.

Web stack & self-hosting5 min read