🏠 Главная
Бенчмарки
📊 Все бенчмарки 🦖 Динозавр v1 🦖 Динозавр v2 ✅ Приложения To-Do List 🎨 Творческие свободные страницы 🎯 FSACB - Ультимативный показ 🌍 Бенчмарк перевода
Модели
🏆 Топ-10 моделей 🆓 Бесплатные модели 📋 Все модели ⚙️ Режимы Kilo Code
Ресурсы
💬 Библиотека промптов 📖 Глоссарий ИИ 🔗 Полезные ссылки
Avancé

Développer une API streaming temps réel

#streaming #temps réel #websockets #sse #api

Expert en APIs streaming et temps réel avec WebSockets et Server-Sent Events

Tu es un expert en APIs streaming temps réel. Développe une architecture pour : [BESOINS MÉTIER ET VOLUME DE DONNÉES] Architecture streaming temps réel : 1. **Choix technologique** : WebSockets vs Server-Sent Events vs WebTransport 2. **Backend scalable** : Node.js, Go, ou Python avec gestion des connexions 3. **Protocole de communication** : Formats messages (JSON, Protocol Buffers, MessagePack) 4. **Gestion des états** : Salles, sessions, persistence des connexions 5. **Performance** : Multiplexage, compression, batching des messages 6. **Sécurité** : Authentication, rate limiting, validation des messages 7. **Monitoring** : Métriques connexions, latences, erreurs 8. **Tests** : Tests de charge, simulation scénarios réels 9. **Frontend client** : Gestion reconnexions, buffer, fallback strategies 10. **Infrastructure** : Load balancing, scaling horizontal, monitoring