DevOps — Inventorier la config actuelle (V1) : Nginx, Swarm, DNS,
TLS, bases.
DevOps — Prévoir préprod et prod séparées (pas de Redis /
PostgreSQL partagés).
DevOps — Déployer la stack bourse-v2 : PostgreSQL marché →
Redis marché → api → pg2redis → gateway (+ LB / plusieurs
gateways si besoin charge).
DevOps — Redis prod : Sentinel (1 master + 2 replicas + 3
Sentinels) ; Redis marché ≠ Redis Drupal.
DevOps — Load balancer : timeouts longs, healthchecks,
compatibilité SSE ; runbook restart gateway après incident Redis.
DevOps — Secrets hors Git ; sauvegardes PostgreSQL ;
supervision /health et logs.
DevOps — Migration V1 :
docs/reports/MIGRATION_V1_VERS_V2_ETAPES.md puis
docs/reports/DEPLOIEMENT_ETAPES.md.
DevOps — Glossaire / exemples Nginx :
docs/reports/GUIDE_DEVOPS_DEPLOIEMENT_TERMES.md.
DevOps — Schéma LB + plusieurs gateways :
docs/architecture/NEGOCATION_SCHEMA_LB_GATEWAYS_REDIS.md.
PHP (Drupal) — Pack fichiers + exemples : drupal-integration/
(copie de [Link], YAML/JS/PHP d’exemple, [Link]) ;
gabarits alignés optimisation/ (même styles / structure).
PHP (Drupal) — Configurer l’URL gateway
(BOURSE_GATEWAY_URL / drupalSettings) : préprod puis prod.
PHP (Drupal) — Pages temps réel : live=1, gateway=…, var-lang si
besoin.
PHP (Drupal) — Plusieurs nœuds PHP derrière un LB : sessions (et
souvent cache Drupal) → Redis Drupal dédié, pas le Redis marché
bourse-v2 (évite conflits de clés, FLUSH, tuning / incidents mélangés
PHP (Drupal) — Si Nginx proxy vers la gateway : proxy_buffering
off, timeouts (voir guide DevOps).
PHP (Drupal) — Recette : onglet Réseau → snapshot 200 + SSE OK.
PHP (Drupal) — Détail :
docs/reports/RAPPORT_INTEGRATION_DRUPAL.md.
Python — api_db : ingestion BVMT, variables DB, tâches async ;
UPSERT cohérent avec tests SQL éventuels.
Python — pg2redis : LISTEN / poll ; tables ↔ canaux Redis ; pas
d’écritures concurrentes hors rôle.
Python — gateway : CHANNELS alignés pg2redis ; CORS ; /snapshot
+ SSE ; évolution possible Sentinel / reconnexion Redis.
Python — Rappel : vérité durable marché = PostgreSQL ; Redis =
cache + bus.
Python — Après stress ou failover Redis : valider resync et restart
gateway si besoin
(docs/architecture/COMPORTEMENT_REDIS_PERTE_REPRISE.md).
Python — Détail ingestion :
docs/reports/RAPPORT_VERIFICATION_FLUX_PYTHON.md.
Python — Archi + HA Redis :
docs/architecture/ARCHITECTURE_ACTUELLE.md,
docs/architecture/STRATEGIE_HA_REDIS.md.
Transverse — Jalons : prérequis (DNS, TLS, BVMT, secrets) →
préprod validée → bascule Drupal prod → hypercare.
Transverse — Toute la doc détaillée reste sous docs/ et devtools/ ;
ce fichier est l’entrée unique par équipe.