New Book: The Temple of Django Database Performance (spellbookpress.com)
I wrote a book to help you master database performance with Django -- while having fun! Descend 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!
8 points by abrookins in: django databases performance 1 week, 5 days ago | 5 comments


 
2 points by abrookins 1 week, 4 days ago | 4 comments | on: New Book: The Temple of Django Database Performance
Happy to answer any questions about the book, or about the process of writing a technical book! Summary version: it's a slog. And if cost is an issue for you, take 40% off with this coupon: 4pythonsc
 
1 point by bithive 1 week, 2 days ago | 3 comments | parent | on: New Book: The Temple of Django Database Performance
Hi, I hope your family is well! How was writing a book under this circumstances.
 
3 points by abrookins 1 week, 2 days ago | 2 comments | parent | on: New Book: The Temple of Django Database Performance
Harder than I anticipated! At the same time, I was able to set my own writing schedule. I originally planned to publish the book during the summer, but decided to take three months off after our baby was born, which ended up moving the publication date later in the year. The entire project would have been a lot less stressful if I had simply told no one that I was working on it. However, as soon as I began writing I told everyone I knew about the book and the date that I anticipated publishing it. Then I took pre-orders based on that date. Next time, I will probably keep the project private longer. Or at the very least, avoid taking pre-orders and instead sell ‚Äúbeta‚ÄĚ access with a very loose publication date estimate.
 
1 point by bithive 1 week, 2 days ago | 1 comment | parent | on: New Book: The Temple of Django Database Performance
I bought your book yesterday, thanks for the coupon! There is not much written about the topic, at least I hadn't found much I understood. Our baby was born 3.8 Month ago and decided that this night no one would get much sleep. Writing a book in this time well I imagen it challenging. The section about new relic put me off a bit. But maybe it's worth a look. I don't like 3rd party services. But that's just me. I hope I find some time at work to read the next chapter. Sounds promising. Never indexed any of my models...
 
1 point by abrookins 1 week, 1 day ago | discuss | parent | on: New Book: The Temple of Django Database Performance
3.8 months - that's a fresh baby! :) Ours just turned six months and decided to get up at 4 am today, as usual. Thanks for buying the book! Agreed on there not being much written on the topic -- and in general, most programming books I read seem to be either too basic, or else just contain high-level overviews of advanced topics. There must be a good reason this happens to books, but whatever it is, I'd like to address it by writing focused books on advanced topics. Anyway, thank you for the feedback! I questioned putting the section on New Relic in the book, and I'm sure you aren't alone in being put off by it, as it's literally the first thing in the book. In the future I'd like to at least add some comparisons with a similar third-party service (DataDog). And maybe someone will point me at a secure method of doing this kind of low-level tracing/performance monitoring in production that is self-hosted. I hope you do check out the indexing section. If you haven't done much indexing with your models, then there's some great stuff in the chapter.