Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

9 posts RSS

2026

Fragmentation to framework: Spec-first development at Benchling

Case study 8 min +80 XP

Benchling replaced M×N hand-built integrations between scientific object types (DNA sequences, notebook entries, inventory) and platform capabilities (REST API, warehouse, search, config migration) with the Object Framework, a spec-first layer over its monolithic SQLAlchemy-based service.

2025

2024

Building an LLM-Powered Slackbot

Case study 10 min +100 XP

Benchling built an internal Slackbot that answers Terraform Cloud questions using a RAG pipeline on Amazon Bedrock knowledge bases, with OpenSearch Serverless as the vector store, Titan Text Embeddings v2 for embedding and Claude 3.5 Sonnet v2 for generation.

Scaling Scientific Data: Migrating Benchling’s Schema Model for Performance at Scale

Case study 10 min +100 XP

Benchling replaced its PostgreSQL entity-attribute-value (EAV) storage for schema field values with a single JSONB column per entity, cutting row counts and per-row overhead that had slowed automated assay-result ingestion.

2023

10x faster python test iteration via fork(2)

Case study 8 min +80 XP

Benchling cut Python test iteration from 10 seconds to about 1 second by preloading slow-to-import dependencies and SQLAlchemy models in a parent process, then fork()ing a child that imports the changed app and test code, in the style of Rails' zeus. importlib.reload() fails because reverse dependencies keep stale bindings.

The quest for software engineering knowledge.

Look:
Layout: