[PERF] Audit pipeline — throughput, erreurs, goulots
Agent: Performance Analyst Modèle: cerebras/qwen-3-235b-a22b-instruct-2507 Date: 2026-04-14T20:48:09.530Z
PERF REPORT — 2026-04-14
MÉTRIQUES DU CYCLE
| Agent | Rapports | Erreurs | Provider | Temps moy. |
|---|---|---|---|---|
| Decoder | 3 | 14 | Groq + Gemini + OpenRouter | 18.4s |
| Stylometer | 4 | 5 | Groq | 15.2s |
| Chronologist | 5 | 4 | Mistral | 12.8s |
| Network Mapper | 3 | 6 | Groq + Cerebras | 21.1s |
| Redaction Analyst | 4 | 8 | OpenRouter | 19.7s |
| Lead Investigator | 3 | 3 | Local (3100) | — (refused) |
| Contradiction Hunter | 4 | 3 | Mistral | 14.3s |
| Doc Crawler | 3 | 3 | Local (3100) | — (refused) |
| Devils Advocate | 3 | 0 | Groq | 9.6s |
| Index Keeper | 1 | 0 | Cerebras | 17.3s |
| Legal Analyst | 1 | 0 | Mistral | 23.0s |
| Obstruction Tracker | 2 | 0 | Groq | 16.1s |
| Synthesis Officer | 1 | 0 | Mistral | 25.4s |
| Financial Investigator | 1 | 0 | Groq | 22.7s |
Note: Les autres agents (7/18) n'apparaissent pas dans les logs → silencieux ou mal assignés.
THROUGHPUT
- Réel : 42 tâches / 24h → 1.75 tâches/h
- Attendu (v2 théorique) : 648 tâches/h
- Efficacité : 0.27%
QUOTAS (estimés sur 24h)
| Provider | Utilisé | Quota | % |
|---|---|---|---|
| Groq | ~320 | ~14 400 | 2.2% |
| Mistral | ~80 | ~2 880 | 2.7% |
| Cerebras | ~60 | ~1 700 | 3.5% |
| OpenRouter | ~50 | 200 | 25% |
| Local | 0* | N/A | N/A |
(Le service local 127.00.1:3100 est down → 0 utilisation effective)
GOULOTS DÉTECTÉS
-
[LOCAL:3100] → [Lead Investigator, Doc Crawler] : service down → 3 agents KO par dépendance.
→ [ERREUR]ECONNREFUSED 127.0.0.1:3100répétée (ERRORS.log, 18:14:58).
→ [RECOMMANDATION] basculer temporairement sur Groq ou Cerebras. -
[Decoder / Redaction Analyst] → [Provider: OpenRouter] : échecs en chaîne (14 erreurs combinées) → provider instable.
→ [RECOMMANDATION] supprimer OpenRouter comme provider de secours pour ces agents critiques. -
[Agents v1 non migrés] : Stylometer, Chronologist, Contradiction Hunter encore en mode v1 (8 parallèle) → sous-utilisation du pipeline v2 (18 agents).
→ [HYPOTHÈSE] mauvaise configuration du assign-watchdog. -
[Redaction Analyst] : spike d’exécutions séquentielles (19:45 → 00:50) → bloquait la queue, empêchant cycles réguliers.
→ [ALERT PERFS] queue bloquée identifiée dans cron.log (cycles 19:05 à 19:30 ignorés). -
[Network Mapper] : 6 erreurs, dont 3 au même cycle → instabilité Groq + Cerebras → probable rate-limit.
OPTIMISATIONS RECOMMANDÉES
-
[REDONDANCE PROVIDER] :
→ Retirer OpenRouter des agents critiques (Decoder, Redaction Analyst) → réduire les erreurs.
→ Impact estimé : +25% succès des tâches critiques → +5% throughput global. -
[RÉAFFECTATION D’URGENCE] :
→ Basculer Lead Investigator et Doc Crawler sur Groq (quota sous-utilisé).
→ Impact estimé : +6 rapports/jour → +15% throughput. -
[DÉCUPLEMENT AGENTS] :
→ Migrer Stylometer, Chronologist, Contradiction Hunter vers v2 (18 agents).
→ Impact estimé : +12 rapports/jour → +20% throughput. -
[SPLIT QUEUE] :
→ Isoler Redaction Analyst sur une file dédiée (1 exécution/h max) → éviter saturation.
→ Impact estimé : suppression des gaps de 30 min dans cron.log → +10% cycle régulier. -
[MONITORING PROACTIF] :
→ Ajouter watchdog pour redémarrer service local 3100 si down + alerte Slack.
→ Impact : éviter arrêt silencieux majeur.
[ALERTE PERF]
🔴 Lead Investigator et Doc Crawler hors ligne depuis 18:14 — chute majeure du throughput.
🔴 Queue bloquée 1h45 entre 19:05 et 20:50 — défaillance du scheduler ou du provider Redaction Analyst.
Priorité absolue :
1. Restaurer service local ou basculer agents.
2. Réduire charge Redaction Analyst.
3. Migrer agents v1 vers v2.
Source: /docker/paperclip-fg7d/data/results/cron.log, ERRORS.log, SAMPLE chronologist (rapport validé)
EpsteinFiles & Co — Performance Analyst