• Hungry Minds
  • Posts
  • 🍔🧠 Scaling Caching: Meta's Secret to 10 Nines of Cache Consistency

🍔🧠 Scaling Caching: Meta's Secret to 10 Nines of Cache Consistency

PLUS: What Really Happened With Crowdstrike 🤫, 15 Patterns to Crush Leetcode 💻, LLM-Powered Knowledge Curation System 🤖

In partnership with

Happy Monday! ☀️

Welcome to the 630 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 🥗

  • 📚 Optimize database searches, master LeetCode patterns, achieve 99.99999999% cache consistency

  • 🗞️ What really happened in CrowdStrike bug, Meta withholds multimodal AI model from EU, GPT4-o Mini is here

  • 👨🏻‍💻 Quick byte: Kotlin coroutines simplify asynchronous code, ideal for network operations

Reading time: 5 minutes

A few words from our sponsor this week:

Join 50,000+ Organizations Using Metabase Today

Over 50,000 organizations, from venture-backed startups to Fortune 500 companies, choose Metabase for intuitive BI tools. Visualize your data with ease—no SQL needed.

Connect to your database or data warehouse in minutes and start building dashboards. Choose self-hosted or cloud-hosted (SOC 2 Type II compliant).

Need embedded BI? We’ve got you covered. Try Metabase free and explore our affordable plans for powerful data visualization.

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

"It's not that I'm so smart, it's just that I stay with problems longer."

Albert Einstein

Mindset: Persistence trumps raw intelligence; tenacity is the key to solving complex problems.

Example: SpaceX's iterative approach to rocket development embodies Einstein's philosophy of sustained problem-solving.

Action item: Identify your most challenging problem and commit to working on it for an extra 15 minutes today.

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

💾 SIDE DISHES 💾

ARTICLE (SQL inner workings)
How SQL Query works?

ESSENTIAL (CSS as a function)
Embracing Functional CSS: Have we moved on?

ARTICLE (Java vThreads)
Java Virtual Threads: a Case Study

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

Brief: Windows systems worldwide face Blue Screen of Death due to a CrowdStrike outage, disrupting businesses like banks, airlines, and emergency services.

Brief: U.S. shoppers propel Amazon's Prime Day to a record-breaking $14.2 billion in online sales, with consumer electronics and back-to-school items leading the surge.

Brief: Meta opts out of launching its advanced multimodal AI model in the EU due to regulatory uncertainties, impacting the availability of the model for European firms under an open license.

Brief: Eureka Labs pioneers an AI-driven teaching approach with LLM101n, combining subject matter expertise with AI Teaching Assistant guidance for optimal learning experiences.

Brief: OpenAI introduces the cost-effective GPT-4o Mini, expanding access to advanced generative AI models for developers and ChatGPT users, possibly phasing out GPT-3.5 usage.

Brief: Anthropic partners with Menlo Ventures to launch the Anthology Fund, providing AI startups with investments starting at $100k, access to AI models, and support in various sectors like healthcare and education.

The Quick Byte
One coding tip because you’re technical after all

This week’s coding challenge:

This week’s tip:

Kotlin coroutines provide a way to write asynchronous, non-blocking code in a sequential style.

Wen?

  • Network Operations: Ideal for making API calls or other network-related tasks.

  • Database Interactions: For performing database operations without blocking the main thread.

  • Long-Running Computations: To execute CPU-intensive tasks off the main thread.

Why?

  • Simplified Asynchronous Code: Allows writing asynchronous code in a more natural, sequential style.

  • Lightweight: Coroutines are more resource-efficient than threads for handling concurrent operations.

  • Cancellation Support: Provides built-in support for canceling long-running operations.

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

Before ending this week’s session, I would love to get your feedback about the newsletter: it will take you 2 mins ❤️

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).