/ ENGINEERING LAB

AEM engineering.Questions worth testing.

Engineering notes on AEM and adjacent platforms — runtime, retrieval, delivery, cloud and security. Each note starts with a question, makes the assumptions explicit, and follows the evidence far enough to make a decision.

  • AEM
  • Runtime
  • Search
  • Retrieval
  • Cloud
  • Security
RUNTIMECONTENTRETRIEVALCLOUD

Latest notes

View all 21 notes

21 articles

  • 022Engineering CultureEngineering Culture · Historical engineering analysis

    Advice From the CIA: How to Sabotage Your Workplace

    What a declassified 1944 OSS manual reveals about modern meetings, bureaucracy, engineering culture and organizational dysfunction.

    • Engineering culture
    • OSS history
    • Governance
  • 021Platform SecuritySecurity · Security investigation

    PHP2Shell: Critical PHP Zero-Days and Government Website Shutdowns

    Investigating PHP2Shell: verified CVEs, PHP runtime memory failures, French tax-service shutdown reporting, emergency mitigations and patch verification.

    • PHP
    • PHP2Shell
    • Incident response
    HTTPRequestendNextrequest
  • 006Search & AISearch & Retrieval · Architecture exploration

    From AEM Content Fragments to Vector Search

    An architecture exploration of how governed AEM Content Fragments could be prepared, embedded and retrieved through a vector-search layer.

    • AEM
    • Search
    • AI
    AEMVectorstoreRetrieval
  • 007Search & AISearch & Retrieval · Architecture

    Building a RAG Pipeline on Top of AEM Content

    A reference architecture outline for retrieval-augmented generation grounded in AEM content, with explicit attention to provenance, permissions and evaluation.

    • AEM
    • Search
    • AI
    AEMcontentVector DBGroundedanswer
  • 008Search & AISearch & Retrieval · Architecture exploration

    AEM + Elasticsearch + Vector Search: Hybrid Retrieval

    An engineering note on combining lexical and semantic retrieval over AEM content, and the relevance, freshness and governance questions to validate.

    • AEM
    • Search
    • AI
    QueryBM25lexicalRankfusion
  • 009Search & AISearch & Retrieval · Engineering notes

    GraphQL vs Sling Model Exporter for AI Ingestion

    A comparison framework for selecting an AEM content API for AI ingestion, including schema stability, access boundaries and consumer coupling.

    • AEM
    • Search
    • AI
    CF modelJSONIngestion
  • 010Search & AISearch & Retrieval · Exploration

    Chunking AEM Content for RAG

    A practical exploration of splitting structured AEM content for retrieval while preserving component context, citations and update boundaries.

    • AEM
    • Search
    • AI
    ContentFragmentBody § 1FAQ chunk
  • 011Search & AISearch & Retrieval · Engineering notes

    Metadata Strategy for Vector Search

    An architecture note on the metadata needed to filter, cite, refresh and permission-check indexed AEM content in a vector-search system.

    • AEM
    • Search
    • AI
    ChunkLocaleAccessscope
  • 012Search & AISearch & Retrieval · Architecture exploration

    AEM Content Fragments as an Enterprise Knowledge Layer

    An architecture exploration of Content Fragments as governed, reusable source material for enterprise search and AI experiences.

    • AEM
    • Search
    • AI
    ContentFragmentsGraphQLAPIAI agents
  • 013Search & AISearch & Retrieval · Architecture

    Elasticsearch vs Vector Database for AEM

    A decision framework for choosing Elasticsearch or a dedicated vector database for AEM retrieval workloads, without assuming a universal winner.

    • AEM
    • Search
    • AI
    LexicalFiltersOnecluster
  • 014Search & AIArchitecture · PoC outline

    AEM + MCP for Enterprise AI Agents

    An exploratory architecture note on exposing governed AEM capabilities to enterprise AI agents through carefully bounded MCP tools.

    • AEM
    • Search
    • AI
    AI agentPolicycheckAEM APIs
  • 016AEM CloudCloud & Delivery · Architecture exploration

    Cloud Manager Canary Deployments

    Understand Cloud Manager’s header-selected canary validation, promotion window, cancellation limits and backward-compatibility checks.

    • AEM as a Cloud Service
    • AEM Cloud Notes
    • Platform Engineering
    GitCanaryProduction
  • 017AEM CloudCloud & Delivery · Engineering notes

    AEM Cloud Release Notes for Developers

    A developer-focused method for reading AEM as a Cloud Service release notes and separating code, configuration, testing and operational impact.

    • AEM as a Cloud Service
    • AEM Cloud Notes
    • Platform Engineering
    ReleaseentryTestsDelivery
  • 018AEM CloudCloud & Delivery · Engineering notes

    AEMaaCS Platform Changes That Matter to Engineers

    A senior engineering checklist for translating AEMaaCS platform changes into runtime, compatibility, observability and release-pipeline considerations.

    • AEM as a Cloud Service
    • AEM Cloud Notes
    • Platform Engineering
    AEMaaCSRuntimePipeline
  • 019AEM CloudCloud & Delivery · Architecture

    EDS and AEM Sites: Coexistence Boundaries

    Plan an EDS experience alongside an existing AEM estate: content ownership, URL boundaries, identity handoff, cutover validation and recovery.

    • AEM as a Cloud Service
    • AEM Cloud Notes
    • Platform Engineering
    AuthorDispatcherCDN
  • 020AEM CloudCloud & Delivery · Architecture exploration

    AEM Cloud Migration Readiness

    A readiness assessment outline for AEM Cloud migration covering application compatibility, content, integrations, delivery pipelines and operating-model change.

    • AEM as a Cloud Service
    • AEM Cloud Notes
    • Platform Engineering
    AEM 6.5estateAssessmentCloudService
  • 004AEM EngineeringAEM Runtime · Runtime note

    Who Should Close This ResourceResolver?

    A practical ownership model for request and service ResourceResolvers: scope, exception paths, borrowed sessions, async work and leak-focused tests.

    • ResourceResolver
    • Sling
    • Java
    ServiceloginReadclose()
  • 005AEM EngineeringTesting · Reproducible lab

    Testing Sling Models Beyond the Happy Path

    Test Sling Model adaptation failures, required injections, optional content and service boundaries with JUnit 5 and AEM Mocks, then validate them in AEM.

    • Sling Models
    • JUnit 5
    • AEM Mocks
    ResourceMissingelementAssertion
  • 001AEM EngineeringArchitecture · Architecture comparison

    AEM Sites vs. Edge Delivery Services (EDS) — What’s the Difference?

    Compare AEM Sites and Edge Delivery Services across architecture, authoring, performance, deployment, customization and migration trade-offs.

    • AEM Sites
    • EDS
    • Authoring
    AuthorDispatcherCDN
  • 002AEM EngineeringSling & OSGi · Diagnostic guide

    Why Is My OSGi Component Unsatisfied?

    Diagnose unsatisfied OSGi components in AEM with a runnable Felix example: inspect reference filters, reproduce a mismatch, fix it and verify recovery.

    • OSGi
    • Declarative Services
    • Configuration
    ComponentMetadataproviderBundleimports
  • 003AEM EngineeringOak & Querying · Reproducible lab

    Why Is This AEM Query Traversing the Repository?

    Learn why AEM Oak queries fall back to repository traversal, how to read query plans and index selection, and design queries and indexes for performance.

    • Oak
    • Indexes
    • Query plans
    JCR queryOak indexRepository

