• Hungry Minds
  • Posts
  • ๐Ÿ”๐Ÿง  1 Server for 1M Connections: Nginx Architecture

๐Ÿ”๐Ÿง  1 Server for 1M Connections: Nginx Architecture

PLUS: Build a Distributed Log โšก, Data Fetching Patterns ๐Ÿ“š, Developer's Guide to API Gateways ๐Ÿ”

In partnership with

Happy Monday! โ˜€๏ธ

Welcome to the 702 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

  • Ads may be on their way to ChatGPT; find out more.

  • Get excited about the Claude Models now being faster and smarter on AWS Trainium2.

  • Amazon introduces Nova, redefining cloud performance with intelligence.

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

  • Harness the power of memoization in functional programming to optimize repetitive computations.

Reading time: 5 minutes

A few words from our sponsor this week:

Ready to Level up your work with AI?

HubSpotโ€™s free guide to using ChatGPT at work is your new cheat code to go from working hard to hardly working

HubSpotโ€™s guide will teach you:

  • How to prompt like a pro

  • How to integrate AI in your personal workflow

  • Over 100+ useful prompt ideas

All in order to help you unleash the power of AI for a more efficient, impactful professional life.

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

"The only person you are destined to become is the person you decide to be."

Ralph Waldo Emerson

Mindset: This quote reminds us that our future is in our own hands - we have the power to shape our destiny.

Example: Warby Parker, the eyewear company, decided to disrupt the industry and provide affordable, stylish glasses, becoming a success story.

Action: Identify one area of your life you want to improve and make a plan to start taking small steps towards that goal today.

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

๐Ÿ’พ SIDE DISHES ๐Ÿ’พ

ARTICLE (s3 logs for days)
Building a distributed log using S3

GITHUB REPO (scan it, scan it good)
react-scan

ARTICLE (ai-norms vs. ml-norms)
What is AI Engineering?

ARTICLE (chrome speeds up like a cheetah)
How Chrome doubled its Speedometer scores on Android

ARTICLE (seven databases, seven weeks, whoโ€™s counting?)
7 Databases in 7 Weeks for 2025

ARTICLE (kube it like itโ€™s hot)
Kubernetes on Hetzner

ARTICLE (fetch it like itโ€™s hot)
React Data Fetching Patterns

ARTICLE (confidence boost for builders)
I don't know how to build software and you don't either

ARTICLE (webhooks, the funhouse mirrors of APIs)
Webhooks Are Harder Than They Seem

ARTICLE (try-catch? more like try no! )
Try...Catch As Little As Possible

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

Brief: OpenAI is considering an advertising model for ChatGPT, despite CEO Sam Altman's skepticism and intent to remain cautious regarding ad integration.

Brief: Claude 3.5 Haiku now runs on AWS Trainium2, delivering 60% faster inference speeds and new model distillation capabilities for enhanced performance in Amazon Bedrock.

Brief: Amazon launches Nova foundation models, offering cutting-edge AI capabilities for generative tasks with enhanced performance, cost-efficiency, and customization for businesses.

Brief: Starting tomorrow, OpenAI will host 12 days of livestreams, featuring product launches and demos each weekday, promising exciting updates and innovations.

Brief: OpenAI introduces ChatGPT Pro, a $200 monthly subscription offering unlimited access to advanced models, including the o1 reasoning model, intended for power users engaged in coding and complex problem-solving.

Brief: Bitcoin, buoyed by Trump's crypto endorsement and plans for lenient regulations, reaches $100,000, marking a significant shift in investor confidence and market dynamics.

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

This weekโ€™s coding challenge:

This weekโ€™s tip:

Memoization is a powerful optimization technique used in functional programming to improve the performance of pure functions that have expensive computations or rely on input data that doesn't change frequently. By caching the results of a function call, memoization can significantly reduce the number of redundant computations, leading to faster execution times.

Wen?

  • Repeated Computations: Memoization is particularly useful when you have a function that performs expensive computations and is called multiple times with the same input.

  • Data-Intensive Algorithms: In scenarios where your algorithm relies on large datasets that don't change frequently, memoization can significantly improve performance by caching the results of these computations.

  • Dynamic Programming: Memoization is a core technique in dynamic programming, where it helps to solve complex problems by breaking them down into smaller, overlapping subproblems and storing the results of these subproblems for reuse.

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