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

Unbounded Result Sets

Design with skepticism, and you will achieve resilience. Ask, “What can system X do to hurt me?” and then design a way to dodge whatever wrench your supposed ally throws.

If your application is like most, it probably treats its database server with far too much trust. I’m going to try to convince you that a healthy dose of skepticism will help your application dodge a bullet or two.

A common structure in the code goes like this: send a query to the database and then loop over the result set, processing each row. Often, processing a row means adding a new data object to a collection. What happens when the database suddenly returns five million rows instead of the usual hundred or so? Unless your application explicitly ...

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