MockReal Logo
Home
BlogPricing
For Employers →
  1. Home
  2. Questions
  3. 说说 WebSocket 和 SSE 通信的区别及局限性?

说说 WebSocket 和 SSE 通信的区别及局限性?

Technical大模型应用开发 ai agentAI 应用开发工程师工具调用开发工程师AI 工程师大模型应用开发工程师

WebSocket provides full-duplex communication, allowing real-time data exchange, while SSE is unidirectional, sending updates from server to client. WebSocket is more suitable for interactive applications, but it has a higher overhead.

On the other hand, SSE is simpler to implement and works over HTTP, making it easier to manage with existing web infrastructure. However, it lacks the ability to send data back to the server.

More Questions

  • Function Calling、Skill、MCP 这三个有什么区别?
  • Function Calling 也属于工具调用,请问什么场景下使用 Function Calling,什么场景下使用 MCP?
  • MCP 和 Agent Skill 的区别是什么?
  • MCP 和 Function Calling 有什么区别?有没有实际跑过 MCP?
  • 为什么要用 WebRTC 协议?它和 WebSocket 在 AI 对话流中的核心差异是什么?
  • 什么是 A2A 协议?它和 MCP 协议的区别是什么?
  • 什么是 Function Calling?原理是什么?
  • 什么是 MCP(模型上下文协议)?讲讲它的核心内容?
  • 大模型的 Function Call 能力是怎么训练出来的?
  • Agent 推理模式有哪些?ReAct 是啥?具体是怎么实现的?
MockReal Logo

Spoken interview practice for technical professionals

Product

  • Pricing
  • Questions
  • Positions
  • Resumes
  • For Employers →

Company

  • Careers
  • About Us
  • Contact
  • Blog

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2025 MockReal. Spoken interview practice. All rights reserved.