Spring Boot Persistence Best Practices: Optimize Java Persistence Performance in Spring Boot Applications
暫譯: Spring Boot 持久化最佳實踐:優化 Spring Boot 應用程式中的 Java 持久化效能

Leonard, Anghel

  • 出版商: Apress
  • 出版日期: 2020-04-30
  • 售價: $3,030
  • 貴賓價: 9.5$2,879
  • 語言: 英文
  • 頁數: 1033
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484256255
  • ISBN-13: 9781484256251
  • 相關分類: Java 程式語言Java 相關技術
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

This book is a collection of developer code recipes and best practices for persisting data using Spring, particularly Spring Boot. The book is structured around practical recipes, where each recipe discusses a performance case or performance-related case, and almost every recipe has one or more applications. Mainly, when we try to accomplish something (e.g., read some data from the database), there are several approaches to do it, and, in order to choose the best way, you have to know the implied trades-off from a performance perspective. You'll see that in the end, all these penalties slow down the application. Besides presenting the arguments that favor a certain choice, the application is written in Spring Boot style which is quite different than plain Hibernate.

 

Persistence is an important set of techniques and technologies for accessing and using data, and this book demonstrates that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, ecommerce, cloud and other transaction-oriented applications.

 

 

After reading and using this book, you'll have the fundamentals to apply these persistence solutions into your own mission-critical enterprise Java applications that you build using Spring.

 

What You Will Learn

 

 

  • Shape *-to-many associations for best performances
  • Effectively exploit Spring Projections (DTO)
  • Learn best practices for batching inserts, updates and deletes
  • Effectively fetch parent and association in a single SELECT
  • Learn how to inspect Persistent Context content
  • Dissect pagination techniques (offset and keyset)
  • Handle queries, locking, schemas, Hibernate types, and more

 

 

 

 

 

 

 

Who This Book Is For

Any Spring and Spring Boot developer that wants to squeeze the persistence layer performances.

商品描述(中文翻譯)

這本書是針對使用 Spring,特別是 Spring Boot,進行資料持久化的開發者程式碼食譜和最佳實踐的集合。書籍的結構圍繞實用的食譜,每個食譜都討論一個性能案例或與性能相關的案例,幾乎每個食譜都有一個或多個應用。主要是,當我們嘗試完成某件事情(例如,從資料庫讀取一些資料)時,有幾種方法可以做到這一點,而為了選擇最佳的方法,你必須了解從性能角度所隱含的權衡。你會發現,最終所有這些懲罰都會減慢應用的速度。除了呈現支持某種選擇的論據外,應用是以 Spring Boot 風格編寫的,這與純 Hibernate 有相當大的不同。

持久化是一組重要的技術和技術,用於訪問和使用資料,而這本書展示了資料在特定應用和上下文中都是可移動的。在 Java 開發中,持久化是企業、電子商務、雲端及其他以交易為導向的應用中的關鍵因素。

在閱讀和使用這本書後,你將具備將這些持久化解決方案應用到你使用 Spring 建立的關鍵企業 Java 應用的基礎知識。

你將學到的內容:

- 形狀 *-對多 關聯以獲得最佳性能
- 有效利用 Spring Projections (DTO)
- 學習批次插入、更新和刪除的最佳實踐
- 有效地在單一 SELECT 中獲取父項和關聯
- 學習如何檢查持久化上下文內容
- 解剖分頁技術(偏移量和鍵集)
- 處理查詢、鎖定、架構、Hibernate 類型等

這本書適合任何希望提升持久化層性能的 Spring 和 Spring Boot 開發者。

作者簡介

Anghel Leonard is a Chief Technology Strategist with 20+ years of experience in the Java ecosystem. In daily work, he is focused on architecting and developing Java distributed applications that empower robust architectures, clean code, and high-performance. Also passionate about coaching, mentoring and technical leadership. He is the author of several books, videos and dozens of articles related to Java technologies.

作者簡介(中文翻譯)

Anghel Leonard 是一位首席技術策略師,擁有超過 20 年的 Java 生態系統經驗。在日常工作中,他專注於架構和開發 Java 分散式應用程式,致力於實現穩健的架構、乾淨的程式碼和高效能。他對於指導、輔導和技術領導也充滿熱情。他是多本書籍、影片以及數十篇與 Java 技術相關的文章的作者。