~/talk

Building a Database with Python

Talkat PyBay 2021 · on Saturday, 2021-10-09· [python, databases]
links:none on file
slides:none on file

EdgeDB is a new relational DB built on PostgreSQL with a Python-coded async IO server and a Python compiler stack that compiles a GraphQL-like query language (HQL) down to SQL. Hot paths use uvloop and C extensions (Cython-style) while a small Rust tokenizer extracts constants for query caching. The system uses immutable state via the immutables package, heavy mypy typing and plans mypyc for speed. Benchmarks claim 2–5x faster for Python ORMs and up to ~1000x vs some JS ORMs; some scheduling limits remain and a future rewrite is considered.

AI-written summary · about

  1. 0:00Introduction to HDB
  2. 1:50HDB features and design
  3. 9:15Python's role in HDB
  4. 13:11IO server architecture
  5. 19:29Performance optimizations
  6. 24:45Compiler infrastructure
  7. 30:05Testing and CI workflow
  8. 32:52Python's future in HDB
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.