Best Sellers in Books
Discover the most popular and best selling products in Books based on sales

Disclosure: I get commissions for purchases made through links in this website
Databases & Big Data - The Temple of Django Database Performance

Description

Book Synopsis: Most performance problems in web applications come down to one thing: the database. With Django, the situation is no different -- in fact, in some ways it's even worse than that of our ORM-hating colleagues. Database performance tuning in Django involves a dizzying number of ORM API methods (defer, prefetch_related, iterator, and many more), mysterious alphabet letters (Q, F?!), and all of this rests on top of the already complex machinery of SQL queries and indexes.

I'm going to make a bold claim here: The only way to master Django is to master database performance. The difference between junior, mid-level, and senior Django engineers is usually a function of this mastery.

And to fully master database performance with Django, reading through API documentation is not enough. You need to become an expert. Here are some examples of what an expert knows that this book will teach you:

  1. How to use profiling and measurement tools like New Relic, Django Debug Toolbar, and database query plans to see exactly how badly a query performs in production
  2. How to eyeball a query and know exactly the right index to speed it up (a covering index with INCLUDE? a partial index? a GIN index? You're going to tell me by the end of the book because YOU will be the expert)
  3. How to use advanced techniques like server-side cursors with iterator(), custom Func() expressions, and keyset pagination with row comparisons to churn through millions of rows of data with ease
  4. How to move slow queries into Materialized Views and query them as Django models

You will learn all of this and more through over 160 pages, 60 examples, and 30 quiz questions. By the end, you won't ever think of a Django ORM query the same again: it will exist simultaneously in your mind as an operational metric, ORM syntax, generated SQL, and a database execution plan. Because you will be an expert.

I can teach this because I have over ten years of experience working with Django and relational databases, both as an application developer and a platform engineer building databases as a service for Compose.com and IBM Cloud.

And did I mention that you're going to have fun? Yes, you read that right. This book is chock full of awesome fantasy art including a map of each chapter's core concepts. Why fantasy art? Because I play tabletop role-playing games and I require books to be fun.

So gaze upon the Sacrificial Cliff of Profiling. Get lost in the Labyrinth of Indexing. Ransack the Crypt of Querying. Then get back to saving the world from unbounded queries! Read more

Details

Are you tired of dealing with slow web application performance? Look no further than The Temple of Django Database Performance Book. This book is a game-changer for anyone working with Django, as it focuses on one crucial element: the database. With a dizzying array of ORM API methods and complex SQL queries, mastering database performance is the key to becoming a true Django expert.

Unlike other resources that provide only surface-level knowledge, this book goes deep into the subject matter. You'll learn how to use advanced profiling and measurement tools to identify and fix performance issues in your production environment. Say goodbye to guessing which index to use or how to optimize a query - our book will guide you through every step of the process, making you an expert in no time.

But wait, there's more! Our book also covers cutting-edge techniques such as server-side cursors, custom Func expressions, and keyset pagination. These advanced methods will empower you to handle massive amounts of data effortlessly. Additionally, we dive into materialized views and show you how to query them as Django models for maximum efficiency.

With over 160 pages, 60 examples, and 30 quiz questions, this comprehensive resource will transform the way you think about Django ORM queries. You'll gain a deep understanding of query performance as an operational metric, ORM syntax, generated SQL, and execution plans. By the end, you'll be a true expert in database performance.

What sets this book apart from others? Besides the invaluable knowledge it provides, we've sprinkled it with stunning fantasy art. Each chapter comes with captivating illustrations that will make your learning experience enjoyable and memorable. Imagine delving into the Sacrificial Cliff of Profiling or exploring the Labyrinth of Indexing while flipping through pages adorned with beautiful artwork.

Don't miss out on the chance to level up your Django skills and have fun while doing it. Get your hands on The Temple of Django Database Performance Book now and become the master of database performance that you are destined to be.

Read more

Disclosure: I get commissions for purchases made through links in this website