Problem statement: an archive that crosses a laboratory boundary
Define the object archive, physical DNA media and evidence needed for a durable commit.
What we are designing
Design a service that accepts a digital file, encodes it as synthetic DNA, commissions synthesis, records where the resulting material is stored, and later reconstructs the original bytes from sequencing reads. Users address immutable object versions through an API. Laboratory staff handle labelled tubes, plates and samples. Synthesizers and sequencers exchange order files and result files through authenticated adapters. The storage system must connect these worlds without confusing a completed upload with a completed physical archive.
DNA consists of four bases, A, C, G and T. Four possible symbols give an unconstrained upper bound of two bits per nucleotide. A usable archive achieves less because it needs primers, addresses, error correction and sequence restrictions. A file also becomes many short oligonucleotides, commonly called oligos, rather than one enormous molecule. A tube contains an unordered population of molecules with variable copy counts. Reading therefore means sampling a noisy population, identifying its members and recovering missing or damaged information.
Product contract
The initial product is write once, read rarely archival storage. A cultural archive, scientific institution or enterprise preservation team can tolerate a long ingest and restore process if it receives a verifiable result. It cannot treat DNA as a block device for a database or promise interactive reads. Store object names, ownership, codec versions, primers and physical locations in a conventional metadata catalog. Keep active workflow artifacts in ordinary object storage. The DNA is the long retention medium, while the catalog makes that medium usable.
Four functional requirements drive the answer: FR1 converts bits into constrained base sequences; FR2 adds error correction for corrupt and missing strands; FR3 manages synthesis orders with durable identities; FR4 reconstructs files from sequencing output. Tube identity and contamination detection cut across all four. A technically impressive encoder is insufficient if its output is assigned to the wrong well or its decoding parameters disappear after a software upgrade.
Two different completion events
An API may acknowledge an upload after checksum validation. The archival commit happens later, after synthesis receipt, identity checks, a verification read and confirmation of the required independent physical copies. Until then the object remains pending and its digital source is retained. A restore is complete only after decoded content passes the original digest and authenticated decryption checks. Successful sequencing alone proves neither the object identity nor the original byte order.
All workload figures, limits, SLOs and monetary examples in this design are explicit interview assumptions unless a paragraph names a published result. They describe a proposed pilot and a separate scale scenario, not a vendor's present service. This distinction matters because synthesis yield, usable density and laboratory turnaround depend on the chemistry, equipment and archive format.
How to open the interview
Say: 'I will build an immutable archival object service with an asynchronous laboratory workflow. My correctness boundary is original bytes to verified physical media and back to the same bytes.' Then clarify restore deadlines, capacity and custody before drawing cloud services. Spend the main design time on constrained encoding, layered correction, sample identity and crash recovery. A queue can retry a computation; it cannot establish whether an ambiguous external synthesis order has already consumed material and money.
Key Highlights
- •FR1 to FR4 span encoding, correction, synthesis identity and sequencing-based recovery.
- •I will distinguish upload acceptance from physical archival commit and final verified restore.
- •The two-bit nucleotide bound excludes primers, addressing, correction and failed sequence candidates.
- •Physical orders with ambiguous outcomes require reconciliation before another order is dispatched.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "I will distinguish upload acceptance from physical archival commit and final verified restore."
- "The two-bit nucleotide bound excludes primers, addressing, correction and failed sequence candidates."