Course contentsShow
← Web Development
Lesson 17 of 2,9821. The Web Platform FoundationFree lesson

Browser Architecture Overview

How modern browsers separate processes for tabs, extensions, and rendering engines.

Browser Architecture Overview

What you'll learn: How modern browsers divide their work across separate processes to keep things fast and secure.

How Browsers Organize Their Work

Remember how a web browser is your gateway to viewing web pages? Modern browsers like Chrome, Firefox, and Edge don't run everything in one big program. Instead, they split their work into separate processes—think of processes like independent workers in a factory.

Why Separate Processes?

Imagine a restaurant where one chef handles everything: cooking, taking orders, and washing dishes. If they get overwhelmed by a complicated dish, the entire restaurant stops. That's inefficient and risky!

Modern browsers work more like a restaurant with specialized staff:

  • Browser Process: The manager—handles the address bar, bookmarks, and coordinates everything
  • Renderer Process: The chef—draws and displays web page content (one per tab usually)
  • Plugin/Extension Process: The specialists—handles add-ons separately
  • GPU Process: The artist—handles graphics and animations

The Big Benefit: Isolation

When you open multiple tabs, each typically gets its own renderer process. If one tab crashes (maybe a poorly-coded website), only that tab dies—not your whole browser. The other tabs keep working! This is called process isolation.

Similarly, browser extensions run in their own space, so a buggy extension can't take down your entire browsing session.

This architecture also improves security. When a renderer process handles potentially dangerous web content, it runs in a restricted "sandbox"—even if malicious code tries to attack, it can't easily reach your operating system or other tabs.

Key Takeaway: Modern browsers use multiple separate processes (for tabs, extensions, rendering) to prevent crashes from spreading, improve security through isolation, and keep your browsing experience smooth even when one part fails.