How to Pass the Goldman Sachs Software Architecture Interview

Goldman Sachs isn't going to ask you to design Twitter, Netflix, or Uber. When you walk into a software design and architecture round here, you're stepping into an arena where a single millisecond of latency can cost millions of dollars. Even worse, a dropped transaction can trigger massive regulatory audits. The architecture rounds during the Goldman Sachs Superday are notoriously rigorous. They test a fundamentally different set of engineering principles than your standard Big Tech interviews. Forget about horizontal scaling and eventual consistency for a moment; interviewers will evaluate you on deterministic execution, strict data consistency, and bare-metal performance optimization.
If you're gearing up for a software or data engineering role at Goldman Sachs, you have to shift your mindset. You need to move away from stateless microservices and start thinking about stateful, low-latency financial systems. This guide breaks down exactly what interviewers want to see, the core architectural scenarios they'll throw at you, and the low-level design trade-offs you absolutely must articulate to pass.
The Goldman Sachs Engineering Hiring Process
Before we get into the weeds of system design, you should understand exactly where the architecture round fits into the broader hiring loop. The Goldman Sachs interview process is heavily structured. It almost always culminates in a 'Superday'—a back-to-back marathon of interviews testing your technical depth, coding speed, and behavioral alignment.
| Interview Stage | Typical Duration | Core Focus |
|---|---|---|
| HackerRank / Math Assessment | 60-90 mins | Algorithmic problem-solving, mathematics, and basic data structures. |
| CoderPad Technical Screen | 45-60 mins | Live coding with a focus on arrays, strings, hash maps, and code optimization. |
| Superday: Architecture & Design | 60 mins | Low-latency system design, concurrency, database schemas, and trade-offs. |
| Superday: Advanced DSA | 60 mins | Complex algorithms (graphs, DP) and low-level data structure implementation. |
| Superday: Engineering Practices | 45-60 mins | Testing, CI/CD, behavioral questions, and handling production outages. |
The architecture round often serves as the deciding factor for mid-level and senior candidates. Interviewers use this hour to figure out if you can build systems that aren't just scalable, but strictly correct under extreme load.
How Goldman Sachs Architecture Rounds Differ from FAANG
Candidates fail the Goldman Sachs system design round all the time because they try to apply standard FAANG playbooks. If your solution for a trading engine involves slapping a Redis cache in front of a Postgres database and using Kafka for asynchronous messaging, the interviewer will instantly know you lack domain understanding. Here's how the expectations actually differ:
- Sub-Millisecond Latency over Global Scale: FAANG systems optimize for millions of concurrent users where latencies in the hundreds of milliseconds are perfectly acceptable. Goldman Sachs optimizes for a much smaller number of highly active clients, but execution has to happen in microseconds.
- Zero Data Loss vs. Eventual Consistency: Dropping a 'like' on social media isn't a big deal. In a trading system, losing an order is a catastrophic failure. You have to design for strict ACID compliance and deterministic state recovery.
- In-Memory State vs. Database Lookups: Traditional web apps read from a database on almost every request. High-frequency trading systems hold their entire operational state in memory, using the database purely as an asynchronous persistent log.
- Deterministic Replay: Financial systems must be entirely auditable. If a system crashes, you need the ability to replay a sequence of events and guarantee you'll reach the exact same final state.
Core Architectural Scenarios
Goldman Sachs interviewers typically hand you open-ended scenarios requiring you to bridge high-level architecture with low-level data structures. Below are the most common questions candidates face, phrased exactly as you'll hear them in the room.

