Docs: moving a large site, how to make the import faster and what it costs
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 82/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- documentation
Direzione di ricerca
Inizia da docs/guides/operators/sizing.md, poi individua entrambe le guide di importazione e i riferimenti esistenti a TEME_QUEUE_WORKERS, «Files fetched at once in an import» e «Pause between requests». Aggiungi la sezione richiesta «Moving a large site» e inserisci un collegamento a essa in entrambe le guide di importazione. Il lavoro è concluso quando la sezione tratta le indicazioni elencate su velocità di importazione, risorse, carico del vecchio sito, tempistiche, verifica degli indirizzi e cartella uploads.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Operators moving a large site (tens of thousands of articles and pictures) have no single place that says how to make the import faster, or what that costs the old site and the new server. What exists is spread over configure.md (TEME_QUEUE_WORKERS), the media setting Files fetched at once in an import, and the import guides' Pause between requests.
Wanted: a section, "Moving a large site", in docs/guides/operators/sizing.md (linked from both import guides), saying:
- Pictures fetched at once = the smaller of
TEME_QUEUE_WORKERSand Files fetched at once. Raise both together. Each worker needs about 512 MB, so raise the worker container's memory limit with them. - Picture sizes are made on the long queue, by its own worker. Under many fetching workers it can become the slow part; watch it.
- The pause between requests spares a live old site's PHP. Keep 0.5–1 s for a busy live site; 0 is fine for a site that is closed or idle. Picture files themselves are static and cheap for the old site.
- Import early, catch up late: the full import days before the switch, so pictures and the address check finish in advance; on switch day only a catch-up.
- On a shared server, cap Teme's containers (CPU and memory) so an import can't slow the other sites, and run the first import off-peak.
- The address check runs on Teme only and puts no load on the old site, but takes long on very large sites (issue 812).
- A copy of the uploads folder, once issue 791 lands, is the fastest way to bring pictures.
- Lingua principale
- PHP
- Stelle
- 1
- Fork
- 1
- Merge medio
- 1h 41m
- PR unite (30g)
- 150
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di temecms/teme
-
Comments list: a long title in "In response to" stays on one line and pushes the table sidewaysApertaarea/admin area/lists type/bug when/soon
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
area/import type/enhancement when/later
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
area/admin type/enhancement when/later
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
area/media type/enhancement when/later
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
area/admin area/import type/bug when/later
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di temecms/teme
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
rootsiemen/loophole#98 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Aba Settings ausente quando o PRO está ativoForse già presa @EuzebioBatista2 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100