Learn more
Replay for New Contributors

Replay for New Contributors

Getting Started

If you have never done so before, you might want to pick and play with a few replays from our curated Replayable list (opens in a new tab) (src: https://github.com/replayio/replayable (opens in a new tab)).

Replay Basics

We wrote some blog posts outlining how Replay works internally, covering the basics of how we record OS syscalls, use “effective determinism” to reduce overhead, and turn browser processes in the cloud into a public API that can be used to introspect a program’s behavior:

  1. Overview (opens in a new tab)
  2. Recording and Replaying (opens in a new tab)
  3. Effective Determinism (opens in a new tab)
  4. Inspecting Runtimes (opens in a new tab)

Replay Architecture

Replay is a vast and complex system with many moving parts. The following is a largely simplified overview of how it works:

replay-architecture.png

Components

More References

Our approach for source maps (1)

How programmatic recordings work (1)

The Replay Protocol

For examples of how the Replay Protocol API is used, see the actual Replay DevTools client repo, the Replay Protocol API Examples repo, and the Protocol API docs