documentation: add research brief on embedding batch size and sync throughput #11
No reviewers
Labels
No labels
bug
chore
documentation
enhancement
feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
shoppy/shoppy-index-configuration!11
Loading…
Reference in a new issue
No description provided.
Delete branch "documentation/2026-11-02/research-brief-embedding-batch-throughput"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
docs/research-brief-embedding-batch-size-throughput.md— the research write-up for the question "can we increase the number of products we embed in one request?" (working hypothesis: 2 at a time, syncs taking too long).What it documents (all verified live, read-only, 2026-11-02):
input: ["{{text}}", "{{..}}"], confirmed in the liveshoppy-test-v12embedder settings) — and 10 is a hard, unconfigurable Meilisearch cap (nomaxBatchSizein the v1.56 API schema; upstream request meilisearch#5966 still open). The "2 at a time" impression is not supported by the config or task data.settingsUpdatebetween indexCreation and the first settings task), so the first settings apply (Oct 31) retro-embedded all 31,850 docs in one task — 5.05 hours at ~5.7s per 10-doc request — while the same data re-applied the next day took 245s. The variance is provider-side (queueing/429 backoff), not batch size.product-sync(src/config.rs:12-15) that point at a non-existent directory, with the failure swallowed.product-syncso retro-embeds never happen; (2) add OpenRouterprovider.orderpinning + check key rate-limit headroom; (3) longer term, pre-computed_vectorswith auserProvidedembedder so Meilisearch makes zero index-time embedding calls (bundles with the pending BFFhybridfollow-up); (4) track upstream #5966. Includes validation steps and open questions (e.g. who applied the Oct 31 hand-rolled settings payload).Docs only — no code or settings files changed.