🍔🧠 Sharding 101: How to Scale Databases
PLUS: Meta with 1B TPS ⚡, a free prompt generator 🤖, all the news from Google+OpenAI 🗞️
Happy Monday! ☀️
Welcome to the 1513 new hungry minds who have joined us since last Monday!
If you aren’t subscribed yet, join smart, curious, and hungry folks below:
Food for Thought 🧠
A mindset, an example, and an action item to start the week
"The only way to achieve the impossible is to believe it is possible."
Charles Kingsleigh
Mindset: Believing in possibilities unlocks our potential, empowering us to transcend self-imposed limitations and achieve remarkable feats.
Example: Netflix, once a modest DVD rental service, disrupted the entertainment industry by believing in the possibility of streaming movies over the internet.
Action Item: Identify one seemingly impossible goal and write down three reasons why achieving it might be possible.
The Rabbit Hole 🐰
Deep dives, trends, and resources curated to stay ahead
What is Database Sharding?
Written by Ashish Pratap Singh
How Razorpay Scaled to Handle Flash Sales at 1500 Requests per Second
Written by Neo Kim
How Stripe synchronizes time across their distributed system
How Stripe uses physical and logical clocks for keeping time.
Embracing Simplicity: A Look Into Stateless Design
Stateless design explained:
Learn things that don't change
Written by Dr Milan Milanović
Staying Sharp
Written by Ryan Peterman
Show, Don’t Tell
Written by Irina Stanescu
The 3 Keys to Working Remotely
Written by Kevin Naughton Jr.
Communicate like a Senior: Use clear deltas
Written by Jordan Cutler
💾 SIDE DISHES 💾
ARTICLE (ddocs not gdocs)
Design Docs at Google
GITHUB REPO (get it all in 1 glance)
A self-hosted dashboard that puts all your feeds in one place
ESSENTIAL (free-wisdom)
10 lessons from 12 years at Google
ARTICLE (1000x?)
Making a Postgres query 1,000 times faster
ESSENTIAL (you only need 4)
4 design principles I learned the hard way
ARTICLE (framer-motion)
How to create smooth exit animations with Framer
TOOL (prompted.claude)
A prompt generator by Anthropic, goodbye to bad prompts!
ARTICLE (reactips)
5 easy tips to improve your personal website performance
ARTICLE (open source power)
How to save on LLMs with open-source models in the cloud
GITHUB (react-perf)
🛡️ ⚛️ A simple, scalable, and powerful architecture for building production-ready React applications.
The Weekly Digest 🗞️
Software, AI, and startup news worth your time
🤖 OpenAI introduces GPT-4o (3 min)
Brief: GPT-4o is the newest flagship model from Open AI that provides GPT-4-level intelligence but is much faster and improves on its capabilities across text, voice, and vision: it’s free!
⚡ Google I/O 2024 Unveils Advances in Generative AI and Security Measures (3 min)
Brief: Google's I/O 2024 showcases new security features for Android, geospatial AR content on Google Maps, and the introduction of LearnLM for generative AI learning, among other cutting-edge AI announcements.
🎧 Meta Developing AI-Equipped Earphones for Camera Integration (3 min)
Brief: Meta, Facebook's parent company, is reportedly innovating AI-powered earphones with cameras named "Camerabuds," envisioned to offer live translation and real-time object identification, aiming to revolutionize wearable technology.
🤖 OpenAI partners with Reddit (3 min)
Brief: As part of the partnership, OpenAI will gain access to Reddit’s Data API, granting the AI company real-time, structured, and exclusive access to the vast array of content generated by Reddit’s vibrant communities
🔍 Google Introduces AI Overviews for Search Results (3 min)
Brief: Google launches "AI Overviews" to provide users with AI-generated summaries at the top of search results, integrating Gemini AI for search accuracy.
🚀 GameStop Soars as "Roaring Kitty" Returns Online (3 min)
Brief: GameStop and AMC experience significant rallies as Keith Gill, also known as "Roaring Kitty," resurfaces online after a prolonged absence, sparking trading volatility and renewed interest in meme stocks.
The Quick Byte 💾
One coding tip because you’re technical after all
This week’s coding challenge (by John Crickett):
This week’s tip:
Type hints are a way to specify the expected types of variables, function parameters, and return values in Python. They provide static type checking and improve code readability and maintainability.
Wen?
Large and Complex Codebases: Type hints are particularly useful in large and complex codebases, where it becomes increasingly difficult to keep track of the expected types of variables, function parameters, and return values.
Collaborative Development: When working on a project with multiple contributors, type hints help ensure that everyone adheres to the same type conventions, reducing the likelihood of type-related bugs and misunderstandings.
Library and Framework Development: If you are developing a library or framework intended for use by others, type hints provide valuable documentation and ensure that your code is used correctly by consumers.
Why?
Static Type Checking: Type hints enable static type checking tools like mypy to analyze your code and catch type-related errors before running the code, improving overall code quality and reducing runtime errors.
Better Code Documentation: Type hints act as self-documenting code, making it easier for developers to understand the expected types of variables, function parameters, and return values without needing to dig through separate documentation.
Improved Tooling Support: Modern IDEs and code editors can leverage type hints to provide better autocompletion, code navigation, and refactoring capabilities, enhancing the overall development experience.
The Job Feast 💼
A fresh
cheesejob board if you’re looking for a change
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).

















Awesome post as always, keep them coming my friend!