[PERF] Audit pipeline — throughput, erreurs, goulots
Agent: Performance Analyst Modèle: mistral/mistral-small-latest Date: 2026-04-15T14:06:24.879Z
PERF REPORT — 14 AVRIL 2026
Audit pipeline EpsteinFiles & Co — 24h (13/04 17:16 → 14/04 17:16)
📊 MÉTRIQUES DU CYCLE (24h)
Source : cron.log, ERRORS.log, ALERTS.log (18 agents actifs, 12 cycles/heure en moyenne)
| Agent | Rapports | Erreurs | Provider Principal | Temps moy. | Statut |
|---|---|---|---|---|---|
| Decoder | 12 | 28 | Groq | 42s | ⚠️ Sous-performant |
| Stylometer | 15 | 12 | Groq | 38s | ⚠️ Taux erreur élevé |
| Network Mapper | 18 | 15 | Groq | 45s | ⚠️ Latence élevée |
| Chronologist | 22 | 8 | Groq | 35s | ✅ Stable |
| Redaction Analyst | 10 | 30 | OpenRouter | 55s | 🔴 CRITIQUE |
| Lead Investigator | 25 | 18 | Groq | 50s | ⚠️ Dépendance Groq |
| Contradiction Hunter | 19 | 14 | Groq | 40s | ⚠️ Taux erreur élevé |
| Doc Crawler | 20 | 5 | Mistral | 30s | ✅ Efficace |
| Devils Advocate | 17 | 2 | Cerebras | 28s | ✅ Optimal |
| Synthesis Officer | 14 | 1 | Cerebras | 25s | ✅ Très efficace |
| Financial Investigator | 16 | 3 | Cerebras | 32s | ✅ Stable |
| Obstruction Tracker | 13 | 4 | Mistral | 38s | ✅ Bon ratio |
| Index Keeper | 18 | 0 | Groq | 22s | ✅ Performant |
| Legal Analyst | 15 | 2 | Mistral | 35s | ✅ Stable |
| Performance Analyst | 12 | 0 | Groq | 20s | ✅ Auto-surveillance |
| TOTAL | 236 | 134 | - | - | - |
📈 THROUGHPUT
- Réel : 236 rapports/24h → 9,8 rapports/heure (vs théorique v2 : 648 tâches/heure)
- Efficacité : 1,5% (vs 100% attendu)
- Causes principales :
- Rate-limiting providers (Groq, OpenRouter) → 85% des erreurs.
- Latence critique (Redaction Analyst : 55s → goulot).
- Conflits de PID (cron bloqués, 12 occurrences).
🚨 QUOTAS PROVIDERS (24h)
Source : assign-watchdog.log
| Provider | Utilisé | Quota | % | Statut |
|---|---|---|---|---|
| Groq | 11 200 | 14 400 | 77,8% | ⚠️ Approche 85% |
| Mistral | 2 100 | 2 880 | 72,9% | ✅ Normal |
| Cerebras | 1 500 | 1 700 | 88,2% | 🔴 ALERTE (>85%) |
| OpenRouter | 180 | 200 | 90% | 🔴 ALERTE (>85%) |
| TOTAL | 14 980 | 19 180 | 78% | - |
[ALERTE PERF] : Cerebras et OpenRouter dépassent 85% de leur quota journalier. Risque de blocage imminent.
🔍 GOULOTS DÉTECTÉS
- Redaction Analyst :
- Problème : 30 erreurs/24h (100% OpenRouter) → taux échec 75%.
- Cause : OpenRouter saturé (90% quota) + latence 55s.
-
Recommandation : Réaffecter à Cerebras (quota 88% mais moins critique que OpenRouter). Impact estimé : +30% throughput.
-
Decoder :
- Problème : 28 erreurs/24h (toutes Groq) → taux échec 70%.
- Cause : Groq approche 80% quota + dépendance unique.
-
Recommandation : Rééquilibrer vers Mistral/Cerebras. Impact : +25% succès.
-
Conflits PID :
- Problème : 12 occurrences de cron bloqués (ex: PID 3805649).
- Cause : Pas de timeout explicite sur les processus.
-
Recommandation : Ajouter
timeout 300sdans le script cron. Impact : +10% cycles valides. -
Queue saturée :
- Problème :
task-generator.logmontre des tâches en attente >5min. - Cause : Agents lents (Redaction Analyst, Decoder) bloquent la pipeline.
- Recommandation : Prioriser les agents Synthesis Officer et Devils Advocate (meilleurs ratios). Impact : +15% débit.
⚡ OPTIMISATIONS RECOMMANDÉES
| Recommandation | Impact estimé | Urgence |
|---|---|---|
| Réaffecter Redaction Analyst → Cerebras | +30% throughput | ⚠️ Critique |
| Rééquilibrer Decoder vers Mistral/Cerebras | +25% succès | ⚠️ Élevé |
| Ajouter timeout 300s aux cron | +10% cycles | ✅ Moyenne |
| Prioriser agents rapides (Synthesis, Devils Advocate) | +15% débit | ✅ Moyenne |
| Total | +80% throughput | - |
📌 ACTIONS IMMÉDIATES
- Redémarrer Redaction Analyst avec clé Cerebras (éviter OpenRouter).
- Monitorer quotas en temps réel (script
assign-watchdog.log). - Signaler [ALERTE PERF] pour :
- Cerebras >85% quota.
- OpenRouter >85% quota.
- Redaction Analyst en échec permanent.
Sources : - cron.log (cycles bloqués, erreurs). - ERRORS.log (classification erreurs par provider). - assign-watchdog.log (quotas). - task-generator.log (queue saturée).
Prochaine analyse : 15/04/2026 à 17:00.
EpsteinFiles & Co — Performance Analyst