VAST Data

DataEngine & Event Broker

Intermediate

Run compute where the data lives: serverless functions that fire on events, plus a Kafka-compatible broker built into the platform.

Bring compute to the data

Most data processing works backwards. Data lands in storage, a separate pipeline copies it out to a compute cluster, transforms it, and writes the results somewhere else. Each hop costs money and adds latency, and each one leaves a copy that goes stale. For AI, that means embeddings and enrichment lag behind ingest, and the context your models retrieve is a batch window out of date.

flips this around: you run the function where the data already is. There's no ETL job to schedule, no second cluster to feed and no extra copy to keep consistent. The compute is event-driven and stateless, so it only runs when new data arrives.

How stale is the data your model sees?

The same objects land over time. A pipeline or batch job only touches them at its next run, so each one waits (hatched) before you can use it. Running compute on each event closes the gap.

New data lands
objects written to storage
Move data → computeold way
copy out, transform, copy back
Scheduled batchold way
a cron / Spark job sweeps
Compute → dataDataEngine
a function per event, in place
time (schematic) →
1/25

Move data → compute

0of 0 landed objects not usable yet · 0 copies made

Scheduled batch

0of 0 landed objects not usable yet · waits for the schedule

Compute → data

0of 0 landed objects not usable yet · no copies, no schedule
Object landsStale: landed, not usable yetCopy out / back (a hop and a copy)Processed in place

Takeaway: moving data to compute costs N hops, N copies and N failure points, and a schedule leaves context one window stale. Functions that run in place on each event are always current.

Schematic: arrival times, the sweep period and job lengths are illustrative.

DataEngine: serverless functions & triggers

GA

DataEngine is event-driven serverless compute that runs functions on data where it lands. Serverless functions & triggers went GA on Nov 11, 2025. There are three execution modes, and you can combine them in one in-situ pipeline.

Three execution modes, three lifetimes

The same stream of data events, seen by each mode. Pick one to see what it does. You can combine all three in one in-situ pipeline.

Event Triggers
an instant per event
Serverless Python Functions
short-lived, 0 → N → 0
00
Containerized Engines
long-lived
one long-lived engine
time (illustrative) →
Serverless Python FunctionsStandard Docker containers registered in VAST. They run in stateless containers that scale elastically and execute only when triggered.

Takeaway: a trigger fires one invocation per data event, functions exist only while there is an event to handle, and engines stay up for heavier work. All of it runs next to the data.

Illustrative: event times and run lengths are made up to show the shapes.

Drop a file, watch the platform react

Every write to a view publishes an event on the broker. Stateless function pods scale out to consume the events, write their result into a table next to the source path, and scale back to zero once the queue is empty.

Function does

Use case: Auto-embedding on ingest

1

View /docs

S3 · NFS · SMB

empty, drop a file

0 recent objects

2

Event Broker topic

trigger: object created

no events waiting

0 events waiting

3

Function pods

serverless · fn: embed

scaled to 0

0 running · peak 0

4

VAST DataBase table

docs_index

idpathvector
no rows yet

0 rows written

t=0Idle: no events and no pods running. Drop a file to start.

0

events published

0

pods running now

0

copies made

0

ETL jobs scheduled

Event tile (one per write)Function pod (stateless container)New table row

Takeaway: compute runs where the data lands, and only while there is work: once per object, as it arrives. Nothing is copied out to a separate cluster and no batch job is scheduled.

Illustrative: tick length, pod start and run times, the 6-pod cap, file names and output values are made up to show the shape of the flow.

A function's lifecycle: code → container → trigger → in-situ run

You ship a function the same way you ship any container. The only new steps are registering it in VAST and binding it to a data event.

From handler.py to an in-situ run

The same function takes a different form at each step. Watch the artifact strip as you go.

Step 1 of 5: Write Python locally

Artifact at each step

1

Write Python locally

Write a standard Python function: your embedder, classifier, transformer or enrichment logic. There's no proprietary SDK to lock you in, just ordinary code and libraries.

illustrative code
def handle(event):
    obj = read(event.path)
    vec = embed(obj)   # NIM, OSS model…
    return {"vector": vec}
1/5

Code, names and the registry path are illustrative. Steps 3 and 4 show what you do rather than exact command syntax.

Event Broker: Kafka-compatible, stateless, storage-backed

GA

The is a real-time event streaming engine built into the platform. You don't need a separate Kafka cluster, and streaming, storage and analytics share one system. It was announced Feb 19, 2025 and became available in Mar 2025.

It speaks the Kafka API, so existing producers and consumers work unchanged. The difference is that its brokers are stateless. No broker keeps persistent state of its own; durability and resilience come from VAST's global storage. Streams flow directly into tables for instant correlation across structured and unstructured data.

Add a broker, lose a broker

Run the same event on both designs. Stateful Kafka brokers have to copy partition data around; stateless VAST brokers just change who serves what, because the data already sits in shared storage.

Classic Kafka

stateful brokers
producerproducer

B1

P0P2P3P4

local disk

B2

P0P1P4P5

local disk

B3

P1P2P3P5

local disk

connector / ETL job

runs on a schedule

warehouse

0

replicas moved

Six partitions, each stored on two brokers' local disks (replication factor 2).

VAST Event Broker

stateless brokers
producerproducer

