While creating an online marketplace that updates users quickly when prices or stock details change, an engineer needs a way to maintain a continuous data flow without repeated requests. Which approach handles this requirement?
A method that keeps a session-based channel open for two-way communication
A method that serves each inquiry in isolated operations with structured outputs
A method that relies on custom queries for extracting data in specialized ways
A method that converts incoming triggers into queued tasks for deferred updates
A method that establishes a two-way channel across a session achieves fast updates without repeated requests. It is designed for scenarios where users need live information. The other approaches depend on distinct call-and-response patterns or rely on delays through event queues or advanced query methods, which are not as suitable for ongoing data exchange.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a session-based two-way communication channel?
Open an interactive chat with Bash
How does a WebSocket differ from traditional HTTP requests?
Open an interactive chat with Bash
What are some use cases for two-way session-based communication?