跳到正文
Vercel Blog(vercel.com)· Matthew Stanciu·· 7 天前精選AI 評分62

Vercel Functions WebSocket 支援正式普及

WebSocket support is now generally available

AI 導讀

Vercel Functions 已將 WebSocket 支援正式普及,讓開發者可在 AI 聊天、串流與即時多人遊戲等場景中即時使用。

  • 流量:已服務 3 億 WebSocket 連線,日均 1,500 萬。
推薦理由

WebSocket 功能已全面可用,開發者可即時整合 AI 聊天、串流與多人即時遊戲,提升應用互動體驗。

正文 · 原文

WebSocket support in Vercel Functions is now generally available.

Since the public beta launched in late June, Vercel CDN has served 300 million WebSocket connections, and now serves 15 million per day.

Customers use WebSockets for AI chat, streaming, and realtime multiplayer apps. WebSockets also power AI Gateway's realtime models.

WebSocket connections follow the same limits and pricing as other Function invocations. With Active CPU pricing, CPU is billed only for the time spent processing messages.

Get started at the documentation.

Contributors

來源: Vercel Blog (vercel.com)
開啟原文