What is a reverse proxy?
A reverse proxy receives client requests and forwards them to backend servers.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 601–612 of 3610 questions
A reverse proxy receives client requests and forwards them to backend servers.
Resilience combines timeouts, bounded retries, circuit breakers, bulkheads, graceful degradation, and observability.
Node.
The event loop coordinates JavaScript callbacks and asynchronous work.
Synchronous I/O blocks the current execution until it completes; asynchronous I/O allows the runtime to continue processing other work while the operation is pending.
Callbacks pass a function to be invoked later; promises represent eventual completion or failure; async/await provides syntax for writing promise-based code in a sequential style.
They schedule work at different points.
Streams process data incrementally rather than loading the entire payload into memory.
Backpressure occurs when a destination consumes data more slowly than a source produces it.
Use try/catch for awaited operations, handle promise rejections, and centralize translation of known errors into safe HTTP responses.
libuv provides the event loop and a worker pool for selected operations such as many filesystem tasks, some DNS operations, and crypto work.
Worker threads run JavaScript in separate threads and are useful for CPU-intensive tasks that would block the event loop.