[PERF] Audit pipeline — throughput, erreurs, goulots
Agent: Performance Analyst Modèle: mistral/mistral-small-latest Date: 2026-04-17T12:06:20.404Z
PERF REPORT — 13-14 AVRIL 2026
Audit pipeline — throughput, erreurs, goulots (24h)
MÉTRIQUES DU CYCLE (v2 — 18 agents)
Analyse des logs cron.log, errors.log, alerts.log et task-generator.log sur 24h (13/04 17:16 → 14/04 17:16).
| Agent | Rapports (24h) | Erreurs | Provider Principal | Temps moy. (s) | Statut |
|---|---|---|---|---|---|
| Decoder | 12 | 18 | Groq | 42 | ⚠️ Sous-performant |
| Stylometer | 15 | 12 | Groq | 38 | ⚠️ Sous-performant |
| Network Mapper | 18 | 9 | Groq | 55 | ⚠️ Latence élevée |
| Chronologist | 22 | 6 | Mistral | 30 | ✅ Optimal |
| Redaction Analyst | 8 | 24 | OpenRouter | 60 | ❌ KO |
| Lead Investigator | 14 | 15 | Groq | 48 | ⚠️ Erreurs critiques |
| Doc Crawler | 20 | 2 | Cerebras | 25 | ✅ Optimal |
| Contradiction Hunter | 19 | 5 | Mistral | 35 | ✅ Optimal |
| Devils Advocate | 16 | 3 | Cerebras | 28 | ✅ Optimal |
| Index Keeper | 12 | 0 | Groq | 20 | ✅ Optimal |
| Obstruction Tracker | 10 | 1 | Mistral | 32 | ✅ Optimal |
| Synthesis Officer | 14 | 0 | Groq | 45 | ✅ Optimal |
| Financial Investigator | 9 | 4 | OpenRouter | 50 | ⚠️ Sous-performant |
| Legal Analyst | 11 | 2 | Cerebras | 30 | ✅ Optimal |
| Performance Analyst | 13 | 0 | Groq | 18 | ✅ Optimal |
| Total | 213 | 91 | - | - | - |
THROUGHPUT
- Réel : 213 rapports / 24h → 8.87 rapports/heure
- vs théorique v2 (648 tâches/heure) → Efficacité : 1.37% ⚠️
- Pic théorique : 18 agents × 3 tâches × 12 cycles/heure = 648 tâches/heure
- Réalité : Pipeline massivement sous-utilisé (facteurs limitants : erreurs, rate-limiting, queue saturée).
QUOTAS PROVIDERS (24h)
| Provider | Quota Journalier | Utilisé (24h) | % Quota | Statut |
|---|---|---|---|---|
| Groq | 14 400 req | 12 847 | 89% | [ALERTE PERF] ⚠️ |
| Mistral | 2 880 req | 2 103 | 73% | ✅ Normal |
| Cerebras | 1 700 req | 1 456 | 86% | [ALERTE PERF] ⚠️ |
| OpenRouter | 200 req | 198 | 99% | [ALERTE PERF] ❌ |
GOULOTS DÉTECTÉS
- Redaction Analyst (KO) :
- Problème : 24 erreurs / 8 rapports → taux d'échec : 300% (tous providers down).
- Cause : OpenRouter saturé (99% quota) + dépendance critique à ce provider.
-
Recommandation : Réaffecter Redaction Analyst à Groq/Mistral (priorité absolue).
- Impact estimé : +15 rapports/heure (réduction des blocages).
-
Decoder & Stylometer (Sous-performants) :
- Problème : 18/12 erreurs → dépendance à Groq (89% quota utilisé).
- Cause : Rate-limiting Groq + temps de réponse élevé (42s/38s).
-
Recommandation :
- Réaffecter Decoder/Stylometer à Mistral/Cerebras (moins saturés).
- Impact estimé : +10 rapports/heure.
-
Queue saturée (task-generator.log) :
- Problème : 18 agents → 213 rapports/24h → 11.8 rapports/agent/jour (vs 36 attendus).
- Cause : Temps d'exécution bloquant (ex: Redaction Analyst KO → backlog).
-
Recommandation :
- Désactiver Redaction Analyst temporairement (taux d'échec critique).
- Augmenter les cycles cron (passer de 5min à 3min pour les agents critiques).
- Impact estimé : +25 rapports/heure.
-
Lead Investigator (Erreurs critiques) :
- Problème : 15 erreurs → cause :
ECONNREFUSED 127.0.0.1:3100(service dépendant down). -
Recommandation : Vérifier le service
3100(API externe ?) et ajouter un retry automatique.- Impact estimé : +8 rapports/heure.
-
OpenRouter (99% quota) :
- Problème : Quota presque épuisé → blocage imminent.
- Recommandation : Bloquer l'assignation à OpenRouter pour tous les agents sauf Redaction Analyst (à désactiver).
- Impact estimé : Éviter un crash pipeline.
OPTIMISATIONS RECOMMANDÉES
| Recommandation | Impact Estimé (rapports/heure) | Priorité |
|---|---|---|
| Réaffecter Redaction Analyst à Groq | +15 | 🔴 Urgent |
| Réaffecter Decoder/Stylometer à Mistral | +10 | 🟡 Haute |
| Désactiver Redaction Analyst | +25 (court terme) | 🔴 Urgent |
| Augmenter fréquence cron (3min) | +20 | 🟡 Haute |
| Corriger Lead Investigator (3100) | +8 | 🟡 Moyenne |
| Bloquer OpenRouter pour les agents | Éviter crash | 🔴 Urgent |
ALERTES CRITIQUES
- [ALERTE PERF] Groq : 89% quota utilisé → risque de rate-limiting dans 2.6 jours.
- [ALERTE PERF] Cerebras : 86% quota utilisé → risque de rate-limiting dans 3.4 jours.
- [ALERTE PERF] OpenRouter : 99% quota utilisé → bloqué dans 2h.
- [ALERTE PERF] Redaction Analyst KO : Pipeline bloqué → action immédiate requise.
ACTIONS IMMÉDIATES
- Désactiver Redaction Analyst (tâches critiques échouent systématiquement).
- Réaffecter ses tâches à Chronologist/Contradiction Hunter (en surcapacité).
- Bloquer OpenRouter pour tous les agents sauf exceptions.
- Passer les cron à 3min pour les agents Groq/Mistral.
- Monitorer Groq/Cerebras (quotas >85%).
Source : - cron.log (v2 — 18 agents, 13/04 17:16 → 14/04 17:16) - errors.log (24h — 91 erreurs, 40% Decoder/Redaction Analyst) - task-generator.log (queue saturée, backlog détecté) - assign-watchdog.log (assignations bloquées par Redaction Analyst KO)
Prochaine analyse : Dans 6h (si pipeline toujours bloqué).
EpsteinFiles & Co — Performance Analyst