- 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 ๐
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
Discover how Nginx handles 1 million concurrent connections effortlessly.
Learn the essentials of an API Gateway and why it matters.
Is Scrum still relevant? Explore if you should use Scrum in 2024.
Dive into effective deployment strategies for software updates.
The reasons behind Leetcode's popularity among developers.
๐๏ธ 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."
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 (npm is giving me nightmares)
Nightmares on npm: How Two Malicious Packages Facilitate Data Theft and Destruction
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 (time-traveling tests: 5X faster)
Railing against time: tools and techniques that got us 5X faster tests
ARTICLE (count me out of count())
SQL best practices โ don't compare count(*) with 0
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).