Explore
Module 1 · Part 1 of 12 · Free preview

Part 1

Part 125 min · narrated · preview

Written summary

  • Chapter 1: The Repository Beneath...--The first time you see an AEM repository crash, you will not see fire, smoke, or a dramatic error message.
  • It is a bit like a hotel that continues to accept reservations even after half its rooms have collapsed—the front desk smiles, the key cards work, but when guests open their doors, they find only rubble.Your job as an Experience Manager…
  • This chapter will teach you to see them coming, survive them when they arrive, and—most importantly—know exactly which commands to run when everyone else is still panicking.The Hidden Engine: Why AEM Isn't Just Another Web…
Read along — the full text

Chapter 1: The Repository Beneath...--The first time you see an AEM repository crash, you will not see fire, smoke, or a dramatic error message. You will see a single line in a log file that says something innocent like SegmentNotFoundException or Unable to read node at path /content/we-retail/us/en. The system will still be running. The login page will still load. Your monitoring dashboard will show green checks across every service. And yet, half the pages on the site will return blank white screens, and the other half will show content from three months ago.This is the unique terror of the Jackrabbit Oak repository. Unlike a relational database that fails loudly with connection refused errors, or a file system that returns clear "file not found" messages, Oak fails softly, gradually, and deceptively.

It is a bit like a hotel that continues to accept reservations even after half its rooms have collapsed—the front desk smiles, the key cards work, but when guests open their doors, they find only rubble.Your job as an Experience Manager Support Engineer begins here: not with fixing the repository, but with recognizing that the repository is the problem in the first place. Most AEM outages are not AEM's fault. They are networking, or memory leaks, or misconfigured dispatchers. But the outages that make you question your career choice, the ones that wake you up at 3 AM and keep you staring at logs until dawn, those are almost always repository problems.

This chapter will teach you to see them coming, survive them when they arrive, and—most importantly—know exactly which commands to run when everyone else is still panicking.The Hidden Engine: Why AEM Isn't Just Another Web ApplicationBefore we debug the repository, you need to understand why AEM uses a repository at all. When you build a standard web application in PHP, Node.js, or Ruby on Rails, you typically separate three concerns: the code (files on disk), the content (a relational database like PostgreSQL), and the cache (Redis or Memcached). Each layer has its own failure modes, but they are mostly independent. A database outage does not corrupt your code.

Keep reading — free

Sign in with your SamEnrico account to read the whole of lesson 1.

Sign in