Introduction

This is the first step in our journey inside the browser as I believe that understanding frontend engineering is a journey into the browser.

Why this journey?

Understanding the environment is not essential but it is one of the best develop deep knowledge and to be proficient in your field and it has many benefits :

  1. Fix the workspace errors and problems not just in your code.
  2. Strong understanding the best practices.
  3. Know the system behind your code.
  4. Improve you code quality.

and much more than this advantages.

What Will We Explore?

In this series we will know the basic components, concepts architecture inside the browser and the responsibility of each component and the relationships between it, it will be the start point to understand the browsing system.

Learning Roadmap

1. What Is a Browser?

In this article i will explain:

  • What is the browser, basically?
  • What is the problem that the browser is made to solve?
  • What is the browser responsibilities?
  • What is the basic component for it?

This is our resources:

2: The Multi-Process Architecture

In this article i will dive into the overall architecture and functionality of the system.

  • What is the Process and the Thread and what is the difference?
  • What is the relationships between Process and Threads?
  • What is the Multi-Process Architecture?
  • Why the browser does not work on a single process?
  • What is the benefits from Multi-Process Architecture?

This is our resources:

3: The Browser Process

In this article, we'll explore the Browser Process, the main process responsible for managing the browser's UI and coordinating other browser processes.

  • Why the Browser Process?
  • Browser UI and Tabs or window management.
  • Render Process Management.

This is our resources:

4: The Renderer Process

This article explores how the browser processes and renders web content.

  • What is the render process responsibilities?
  • What is the relationship between Blink and Renderer?
  • The architectural meaning of Main Thread and Worker Thread?
  • What is the relationship between Renderer and page content?
  • Is every tap has its own Renderer?

This is our resources:

5: Browser Services and Utility Processes

In this article i will explain the important differences between services and utilities.

  • What is a browser service, and how can it be hosted inside a Utility Process?
  • Why does Chromium run some services in separate processes?
  • What is the Browser Services and Utility Processes?
  • What is the main services in the browser and its responsibilities?
  • Why does chromium separates some services from other process?

This is our resources:

6: The GPU Process and Visual Compositing

This is the Graphics article in it i will explain the way that the browser render your content.

  • Why the browser need GPU?
  • What is the responsibility of GPU process?
  • What is Compositingand Viz ?
  • What is the relationship between compositor, renderer and GPU?
  • How the visualized frames displayed on the screen?

This is our resources:

7: Inter-Process Communication (IPC)

In this article i will explain the way that all of this process cooperate with each others.

Here i will explain the methods and ways that browsers isolate websites and secure its systems by architectural design that protect the user inside it.

The next step

every few days i will publish an article of this deep series so stay in touch.