ππ§ How YouTube Handles 2.5B Users: A System Design Breakdown
PLUS: Chaos Engineering 101 π₯, How to Scale Websockets β‘, When to Use Query Builders? π€
Todayβs issue of Hungry Minds is brought to you by:
Welcome to the 262 new hungry minds who have joined us since last Monday!
If you arenβt subscribed yet, join smart, curious, and hungry folks by subscribing below.
π THIS WEEKβS MENU π₯
π Software Engineering Articles
Learn system design fundamentals with YouTube architecture breakdown
Master chaos engineering to build resilient systems
Zero-downtime Postgres upgrade secrets revealed
Container queries revolutionize responsive web design
JavaScript Temporal API simplifies date handling
ποΈ Tech and AI Trends
DeepSeek overtakes ChatGPT as the #1 App Store app
Apple partners with SpaceX for iPhone satellite connectivity
AI creates revolutionary glowing molecule in record time
π¨π»βπ» Coding Tip
FastAPI dependency injection ensures clean database connection management in async operations
πͺπ» Product For Engineers: The first newsletter dedicated to product engineers
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
"It is during our darkest moments that we must focus to see the light."
Aristotle Onassis
Mindset: Embrace challenges as opportunities for growth and resilience.
Example: Airbnb pivoted during the pandemic to provide housing for essential workers.
Action: Identify one current challenge and brainstorm creative solutions.
The Rabbit Hole π°
Deep dives, trends, and resources curated to stay ahead
Design YouTube - System Design Interview
Written by
How to Improve Your Product Skills as a Software Engineer
Chaos Engineering: Embracing Chaos To Strengthen System Resilience and Reliability
What is CDN?
Written by
6 Must Have Software Engineering Templates
Written by
Change Data Capture (CDC) is taking over the world!
Written by
How TOP engineers structure their day to maximize their productivity without burnout
Written by
Just Start
Written by
How to develop EQ as an engineer or a manager
Written by
πΎΒ SIDE DISHESΒ πΎ
ARTICLE (websock-what?)
The Hidden Complexity of Scaling WebSockets
GITHUB REPO (maybe finance your life)
maybe-finance/maybe
ARTICLE (timing is everything)
How long is a second in JavaScript?
ARTICLE (AI choo-choo train)
Which AI to Use Now: An Updated Opinionated Guide
GITHUB REPO (design it your way)
onlook-dev/onlook
ARTICLE (postgres got upgraded!)
A Major Postgres Upgrade with Zero Downtime
ARTICLE (container queries, yay!)
Container Queries Unleashed
ARTICLE (let's encrypt the web)
Scaling Our Rate Limits to Prepare for a Billion Active Certificates
ARTICLE (mobx it or lose it)
Picking a state management library for a React app used by millions (and why we went with MobX)
ARTICLE (rusty feature alert!)
Rust's worst feature*
ARTICLE (sql, detective style)
You Probably Don't Need Query Builders
ARTICLE (controller chaos in Kubernetes)
So you wanna write Kubernetes controllers?
ARTICLE (time's a-changin')
JavaScript Temporal is coming
The Weekly Digest ποΈ
Software, AI, and startup news worth your time
π DeepSeek Surpasses ChatGPT as App Store Leader (3 min)
Brief: The AI app DeepSeek has surged to become the top free app globally, demonstrating its rapid rise in popularity and shaking up the consumer AI landscape, previously dominated by ChatGPT.
ποΈ Reid Hoffman Raises $25M for AI Cancer Treatment Startup (2 min)
Brief: LinkedIn co-founder Reid Hoffman launches Manas AI with $25 million to transform cancer drug discovery using advanced AI technologies and aims to accelerate treatment development for multiple diseases.
π Apple and SpaceX Collaborate to Enhance Starlink on iPhones (2 min)
Brief: Apple partners with SpaceX to integrate Starlink satellite connectivity into iPhones, enhancing global internet access for users.
βοΈ Boomβs XB-1 Becomes First Civil Aircraft to Go Supersonic (2 min)
Brief: Boom Supersonic's XB-1 plane makes aviation history, becoming the first civil aircraft to break the sound barrier, achieving Mach 1.1 during its 12th test flight over California.
π‘ AI Invents New Glowing Protein That Could Take Nature 500 Million Years to Create (2 min)
Brief: Researchers have developed a new glowing protein using AI that could take nature 500 million years to evolve, highlighting the potential of AI in protein engineering.
π³ The X Everything App Set for Launch This Year to Rival Apple Pay (2 min)
Brief: Elon Musk's ambitions for the X Everything App aim to create a mobile payment platform to compete directly with Apple Pay, enhancing users' financial transactions in one application.
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, you can use dependency injection with async generator dependencies to manage database connections efficiently, ensuring proper connection handling and resource cleanup.
Wen?
Resource Management: When dealing with database connections or other resources that need proper initialization and cleanup in an asynchronous context.
Shared Dependencies: In situations where multiple endpoints need to share the same database connection or resource management logic.
Transaction Management: When you need automatic transaction handling with commit/rollback capabilities across different API endpoints.
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).
Please do not add any paid posts where I need to pay to just read!