advancedSpring MVC & Web115 of 469
What happens when a REST endpoint streams a large response instead of returning the entire payload at once?
Tests whether you know streaming (StreamingResponseBody or a reactive WebFlux Flux) sends data incrementally and keeps memory flat for large responses, versus buffering the entire payload in memory before the first byte goes out.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a responseNext Step
←PreviousContinue to How would you design a notification/event-driven system (Kafka + consumers) for payments?→
← Back to all Spring Boot & Microservices questions