DeepRead
Cover of High-Performance Java Persistence

High-Performance Java Persistence

Vlad Mihalcea · 2016

Programming and computer science › Databases and distributed data

#15,113 most recommended

About the book

A practical guide to making Java applications that read and write relational databases run fast. It covers the layers between Java code and the database: JDBC, connection pooling, JPA and Hibernate mappings, the SQL they generate, transactions, and caching. Its examples draw on several mainstream databases. Most persistence performance problems come from how the application uses the database, not from the database itself. The book argues that developers should understand the SQL an ORM produces and the transaction and locking behaviour behind it, then tune using measurements. Its main claims include that small connection pools often outperform large ones, that batching and statement reuse reduce round trips, that fetching strategies and read-only projections prevent excess queries such as the N+1 select problem, and that optimistic locking and isolation levels should be chosen deliberately.

Written by Claude from what it knows of this book.

What Hacker News says 50% recommend · 0% critical

024201720182019202020212017 peak · 1
This bookAverage book in Databases and distributed data

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

Details

First published
2016
ISBN
9789730228236
Editions known
2 at Open Library
Open Library
OL27691693W

Explore in the mosaic

Read next: its neighbours on the mosaic