Skip to Content
Release It!, 2nd Edition
book

Release It!, 2nd Edition

by Michael T. Nygard
January 2018
Intermediate to advanced
378 pages
11h 34m
English
Pragmatic Bookshelf
Content preview from Release It!, 2nd Edition

Slow Responses

As you saw in Socket-Based Protocols, generating a slow response is worse than refusing a connection or returning an error, particularly in the context of middle-layer services.

A quick failure allows the calling system to finish processing the transaction rapidly. Whether that is ultimately a success or a failure depends on the application logic. A slow response, on the other hand, ties up resources in the calling system and the called system.

Slow responses usually result from excessive demand. When all available request handlers are already working, there’s no slack to accept new requests. Slow responses can also happen as a symptom of some underlying problem. Memory leaks often manifest via Slow Responses as the virtual ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Code Complete, 2nd Edition

Code Complete, 2nd Edition

Steve McConnell
Storytelling with You

Storytelling with You

Cole Nussbaumer Knaflic
The Phoenix Project

The Phoenix Project

Gene Kim, Kevin Behr, George Spafford

Publisher Resources

ISBN: 9781680504552Errata Page