engineering notes about software architecture from your favourite corps by engineers for engineers.

☁️
As many of you know every week we send out newsletter and each one has a new image the top each week, this takes a bit of time to design and create with @LumaLabsAI. I am about to produce this in the fraction of the time with tons of artistic control. lumalabs.ai/uni-1
5
1,566
Architecture Notes Weekly: Trio out now! Why pgvector might not cut it in production How bloom filters fail at scale Why LLMs can’t replace hands-on learning Plus: slashing cloud costs and Postgres as a lakehouse system Join thousands of engineers! Don’t miss out 🚀
1
4
2,424
Building GenAI infra isn’t theory—it’s hard-won experience. Learn from 60+ engineers who’ve scaled LLMs, vector stores & RAG pipelines at QCon SF 2025. What worked. What failed. What to avoid.
1
3
10
4,429
Architecture Notes Weekly: Generator out now! How AWS serves 1 petabyte per second on old hard drives The 14-hour outage that killed Slack, Signal, and Premier League Building a key-value database from scratch with LSM trees Join thousands of engineers! Don't miss out! 🚀
1
2
8
2,365
Methodologies
11
163
916
82,948
We are back!
3
47
542
60,707
Selling to enterprises? Features like SSO, Directory Sync (SCIM), and Audit Logs are must-haves — but building them in-house is expensive and time-consuming let @WorkOS do the heavy lifting. Here is how they saved one company almost 8 million.
1
5
2,398
Arc Notes Weekly #90: Halt is out now! 1.Lessons from Canva’s outage on resilience 2.uv: The package manager simplifying Python scripting 3.Building your own data center for personal projects 4.Test-driven development with LLMs Join 68,312 subscribers! Don’t miss out!
1
10
2,905
Arc Notes Weekly #89: Land 1. Discover how Threads scaled for 300M+ users. 2. Master advanced Git commands. 3. Explore innovations making SQLite 100x faster for serverless and edge computing. Join 60K readers. Don’t miss out!
1
6
1,991
Capture and share deep session replays, from frontend screens to backend traces, metrics, and logs with @trymultiplayer's new Platform Debugger.
1
3
7
3,320
Get a bird’s-eye view of your entire system with @trymultiplayer real-time insights. Auto-document your architecture effortlessly using integrated OpenTelemetry.
1
4
9
3,163
Arc Notes Weekly #88: Asha ❤️ 1. Optimize AI VRAM usage with Ollama’s advanced quantization techniques. 2. Enhancing System Architecture with Concurrency Diagrams 3. Explore Amazon’s new Aurora DSQL database and its potential impact. Join 60K other readers, don’t miss out.
1
8
3,654
Arc Notes Weekly #84: Orb is here! ✨ 1. See how Netflix boosted its homepage speed by cutting Time-to-Interactive by 50%. 2. Discover why OpenZFS deduplication, despite new updates, may still not be right for you. 3. Learn the value of designing ephemeral software for flexible and efficient systems. Join 60K subscribers! Don’t miss out!
1
6
2,666
Arc Notes Weekly #83: Seagull is out now! 1. How Dropbox cut server costs by 25% with their in-house load balancer, Robinhood 2. Spotify’s method for scaling content annotations 3. Vercel’s performance boost with microfrontends Join 65, 032 subscribers! Don’t miss out!
1
9
2,587
Arc Notes Weekly #82: Axis is out now! ✨ 1. How AI copilots are streamlining on-call engineering workflows 2. The impact of lightweight multi-agent orchestration on development 3. Cost-effective video scraping methods for structured data extraction Join 64,123 subscribers! Don’t miss out!
2
1
6
2,511
What if you never had to manually document your system again?  Multiplayer auto-documents everything from your logical architecture down to your dependencies and APIs.  Don’t miss out on this game-changer. dub.sh/c6u6T8M
1
16
3,364
Arc Notes Weekly #81: Rise is out now! 1. Netflix’s scalable data abstraction for temporal data 2. DoorDash’s Kafka platform that streamlines engineering 3. AI-powered drones aiding search and rescue Join 65,312 subscribers! Don’t miss out!
1
3
12
2,521
Tired of chasing down the latest system updates? Multiplayer auto-documents your entire architecture and more, without lifting a finger. Don’t miss out on this game-changer. dub.sh/KioeYUE
4
10
4,569
Arc Notes Weekly #80: Bloom is out now! 🌸 1. Redis to SQLite migration for faster performance 2. The power of “skin-shedding” code 3. How to manage tech FOMO in an ever-changing landscape Join 64,123 subscribers! Don’t miss out!
1
2
11
3,810
Arc Notes Weekly #79: Changing Order is out now! 1. How Discord reduced WebSocket traffic by 40% 2. Challenges of concurrency in software development 3. Why tidying up code is a super power. Join 64,123 subscribers! Don’t miss out! architecturenotes.co/p/arc-n…
1
16
4,052
Things You Should Know About Databases
1
8
1,583
The SQL standard defines 4 standard isolation levels these can and should be configured globally (insidious things can happen if we can't reliably reason about isolation levels).
1
1
4
1,933
Phantom reads are another committed read phenomena, which occurs when you are most commonly dealing with aggregates, which results in you getting two different values if your database doesn't support range locks for these transactions.
6
2
527
Similarly, a dirty read occurs when you perform a read, and another transaction updates the same row but doesn't commit the work, you perform another read, and you can access the uncommitted (dirty) value, which isn't a durable state change and is inconsistent with reality.
1
3
561
Non-repeatable reads occur if you cannot get a consistent view of the data between two subsequent reads during your transaction. In specific modes, concurrent database modification is possible, and there can be scenarios where the value you just read can be modified.
1
3
607
Secondly, the leaf nodes are linked, so if you need to do an index scan, you can do a single linear pass rather than traversing the entire tree up and down and loading more index data from the disk.
1
3
675
The main difference B+ Trees show off is that intermediate nodes don't store any data on them. Instead, all the data references are linked to the leaf nodes, which allows for better caching of the tree structure.
1
5
693
B as in balance. So you might wonder where you made a massive error to find yourself reading about B-Trees you hated from school. This tree structure gets its name balanced because the depth is uniform across the entire tree.
1
3
769
So here is where most developers go – I have seen this problem before; we need some dictionary (hash map) and a way to get to the specific row we are looking for. These are called index leaf nodes.
1
3
881
Indexes are a data structure that helps decrease the look-up time of requested data. Indexes achieve this with the additional costs of storage, memory, and keeping it up to date (slower writes), which allows us to skip the tedious task of checking every table row.
1
8
905
It is often surprising how little is known about how databases operate at a surface level, considering they store almost all of the states in our applications. Things You Should Know About Databases.
5
38
174
21,616
After 6 years of using GraphQL in production we aren't reaching for it as much as we once did.
11
73
562
158,839
Locks are essential in modern systems to prevent simultaneous access to shared resources and ensure data integrity. 🔒 A deep dive into locks and their performance impact from @arcnotes
1
16
73
10,540
Heroku's platform metrics give developers insights into the performance & health of their apps. But keeping this high-scale system running smoothly takes some serious engineering!
1
2
24
5,326
The Twelve-Factor App methodology is a methodology for building software-as-a-service applications by Adam Wiggins. We cover how they have since evolved, and what we can learn from them today and how they changed the status quo of yesteryear. architecturenotes.co/12-fact…
2
22
98
12,840
Arc Notes Weekly #73: Energy is out now! ✨ 1. Post Quantum Security 2. Monorepos @ Stripe 3. S3 starting to show its age? Today 60,223 subscribers receive it today! Don't miss out! architecturenotes.co/p/arc-n…
2
13
4,269
Coupled with that you would ideally prefer a good distribution within that cardinality. Running this as an experiment with accurate data is easy enough to do with a few lines of code.
1
3
1,548
When selecting a shard key for this sharding type, it is essential to select one with high cardinality, so the number of possible values for that key is numerous. For example, a key with possible values of North, South, East, and West is of low cardinality since there are only 4.
1
1
3
1,301
The same node houses entries that have the same shard key. A group of data that shares the same shard key is referred to as a logical shard. Multiple logical shards are included in a database node, also known as a physical shard.
1
1
1,316
Shard Key is a piece of the primary key that tells how the data should be distributed. With a shard key, you can quickly find and change data by routing operations to the correct database.
1
2
423
Data is divided into chunks depending on the ranges of a certain value in range-based sharding. This requires a look up table to see where the data should be stored. Maintaining the consistency of such a table and obviously picking the ranges here are critical.
1
1
434
Now that we have discussed the potential server architectures, let us talk about data layout. You can see two types of strategies at play below.
1
1
414
Often when you start to look into scaling your data system either need to scale for reads or writes. Replication is one way when you need extra read capacity.
1
1
2
599
Sharding is an example of horizontal scaling, while vertical scaling is an example of just getting larger and larger machines to support the new workload.
1
2
425
Engineers often get caught up in doing things the most involved way, but keeping things simple early on makes challenging things later on as your application evolves much easier. So if your problem goes away by getting machines with more resources, 9/10, that's the correct answer
1
4
479
Your app is getting better. It has more features, more active users, and every day it collects more data. Your database is now causing the rest of your application to slow down.
2
20
96
13,550
Arc Notes Weekly #72: Offspring is out now! ✨ 1. Soft Delete Downsides 2. Programming with the GPU 3. Vercel's Infrastructure Today 60,013 subscribers receive it today! Don't miss out! architecturenotes.co/p/arc-n…
8
45
6,450
Arc Notes Weekly #71: Codex is out now! 🌟 1. Counting in the Billions 2. Passkeys failed? 3. Corporate Open Source Over? Today 59,238 subscribers receive it today! Check it out. architecturenotes.co/email/e…
1
20
6,158
Things You Should Know About Databases architecturenotes.co/things-…
1
2
11
1,977
The SQL standard defines 4 standard isolation levels these can and should be configured globally (insidious things can happen if we can't reliably reason about isolation levels).
1
3
534