4beb5a1f

By: Michael Lynch <git@mtlynch.io>

Stream Tinybeans imports one entry at a time

Load and convert a single entry's media in memory, then persist its metadata
transactionally before processing the next entry. This keeps completed imports
when a later entry fails and leaves the command as dependency wiring.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 11s 11s 14s 2s
Eval 9s 50s 50s 1m00s 0s
Build 40s 5m20s 1m28s 2m09s 8s
Suite 2s 6m22s 2m06s 2m09s 11s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s2m