Vineyard: Zero-Copy In-Memory Data Sharing for Big Data and ML

Shriira Press

Preface

How Vineyard shares dataframes, tensors, and graphs between systems with zero copies and no serialization.

Welcome to Vineyard: Zero-Copy In-Memory Data Sharing for Big Data and ML.

Vineyard, known by its shorter name v6d, is a cloud-native, in-memory, immutable data manager built to solve a quietly expensive problem: every time one stage of a data pipeline hands a dataframe, tensor, or graph to the next, the data is usually serialized, written somewhere, and read back again. Vineyard removes that cost by holding objects in shared memory and letting co-located processes read them through zero-copy memory mapping, no matter which engine or language produced them. This book walks from the problem to the design and out into production. We begin with why pipelines bleed time on serialization, then study Vineyard's metadata-payload object model, the vineyardd daemon and its shared-memory store, the IPC and RPC clients, the builder and resolver registry that teaches Vineyard about your data types, distributed and global objects across a cluster, and finally the Kubernetes operator and data-aware scheduler that make Vineyard a first-class cloud-native citizen. A closing chapter looks at real integrations and operational practice.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — The Cost of Moving Data
  2. Chapter 2 — The Object Model
  3. Chapter 3 — Inside vineyardd
  4. Chapter 4 — Accessing Data: IPC and RPC
  5. Chapter 5 — Builders, Resolvers, and Drivers
  6. Chapter 6 — Distributed and Global Objects
  7. Chapter 7 — Vineyard on Kubernetes
  8. Chapter 8 — Vineyard in Practice
0%
1/1