Pages 212
PAGE 1 'SPICE.AI IN ACTION \nSpice.ai \nin Action \nA practical guide to SQL, acceleration, \nsearch, and data-grounded AI \nSQL • DATA • SEARCH • AI \nFIRST EDITION MANUSCRIPT \nSeptember 2026 \n \n \n'
PAGE 2 'SPICE.AI IN ACTION \n2 \nContents \nPreface .................................................................................................................................... 4 \n1. An application data runtime ............................................................................................... 8 \n2. Your first working application .......................................................................................... 12 \n3. Spicepods as executable data contracts ............................................................................ 16 \n4. SQL that preserves the business facts .............................................................................. 20 \n5. Federation and the query plan ......................................................................................... 25 \n6. Databases, files, APIs, and catalogs ................................................................................. 29 \n7. Working with a lakehouse ................................................................................................ 33 \n8. Choosing and operating an accelerator ............................................................................ 37 \n9. Refresh, c'
PAGE 3 'SPICE.AI IN ACTION \n3 \n27. Architecture patterns from real deployments ............................................................... 115 \n28. Cloud, enterprise operations, and BI clients ................................................................ 119 \n29. The engineering foundations beneath the interfaces ................................................... 123 \n30. Choosing and introducing Spice.ai Enterprise ............................................................. 127 \n31. Enterprise identity and Cedar authorization ................................................................ 131 \n32. Deploying Enterprise with the Kubernetes operator .................................................... 137 \n33. Distributed Enterprise query and acceleration ............................................................ 143 \n34. Enterprise snapshots, storage, and safe rollouts .......................................................... 148 \n35. Enterprise functions and distributed model inference ................................................. 154 \n36. Capstone: operating Northstar as an Enterprise service .............................................. 159 \nAppendix A. Reproducibility'
PAGE 4 'SPICE.AI IN ACTION \n4 \nPreface \nAn application rarely has the luxury of keeping every fact it needs in one database. Orders \nlive in an operational system. Product attributes arrive as files. Policies live in documents. \nHistorical data sits in object storage. An AI assistant must reason over several of these \nsources, while a dashboard must answer quickly enough that people keep using it. The \nengineering problem is not simply to connect everything. It is to preserve meaning while \ndeciding where work happens, how old the answers may be, and who may see them. \nSpice.ai gives that problem a concrete deployment unit: a runtime that brings SQL query, \ndata acceleration, search, and model inference close to an application. This book teaches \nyou to build with that runtime and to take responsibility for the system around it. You will \nbegin with five small files and finish with the design of an operational analytics service and \na grounded support assistant. Along the way, you will inspect query plans, choose refresh \nstrategies, reason about replication, evaluate retrieval, and practice recovery. \nThe title Spice.ai in Action describes the method. A capability becomes useful when you '
PAGE 5 'SPICE.AI IN ACTION \n5 \nThe running project: Northstar \nNorthstar is a fictional retailer operating two tenant environments, north and south. Its \napplication needs a daily sales view, a way to investigate orders, and a support assistant \nthat cites the correct tenant’s policies. All people, organizations, orders, and policies in the \nfixture are invented. The small data is deliberately awkward: one order has no customer, a \npaid order has a zero value, a customer has never ordered, orders contain several line \nitems, and returns occur after purchases. \nThese are ordinary conditions, not exotic edge cases. They let us expose mistakes that \ndisappear in perfectly rectangular sample data. The same fixture follows us from federated \nfiles to local acceleration, SQL APIs, and full-text retrieval. External integrations replace a \nsource or add a service without changing the business questions. \nHow to read and run the book \nRead Chapters 1–4 in order. They establish the vocabulary, working directory, dataset \nnames, and invariants used throughout. Chapters 5–12 explain the data plane: federation, \nconnectors, lakehouses, acceleration, freshness, CDC, and Cayenne. Chapters 13–18 build \nth'
Short pages []
Outside margin spans 0
Selected [1, 2, 3, 4, 5, 8, 12, 16, 20, 27, 36, 44, 49, 53, 62, 71, 83, 90, 94, 95, 101, 103, 107, 109, 123, 131, 137, 148, 198, 212]
