FC
category

sitecore

Post thumbnail
Aug 4, 2026·13 min read

How To Cure log4net's Lock Convoy on a Sitecore CD

At the worst moment of a load test, 279 of our Sitecore Content Delivery server's 427 threads were parked on a single lock, waiting for permission to write a log line. This is the story of how log4net's synchronous file appender becomes a lock convoy under concurrency, how a memory dump and two WinDbg commands convicted it in ten minutes, and the sixty-line never-blocking appender — built against Sitecore's log4net fork, because Apache-targeting packages won't load — that structurally abolished it. Plus an honest accounting of the trade-offs: dropped events over blocked threads, a crash that eats the queue, and a log that lags reality.

Post thumbnail
Feb 20, 2026·26 min read

Building a RAG Pipeline from Your Sitecore Content

This article details how to build a production RAG pipeline that turns Sitecore CMS content into an AI chatbot. It covers using Sitecore's Layout Service for clean content extraction, component-aware chunking, vector embeddings for semantic search, and prompt engineering to keep responses grounded with source citations. The architecture is composable and keeps Sitecore as the single source of truth.

Post thumbnail
Jan 6, 2025·15 min read

Migrating from React to Next.js in a Sitecore World: Overcoming the Component Factory Hurdle

Migrating a React-based Sitecore application to Next.js can unlock powerful server-side rendering and modern performance benefits—but it also presents unique challenges. In this post, we dive into how Sitecore’s default component factory generation can unintentionally inflate your rendering list, turning each subcomponent into a standalone element. You’ll learn why this happens and how to implement a custom script that respects your existing folder structure. By doing so, you can keep your code organized, prevent confusion in Sitecore, and ensure a seamless editorial experience.

Post thumbnail
Apr 22, 2024·10 min read

In the trenches with new Sitecore features

Dive into the crucial role of personalized web experiences, the principles of personalization, and the advantages that Sitecore features play in offering them.

Post thumbnail
Aug 31, 2023·4 min read

No groups claim? No problem!

Resolving a common issue with Sitecore and Azure AD where the groups claim is not being received. A follow up to my previous post: Locking Down an Intranet with Sitecore Identity Server and Azure AD

Post thumbnail
Aug 22, 2023·6 min read

Locking Down an Intranet with Sitecore Identity Server and Azure AD

In this article, we setup our website to require federated authentication on the front-end using Azure Active Directory!

FC

Senior Software Engineer building for the modern web.

Navigation

Connect

© 2026 Frank Costoya. All rights reserved.