perf: eliminate all sequential storage I/O across every MWP verb
wire_push inline objects: was N+1 session.get() + sequential exists() + sequential put() per object. Now: 1. Bulk SELECT IN — 1 DB round-trip 2. CPU-bound checks first (hash verify, polyglot) — fail fast 3. Parallel exists() for self-heal detection 4. Parallel put() for new + re-uploads 5. Bulk INSERT ON CONFLICT DO NOTHING — 1 DB round-trip
Self-healing is preserved: DB-present objects whose bytes are missing from storage are detected (parallel exists) and re-uploaded (parallel put) with their DB row updated. No data integrity compromise.
Every MWP verb is now fully parallel on storage I/O: filter-objects → single SQL IN push/objects → parallel put + bulk INSERT push (inline) → parallel exists + parallel put + bulk INSERT fetch/objects → parallel get (asyncio.gather) presign → parallel presign (asyncio.gather) negotiate → DB only refs → DB only
0 comments
muse hub commit comment sha256:b06ff83a67d755950e1d354e2bc68e89fed485e40f7f67793543a5a273b95804 --body "your comment"
No comments yet. Be the first to start the discussion.