eBird Research Database
I’m building an eBird analysis system for Lisa’s research. The goal is to combine eBird observations with other large research datasets on a platform fast enough to keep the research moving.
This is one of the projects keeping me busy in retirement. It brings together columnar storage, distributed databases, repurposed hardware, and some custom 3D printing.
- 2.2+ billion
- observation records
- Nearly 0.9 TB
- of raw tabular data
- 4 worker nodes
- repurposed Framework mainboards
Dataset figures reflect the eBird Basic Dataset described in my original post.
Keeping the research in flow
The challenge is more than storing a large dataset. Lisa needs to work with the records alongside other research data, and the system needs to support that back-and-forth without long waits breaking her concentration. That research workflow is what the rest of the design serves.
Preparing the data
A central mini PC handles preprocessing with Parquet and DuckDB. It compares eBird’s monthly bulk releases, creates change sets, and reconciles those changes with the active database. The same machine also serves as the R server for day-to-day research.
Distributing the database
Four repurposed Framework laptop mainboards form a PostgreSQL/Citus cluster for distributed storage and interactive analysis. The central machine handles data preparation; the cluster provides the distributed database used for analysis.
Within the database, checklists and observations are stored separately to reduce duplication and improve query performance. An eBird DB-compatible view makes that structure available to existing data-cleaning and research libraries.
Building the physical system
Custom 3D-printed racks hold the four worker nodes, networking, and Raspberry Pi Zeros with status lights for monitoring. Each laptop mainboard exposes HDMI and USB at the front, so I can connect a lapdock for direct access when needed.
It’s a smaller collection of machines than I used to worry over, but a fun way to stay involved with analytics and distributed systems while building something useful for Lisa.