docs: import spike findings #17

Merged
dhkatz merged 1 commits from docs/import-spike into main 2026-11-08 13:40:19 +00:00
Owner

The spike from docs/imports.md, done by hand on the dev VM with a throwaway script (IMVU's files stay off the repo).

Findings

  • An imported product works as a T5 product. NellLuna's "Valentines day dress", converted to a local pack, was loaded onto the test avatar by the client:
    • the pack's files came from the proxy (local ID 2000000003)
    • the parent's files came from IMVU's CDN
    • the outfit was broadcast
    • The conversion: full-size originals in place of placeholders, no _contents.json, __DATAIMPORT kept, ProductRating added.
  • Pack limits: far inside them. 60 sampled products had at most 55 files, 0.29 MiB in all.
  • Probing: about 5.5 HEADs per product, then about 5 GETs. At 5 requests a second, 626 requests met no limit from the CDN, so a 639-product shop takes about 22 minutes to import the first time.
  • Two things the importer needs:
    • IMVU's CFLs are LZMA-compressed, which t5de-api's cfl package doesn't read yet.
    • index.xml never has ProductRating, so the importer adds it.

Docs only.

🤖 Generated with Claude Code

The spike from docs/imports.md, done by hand on the dev VM with a throwaway script (IMVU's files stay off the repo). **Findings** - **An imported product works as a T5 product.** NellLuna's "Valentines day dress", converted to a local pack, was loaded onto the test avatar by the client: - the pack's files came from the proxy (local ID 2000000003) - the parent's files came from IMVU's CDN - the outfit was broadcast - The conversion: full-size originals in place of placeholders, no `_contents.json`, `__DATAIMPORT` kept, `ProductRating` added. - **Pack limits: far inside them.** 60 sampled products had at most 55 files, 0.29 MiB in all. - **Probing:** about 5.5 HEADs per product, then about 5 GETs. At 5 requests a second, 626 requests met no limit from the CDN, so a 639-product shop takes about 22 minutes to import the first time. - **Two things the importer needs:** - IMVU's CFLs are LZMA-compressed, which t5de-api's `cfl` package doesn't read yet. - `index.xml` never has `ProductRating`, so the importer adds it. Docs only. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
dhkatz added 1 commit 2026-11-08 01:07:28 +00:00
docs: import spike findings
Pull request / title (pull_request) Successful in 1s
CI / test (pull_request) Successful in 1m27s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped
88c6dfc4fe
One IMVU product, converted by hand to a local pack, is worn as a T5 product with its parent loading from IMVU.
A sample of 60 products fits the pack limits easily; probing revisions takes about 5.5 HEADs a product, and
IMVU's CDN met 5 requests a second without limiting. IMVU's CFLs are LZMA-compressed and their index.xml has no
ProductRating, so the importer needs LZMA in t5de-api's cfl package and adds the rating.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
dhkatz merged commit 26cc8aec84 into main 2026-11-08 13:40:19 +00:00
dhkatz deleted branch docs/import-spike 2026-11-08 13:40:19 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: t5de/t5de-hub#17