W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
7 questions for “WebSockets & Real-Time Communication”
Found in 1 field. Select a question to see its full answer.
Information Technology
7 questions in 1 technology
#
Question
Technology
Topic
Level
1
What is Redis Pub/Sub, and how would a Node.js application use it to broadcast
real-time
events across multiple server instances?
Node.js › Caching with Redis
Node.js
Caching with Redis
Intermediate
2
How would you implement Server-Sent Events (SSE) in Node.js to push
real-time
updates to a browser client over a single long-lived HTTP connection?
Node.js › HTTP & Web Servers
Node.js
HTTP & Web Servers
Advanced
3
How would you track and expose the progress of a long-running background job to the client that requested it?
Node.js › Background Jobs & Queues
Node.js
Background Jobs & Queues
Intermediate
4
What is the difference between the 'sticky' and default load-balancing strategies when using Node's cluster module, and when does it matter?
Node.js › Clustering & Worker Threads
Node.js
Clustering & Worker Threads
Intermediate
5
How would you implement a progress indicator for a large file upload from the client's perspective, given the Node.js server side?
Node.js › File Uploads & Media Processing
Node.js
File Uploads & Media Processing
Intermediate
6
What is the difference between a GraphQL Query, Mutation, and Subscription operation type?
Node.js › GraphQL
Node.js
GraphQL
Intermediate
7
What happens to in-memory state (like an in-memory cache) when using the Node.js cluster module, and how do you handle this correctly?
Node.js › Clustering & Worker Threads
Node.js
Clustering & Worker Threads
Advanced