B1

P0P3

no local state

B2

P1P4

no local state

B3

P2P5

no local state

Shared VAST storage

every partition once, durable

P0P1P2P3P4P5
= DB table

0

partition data moved

Brokers only hold a serving assignment. All six partitions live once in shared VAST storage.

Leader replicaFollower replicaData being copiedLost with the brokerDown to one copyMoved / rebuilt copyServing assignment (no data)
Broker stateKafkaStateful brokers own partitions; data is pinned to disks per brokerVASTStateless brokers, with no per-broker persistent state to manage
DurabilityKafkaReplication factor copies data across brokers (2–3×)VASTDurability comes from VAST global storage, so no replica fan-out
ClusterKafkaSeparate Kafka cluster to size, patch, rebalanceVASTBuilt into the platform; no separate cluster to operate
Path to analyticsKafkaETL/connectors land streams into a warehouse before queryVASTStreams land directly as VAST DataBase tables you can query at once
RebalancingKafkaPartition reassignment moves data; slow and risky at scaleVASTNo data moves when brokers change, because state lives in storage
GA

Throughput

10x+

vs Kafka on like-for-like hardware

500M+

messages/sec on the largest clusters

136M

msgs/sec in a separate benchmark

Announced Feb 19, 2025 and available Mar 2025; 136M msgs/sec comes from a separate benchmark. Results vary with hardware, message size, and configuration.

Takeaway: when state lives in shared storage, adding or losing a broker changes only who serves a partition. There is no partition data to move, and the stream is already a queryable table.

Illustrative: six partitions, replication factor 2, placements and transfer times are chosen to show the mechanism. None of it is measured.

Streams as tables: unifying streaming + analytics

Brokers are stateless and storage is the source of truth, so you never have to a stream into a warehouse later. It is a queryable table the moment it lands. You can consume a record as a Kafka message and also join it against historical structured data in one query, with no copy in between.

One landing zone, two access patterns

Events written through the Kafka API land as rows of a table. A consumer streams them in order, and a query joins the newest event against months of history. Both read the same rows, with no connector or copy in between.

Producers

write via the Kafka API

no new events yet

VAST DataBase table

customer_events

tskeyevent
Jun 02cust-17order
Jul 14cust-42return
Aug 09cust-08order
Sep 21cust-42order
history above · live stream below
(no live rows yet)

Kafka consumer

reads the stream in order

waiting for events

SQL / agent query

joins live with history

SELECT … JOIN history

1/5

Months of prior data already sit in the table. Hit play to stream new events in.

Takeaway: there's no connector to maintain and no schema drift between the stream and the warehouse. Correlating live and historical data takes as long as the query, with no ingest pipeline window on top.

Illustrative: keys, dates and events are made up.

Why this matters for AI

With DataEngine and the Event Broker together, data becomes active. Embeddings and enrichment run automatically as data arrives, so the context your and agent systems retrieve is current in real time instead of as of the last batch run. The embeddings land as vectors next to their source rows in VectorStore; see RAG & Vector Search for how that retrieval works. Data that starts outside VAST gets here through SyncEngine, which copies it onto the platform, where DataEngine functions can then process it like any other write.

From “data written” to “data usable”

Follow one new document through the platform. The Event Broker carries the trigger, and DataEngine uses it to build fresh context. Click a stage to jump to it.

Data written → data usablestage 1 of 5
New data landsA new file, object or record is written to the platform. In a batch world it would now wait for the next pipeline run.
1/5

Takeaway: new data fires a trigger on the broker right away, and DataEngine responds with fresh embeddings. Retrieval never waits for a batch window.

Key takeaways

In one line

DataEngine runs serverless functions where data lands, triggered by a built-in Kafka-compatible Event Broker, so embeddings and enrichment happen as data arrives.

Key points

  • Serverless functions & triggers went GA on Nov 11, 2025, with three modes: event triggers, Python functions, and containerized engines.
  • Functions ship as standard Docker containers, run stateless and elastic, and execute only when triggered, so there's no separate compute cluster to feed.
  • The Event Broker (announced Feb 19, 2025, available Mar 2025) is Kafka API-compatible, but its brokers are stateless, with durability from VAST's global storage.
  • Because brokers are stateless, a stream is a queryable VAST DataBase table the moment it lands, so live events can be joined against history in one query.

Questions to explore

  1. 01How much of your data processing still runs as scheduled batch jobs that leave embeddings or enrichment stale between runs?
  2. 02Do you run a separate Kafka cluster purely to move data into a warehouse before it can be queried?
  3. 03Could your RAG or agent systems benefit from correlating a live event stream against months of history in a single query?

Common questions

How much throughput can the Event Broker handle?
It delivers 10x+ the throughput of Kafka on like-for-like hardware and 500M+ messages/sec on the largest clusters; a separate benchmark measured 136M messages/sec. Results vary with hardware, message size, and configuration.
Do existing Kafka producers and consumers need to be rewritten?
No. It is Kafka API-compatible, so existing producers and consumers work unchanged. What changes is that brokers are stateless and durability comes from VAST's storage instead of broker-local replicas.
What happens to a function when there's no data to process?
Serverless functions run in stateless containers that execute only when triggered, scaling from 0 to N and back to 0, so idle functions consume nothing.