Arc Notes Weekly #90: Halt
This week, explore resilience lessons from Canva’s outage, the uv package manager simplifying Python scripting, building your own data center, and game-changing test-driven development with LLMs.
This week, explore resilience lessons from Canva’s recent outage, discover the simplicity of the uv package manager that’s transforming Python scripting, and uncover the essentials of building your own data center. Plus, dive into a game-changing approach to test-driven development with large language models for more reliable and efficient coding.
Sponsor Spotlight: Start selling to enterprises with a few lines of code. WorkOS is a modern identity platform for B2B SaaS, offering flexible, easy-to-use APIs to integrate SSO, SCIM, and FGA in minutes instead of months. It's used by hundreds of the fastest growing companies in the world like Cursor, Vercel, and Perplexity.
Enjoy this week's round-up!
— Mahdi Yusuf (@myusuf3) or LinkedIn
👋🏾 You are reading Architecture Notes - Your Sunday newsletter, which curates best system design and architecture news from around the web. We would appreciate you sharing it with like-minded people.
Articles
Don't use cosine similarity carelessly
Discover how Meta's Threads team maintained the app's performance during its incredible growth, from being the fastest-growing app in history to now boasting over 300 million monthly international users. The article dives into how they measure performance at scale, strategies for improving publish reliability and navigation latency, and the adoption of Swift Concurrency for more stable code.
Test-Driven Development with an LLM for Fun and Profit and Profit Basics
Discover how integrating Test-Driven Development (TDD) with a Large Language Model (LLM) can revolutionize your coding process. This post explores the potential of combining these tools to create a framework that not only improves reliability but also fundamentally changes the economics of TDD.
Unlock Enterprise Revenue Without the Hassle
Single Sign-On, Directory Sync (SCIM), Audit Logs, Fine-Grained Authorization — these are essential features when selling to enterprises. The problem is that building and maintaining them requires significant resources and can result in over $8M in lost revenue.
WorkOS simplifies this process with easy-to-use APIs that help you integrate complex enterprise features into your app in minutes. It's the fastest way to go upmarket while allowing your engineers to focus on building the core product.
Saturation and Resilience: Canva Outage
Surf the wave of complexity with this in-depth analysis of the Canva outage, a story of system saturation and resilience. Discover how the incident was not triggered by a bug in the code but by system behavior that was not prepared to handle the load, leading to an enlightening exploration of system robustness, resilience, and the importance of human operators in managing crises.
How is cloudflare so free?
Can SQLite get any faster? Yes, according to a new study by researchers at the University of Helsinki and Cambridge, who used asynchronous I/O and storage disaggregation to speed up SQLite, reducing tail latency by up to 100 times! Dive into the details of this groundbreaking study and its implications for serverless and edge computing.
uv Has a Killer Feature
Discover the unique feature that sets the uv package manager apart from the rest in Python scripting. Say goodbye to the cumbersome process of pulling in a dependency, uv simplifies it all down to one command, leaving no trace behind. Now that's what we call a game-changer!
So You Want to Build Your Own Data Center
"Building a data center is probably closer to building a house than to deploying a Terraform stack." This article takes you on Railway's journey of building its own physical infrastructure, from finding the right space, dealing with power and cooling costs, to the complexities of cabling and network configuration. A must-read if you're considering going "infra-less"!
Projects
karpor
Karpor, a promising Kubernetes Visualization Tool for Developer and Platform Engineering teams. Offering advanced search, insight, and AI features, Karpor enhances visibility into your Kubernetes clusters across any clouds.
stagehand
Discover the simplicity and extensibility of Stagehand, an AI web browsing framework that's taking the tech world by storm. This piece offers an in-depth exploration of its features, and how it adds determinism to unpredictable agents, making your web automation workflows durable, self-healing and repeatable.
History Repeats Itself
"Visualizing Concurrency: A Journey Through State Space" is a blog post that breaks down the complex concept of concurrent programming. Waqas Younas uses visual aids and practical examples to explain how to visualize the execution of a sequential program, move on to a concurrent one, and reason about the correctness of concurrent programs. This post serves as an invaluable resource for those looking to deepen their understanding of concurrent programming and model checking.