Software Architecture

Building Enterprise AI: Hard-Won Lessons from 1200+ Hours of RAG Development

17 minute read Modified:

Lessons from 1,200+ hours building enterprise RAG, covering document ingestion, contextual chunking, hybrid search and hierarchical retrieval.
The following blog post is an opinionated result of hundreds of hours of intense research, implementation and evaluation while developing an enterprise AI chat system (source code can be found here). While I do not remember every source and arxiv paper,...

Reactive Data Sync: Mastering Concurrent Updates in Large-Scale Applications

16 minute read Modified:

How I kept PouchDB and an optimistic client store in sync under heavy writes using queues, retries, conflict merging and rollback.

Introduction

In the domain of complex software systems, particularly in the med-tech sector where data consistency and timely delivery are paramount, managing data synchronization across multiple layers of an application ecosystem presents unique challenges....