• Hungry Minds
  • Posts
  • ๐Ÿ”๐Ÿง  Behind the Scenes: Managing 90M Queries a Month at Canva

๐Ÿ”๐Ÿง  Behind the Scenes: Managing 90M Queries a Month at Canva

PLUS: AI Predictions for 2025, 2024 Databases Summary ๐Ÿ“š, Mastering Concurrency in Practice โšก

Todayโ€™s issue of Hungry Minds is brought to you by:

Happy Monday! โ˜€๏ธ

Welcome to the 407 new hungry minds who have joined us since last Monday!
If you arenโ€™t subscribed yet, join smart, curious, and hungry folks by subscribing here.

๐Ÿ” THIS WEEKโ€™S MENU ๐Ÿฅ—

๐Ÿ“š Software Engineering Articles

๐Ÿ—ž๏ธ Tech and AI Trends

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Coding Tip

  • FastAPI dependency injection ensures clean database session management in Python apps

Reading time: 5 minutes

  • Product for Engineers is a newsletter from PostHog dedicated to helping engineers improve their product skills.

  • Learn how to talk to users, build new features users love, and find product market fit.

  • Subscribe for free to get curated advice on building great products, lessons (and mistakes) from PostHog, and deep dives into the strategies of top startups.

Food for Thought
A mindset, an example, and an action item to start the week
โ

Heal the past, live the present, dream the future.

Mary Engelbreit

Mindset: Embrace the power of reflection, presence, and vision to unlock growth.

Example: Apple's resilience and reinvention exemplify this quote, pivoting from personal computers to smartphones.

Action: Spend 10 minutes journaling about your past, present, and future aspirations.

The Rabbit Hole
Deep dives, trends, and resources curated to stay ahead

๐Ÿ’พ SIDE DISHES ๐Ÿ’พ

ARTICLE (database reminiscing)
Databases in 2024: A Year in Review

GITHUB REPO (storm-a-brewin')
An LLM-powered knowledge curation system

ARTICLE (design knowledge fiesta)
Software Design is Knowledge Building

ARTICLE (flaky tests, not so flaky tips)
How To Manage Flaky Tests

ARTICLE (future-proof your brain)
Future-proofing your Software Engineering career

GITHUB REPO (eliza got moves)
Autonomous agents for everyone

ARTICLE (scaling downward is scaling too)
Scaling from a Billion to a Million to One

ARTICLE (claude's got your back)
How I Use Claude

GITHUB REPO (audiobook magic)
Convert ebooks to audiobooks

ARTICLE (quality? who needs it?)
Most people don't care about quality

The Weekly Digest
Software, AI, and startup news worth your time

Brief: Nvidia's acquisition of Run:ai aims to enhance GPU orchestration for AI by open-sourcing the software, promoting greater efficiency and flexibility within the AI ecosystem.

Brief: Google CEO Sundar Pichai emphasizes urgent focus on AI advancements and strategic action for 2025, facing heightened competition and regulatory scrutiny.

Brief: The EU mandates all small electronic devices sold must now support USB-C charging, setting the stage for similar regulations in California and India.

Brief: Apple provides an exclusive glimpse into its iPhone 16 camera labs, highlighting innovations in video quality, microphone calibration, and the new Audio Mix feature designed to elevate mobile recording.

Brief: A collection of AI predictions suggests that by the end of 2024, we'll see multiple GPT-4 level models, ongoing corporate adoption, and ongoing discussions about the alignment problem and AI's potential risks.

The Quick Byte
One coding tip because youโ€™re technical after all

This weekโ€™s coding challenge:

This weekโ€™s tip:

In Python's FastAPI framework, you can use dependency injection with custom classes to create reusable database sessions that automatically handle connection lifecycle management.

Wen?

  • High-Concurrency Applications: Perfect for applications handling multiple concurrent database operations where connection management is crucial for performance.

  • Resource-Intensive Operations: Useful when working with expensive database connections that need careful lifecycle management to prevent resource leaks.

  • Microservice Architectures: Essential in distributed systems where efficient database connection handling directly impacts service reliability and scalability.

Burp-A-Laugh
The most important meal of your day

Thatโ€™s it for today! โ˜€๏ธ

Enjoyed this issue? Send it to your friends here to sign up, or share it on Twitter!

If you want to submit a section to the newsletter or tell us what you think about todayโ€™s issue, reply to this email or DM me on Twitter! ๐Ÿฆ

Thanks for spending part of your Monday morning with Hungry Minds.
See you in a week โ€” Alex.

Icons by Icons8.

*I may earn a commission if you get a subscription through the links marked with โ€œaff.โ€ (at no extra cost to you).