ข้ามไปที่เนื้อหา
Modal Blog·· 2024-02-27คะแนน AI38

Modal adds WebSocket support for real-time apps

Introducing: WebSockets on Modal

เนื้อหานี้ยังไม่มีในภาษาของคุณ จึงแสดงเป็นEnglish

สรุปโดย AI

Modal now supports WebSocket connections, letting functions on its platform maintain persistent, bidirectional links between client and server instead of per-request HTTP connections. Each WebSocket connection counts as a single input, so functions not bound by CPU/GPU should allow concurrent inputs or Modal spins up a new container per connection. Modal auto-scales WebSocket handlers, targeting real-time streaming, progress updates on long-running tasks, and hosting frameworks like ComfyUI, Streamlit and Gradio.

แหล่งข่าว:Modal Blog · modal.com