How do you design a real-time order matching engine?
This is the classic financial system design question. An order matching engine pairs buy orders (bids) with sell orders (asks). The engine has to enforce 'Price-Time Priority'—meaning the best price always wins, and if prices are equal, the order that arrived first gets the trade.
To solve this, you need to design a Limit Order Book (LOB). A naive approach might store orders in a relational database and query them, but that's far too slow. You have to design an in-memory data structure instead. A winning design usually involves a few specific components:
- Price Levels: Use an array (if the tick size is fixed and the price range is bounded) or a Red-Black Tree to store price levels. An array gives you O(1) access to a specific price, while a tree provides O(log N) access but handles sparse price distributions much better.
- Order Queues: At each price level, maintain a doubly linked list of orders. This setup allows O(1) insertion at the tail when a new order arrives, and O(1) deletion when an order is cancelled—assuming you have a pointer to the node.
- Order Lookup: Maintain a global Hash Map mapping Order IDs to the specific node in the doubly linked list. This makes order cancellations a quick O(1) operation.
- Matching Logic: Keep pointers to the current Best Bid (highest buy price) and Best Ask (lowest sell price). When a new order arrives, compare it against the best opposing price. If it crosses the spread, walk the linked list at that price level to execute trades until the incoming order is completely filled.
When you discuss this, make sure to bring up the trade-offs of Garbage Collection (GC) pauses if you're working in Java or C#. At Goldman Sachs, engineering teams frequently rely on object pooling. They pre-allocate a massive array of order objects at startup and reuse them, ensuring the garbage collector never runs during active trading hours.
How do you build a distributed event-driven ledger with zero data loss?
Financial institutions desperately need a single source of truth for transactions, balances, and positions. Interviewers will ask you to design a ledger that can survive a total data center failure without losing a single cent. The architectural pattern they want to hear about here is Event Sourcing.
Instead of updating a row in a database (like UPDATE account SET balance = balance - 100), you append an immutable event to a log (such as User A transferred $100 to User B). The current state becomes simply the aggregation of all past events.
- Sequencing: Every single event must have a strictly increasing sequence number. This guarantees that all downstream consumers process events in the exact same order.
- Persistence: Before the system acknowledges a transaction to the user, the event has to be written to disk. To keep latency to a minimum, write to a memory-mapped file (mmap) sequentially so you avoid random disk seeks.
- Replication: Use a consensus algorithm like Raft or Paxos to replicate the event log to a standby data center. You need to discuss the trade-off between synchronous replication, which is slower but guarantees zero data loss, and asynchronous replication, which is faster but risks data loss if a crash occurs.
- Snapshotting: Replaying millions of events on startup takes way too long, so the system should periodically take a snapshot of the current state—say, every midnight. If a crash happens, the system loads the latest snapshot and only replays the events that occurred after it.
Bridging High-Level and Low-Level Design
Goldman Sachs interviewers won't let you stay at the surface level; they'll drill down into the low-level mechanics of your high-level boxes. You can't just draw a line between two services and label it 'Kafka'. You have to explain exactly how the CPU processes the data.
How do you handle concurrency without locking in a high-throughput trading system?
Standard mutexes and locks are just too slow for low-latency systems. They cause thread context switching, which forces the CPU to flush its registers and caches. When the topic of concurrency comes up, you need to steer the conversation toward lock-free programming.
The preferred approach is the Single-Writer Principle. Instead of having multiple threads lock a data structure to update it, you pin a single thread to a dedicated CPU core. That specific thread is the only one allowed to mutate the order book. Other threads handling network I/O or logging communicate with the execution thread via lock-free ring buffers, much like the LMAX Disruptor pattern.
- Thread Affinity: Pinning threads to specific CPU cores stops the operating system from migrating the thread, which keeps the L1 and L2 caches hot.
- Compare-And-Swap (CAS): If multiple threads absolutely must update a shared variable, rely on atomic hardware instructions like CAS rather than leaning on software locks.
- False Sharing: Explain how you would pad your data structures. If two independent variables sit on the same 64-byte CPU cache line, two threads modifying them will constantly invalidate each other's cache. Padding the variables with empty bytes eliminates this performance killer.
Step-by-Step System Walkthrough: Building an Audit-Compliant Trade Pipeline
When you put everything together in the interview, your whiteboard—or virtual drawing board—should reflect a pipeline that fiercely prioritizes latency on the critical path and pushes heavy processing to the background.
Step 1: Ingestion. A FIX (Financial Information eXchange) gateway receives the incoming order over a TCP socket. The gateway immediately parses the binary payload.
Step 2: Risk Check. Before an order ever hits the market, the system has to verify the client has sufficient funds. You do this via an in-memory risk cache. If you hit a database here, you'll fail the interview.
Step 3: Sequencing and Journaling. The system assigns the order a monotonic sequence number and appends it to a memory-mapped journal file for persistence.
Step 4: Execution. The order goes onto a lock-free ring buffer. From there, the single-threaded matching engine pulls the order, updates the in-memory Limit Order Book, and generates a 'Trade Execution' event.
Step 5: Downstream Publishing. The execution event gets published via UDP multicast to downstream systems like clearing, settlement, regulatory reporting, and data warehousing. These systems process the data asynchronously.
Wrapping Up
Passing the Goldman Sachs software architecture round requires a deep appreciation for the physical constraints of computing. You have to prove that you understand how data moves from disk, to RAM, to the CPU cache, and finally right into the registers. By prioritizing deterministic execution, lock-free concurrency, and strict event sourcing, you'll show them you have the engineering maturity to build systems that manage global financial markets.
Preparing for these rounds can feel daunting, especially since interviewers will pivot quickly based on your answers. Practicing with a tool that listens to the strict nuances of these technical constraints can really help you structure your thoughts under pressure.
Frequently asked questions
Does Goldman Sachs require me to write code during the architecture round?
Generally, no. The architecture round focuses heavily on high-level diagrams, data structure design, and trade-off discussions. However, you might be asked to write pseudo-code for specific algorithms, like traversing a Limit Order Book or implementing a lock-free queue.
Should I use microservices for a Goldman Sachs system design interview?
It really depends on the system. For a client-facing web portal or regulatory reporting system, microservices work just fine. But for a core trading engine or order router, microservices introduce unacceptable network latency. In those specific cases, you should propose a monolithic, highly optimized process communicating via shared memory or IPC.
What programming languages are expected in the interview?
Goldman Sachs is heavily invested in Java and C++, alongside their proprietary language, Slang. While you can certainly interview in Python or C#, you have to be able to discuss memory management and concurrency paradigms relevant to low-latency environments.
How important is database design in this round?
It's very important, but context is everything. You need to know exactly when to use an in-memory data grid, a time-series database like Kdb+, or a traditional relational database like Sybase or PostgreSQL for end-of-day settlement and persistent storage.
More Goldman Sachs interview guides
- Passing the Goldman Sachs Data Engineer System Design Round
- How to Pass the Goldman Sachs Quant Strat Interview
- Passing the Goldman Sachs Software Engineering Practices Interview
- How to Pass the Goldman Sachs Behavioral Interview
- How to pass the Goldman Sachs CoderPad interview
Related comparisons
See AcePromptAI in action
Watch how AcePromptAI supports a real technical round - structured answers, tuned to your resume, in real time.
Nail your Goldman Sachs Superday with AcePrompt, your real-time AI interview copilot.
Get started