Edit product
Your Cart
    Subtotal

    Is this your street address?

    Card

    ···· ···· ···· 4242
    Test card

    05/18

    Card

    Use a different card?

    Card

    pp paypal

    or pay with

    We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

    or pay with

    Please confirm your location:
    You'll be charged .

    Your purchase was successful!

    We charged your card and sent you a receipt

      Gumroad Library

      Download from the App Store or text yourself a link to the app

      $49

      The Temple of Django Database Performance

      Most performance problems in web applications come down to one thing: the database.

      With Django, the situation is no different — and 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 dozens 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:

      • 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

      • How to eyeball a query and know exactly the right index to create 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)

      • 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

      You will learn all of this and more through over 140 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 you all of 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 am a Dungeon Master on the weekends and I require books to be fun.

      So gaze upon the Sacrificial Cliffs of Profiling. Get lost in the Labyrinth of Indexing. Ransack the Crypt of Querying. Then get back to kicking ass and saving the world from unbounded queries.

      You've purchased this product

      See it in your library

      View in Library
      Sorry, this item is not available in your location.
      Sold out, please go back and pick another option.
      This product is not currently for sale.

      Checkout

      The Temple of Django Database Performance

      Enter your info to complete your purchase

      Card

      ···· ···· ···· 4242
      Test card

      05/18

      Card

      Use a different card?

      Card

      pp paypal

      or pay with

      We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

      or pay with

      Please confirm your location:
      You'll be charged US$49.

      Your purchase was successful!

      We charged your card and sent you a receipt

        Gumroad Library

        Download from the App Store or text yourself a link to the app

        Good news! Since you already have a Gumroad account, it's also been added to your library.

        Powered by Gumroad