EXPLORE BY TRACK

Browse all articles

Start here: choose the engineering question closest to yours. These optional reading paths move from foundations to practical decisions.

AEM Engineering

For developers diagnosing runtime and repository behavior.

RequestSlingOSGiJCR
  1. Why Is My OSGi Component Unsatisfied?

    Identify the reference or configuration keeping a service inactive.

  2. Who Should Close This ResourceResolver?

    Separate owned repository access from borrowed request resources.

  3. Testing Sling Models Beyond the Happy Path

    Test adaptation failures and know what mocks cannot prove.

Explore AEM Engineering

Search & AI

For engineers exploring governed content, retrieval and grounded AI.

Architecture / PoC outlines, not production AI delivery.

ContentIndexRetrieveGround
  1. AEM Content Fragments as an Enterprise Knowledge Layer

    Assess Content Fragments as a governed knowledge source.

  2. GraphQL vs Sling Model Exporter for AI Ingestion

    Compare content API contracts and their access boundaries.

  3. Building a RAG Pipeline on Top of AEM Content

    Trace ingestion to grounded answers, including permissions and evaluation.

Explore Search & AI

AEM Cloud

For teams assessing AEMaaCS changes, delivery and readiness.

AEMaaCS assessment outlines, not Kubernetes-based AEM-adjacent deployments.

CodeBuildDeployObserve
  1. AEM Cloud Release Notes for Developers

    Translate official release entries into code, test and delivery questions.

  2. AEMaaCS Platform Changes That Matter to Engineers

    Review runtime assumptions, supported APIs and operational boundaries.

  3. AEM Cloud Migration Readiness

    Assess dependencies, integrations and team ownership before migration.

Explore AEM Cloud