Insight
9 articles
Observations and lessons learned about indexing and pipelines.
Trilemma: recursive tasks, a concurrency cap, no deadlock in large-scale agentic systems
Why it is hard to get all three, and how we did it: a parent lends its slot to one child at a time, with proofs, edge cases and repros.
A Safe pickle Alternative: Serialize Python with Type Hints
Why CocoIndex replaced pickle with serialization that reads Python type hints to choose msgspec, Pydantic or restricted pickle for each value.
AI-native data pipelines: why we built CocoIndex
Why AI applications need open, AI-native data pipelines that keep context fresh as sources and code change, and the design choices behind CocoIndex.
Thinking in Rust: Ownership, Access, and Memory Safety
A mental framework for Rust's memory safety concepts. Think systematically about ownership, references, Send, Sync, and Rc, Arc, RefCell, Mutex, etc.
Introducing CocoInsight
CocoInsight, the CocoIndex v0 tool for inspecting pipeline data and lineage step by step. It is not part of CocoIndex v1; v1 apps use cocoindex show.
Customizable Data Indexing Pipelines
What customizable data indexing pipelines are and why custom transformation logic matters, with practical CocoIndex examples.
How indexing pipelines differ from other data pipelines
How indexing pipelines differ from ETL, streaming and transactional systems: an index is derived data that must stay correct as its source changes.
Data Consistency in Indexing Pipelines
How a crash or two racing versions leave stale rows in a RAG index, and how CocoIndex v1 keeps its internal store and your vector index consistent.
Data Indexing Pipelines for RAG: Common Challenges
What a good RAG indexing pipeline needs, where pipelines break (incremental updates, upgrades, stale rows from LLM extraction), and how CocoIndex handles it.