perf
patch
task/skip-object-pg-on-bundle-push
#1 / 1
perf: skip PG object inserts on bundle push — bundle hash is the proof
sha256(wire_bytes)==bundle_key is verified once at the top of wire_push_unpack_bundle. That single hash proves every object inside is correct and present in MinIO. Writing 5158 rows to musehub_objects + musehub_object_refs during the synchronous push path was checking the work of the hash — eliminated entirely.
Also bump _SNAP_BATCH 200→2000 and _COMMIT_BATCH 200→2000 to collapse 6+6 sequential PG roundtrips down to 1+1.
sha256:90177d20e2c03752cd0fa4b467fda79342a620da10e79e337b6b9a47d625b3d9
sha
sha256:5ca88fb6d6a2edaf96c30f0bcc58b133f3fb57aaad7afa2d716099fe73500c91
snapshot
← Older
Oldest on task/skip-object-pg-on-bundle-push
All commits
Newer →
Latest on task/skip-object-pg-on-bundle-push
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:90177d20e2c03752cd0fa4b467fda79342a620da10e79e337b6b9a47d625b3d9 --body "your comment"
No comments yet. Be the first to start the discussion.