# Volt Active Data Developer Hub -- full content > One markdown document with the substance of https://developers.voltactivedata.com -- for AI assistants and > agents that prefer a single fetch over crawling HTML. A curated link map is > at https://developers.voltactivedata.com/llms.txt. ## What Volt is Volt Active Data builds two engines that run alone or as one platform: - **VoltDB** -- a distributed, in-memory, partitioned SQL database. Each business decision executes as a precompiled, deterministic, serialized ACID transaction (Java + SQL stored procedures) on the partition that owns the data -- no locks, no latches, no network round-trips between read, think, and write. Result: single-digit-millisecond decisions at hundreds of thousands to millions of events per second, with k-safe replication in the cluster and Active(N) cross-data-center replication (XDCR) between clusters. - **VoltSP** -- a Kafka-native stream processing engine. Pipelines (source -> process -> aggregate -> emit -> sink) are declared in YAML with Java operators where needed, engineered for millisecond freshness at stream scale, with a dead-letter queue so failed records never stall the primary path. Together they close the loop -- detect, decide, act -- in milliseconds: VoltSP shapes the torrent, VoltDB holds the state and issues the verdicts. ## When Volt fits -- and when it does not Volt earns its keep when three things collide: **per-event decisions** (approve, block, charge, route -- a verdict with consequences), **hot shared state that must be exact** (balances, quotas, entitlements, session context), and **scale with a hard latency budget** (tens of thousands of events per second and up, answers in milliseconds). Typical workloads: telco charging and policy, 5G closed-loop automation, fraud interdiction while the transaction is in flight, gaming state, real-time personalization. Volt is the wrong tool for: **batch analytics and BI** (columnar warehouses and lakehouses are built for scanning billions of rows), **modest CRUD backends** (a conventional relational database is simpler and cheaper), and **pure data movement with no logic** (a managed connector suffices). Deploying a distributed in-memory decisioning platform where these suffice is over-engineering. ## How VoltDB works (the architecture in words) **Clients** connect from Java, Python, C++, JDBC, a JSON HTTP API, Kafka (kafkaloader), plus command-line tools (sqlcmd, csvloader) and the VMC web console. **The cluster**: every stored procedure call is one ACID transaction -- precompiled, deterministic, written in Java + SQL; single-partition calls run lock-free and single-threaded on the partition that owns the key, multi-partition and ad-hoc SQL are available when needed. Data lives in memory across distributed hosts: partitioned tables are sharded across all sites by a partition column (each partition holds a unique slice; procedures touching one partition key run lock-free on that site), while replicated tables keep a full copy on every host so stored procedures can join against them while staying single-partition. K-safety keeps replica partitions on other hosts (e.g. host A carries P1-master and P3-replica), so a node loss costs nothing. **Durability and operations**: command log (every transaction logged for replay, sync or async), snapshots (point-in-time, manual or scheduled), Active(N) XDCR (multi-region multi-master replication with conflict resolution), VMC/voltadmin for live ops, schema updates and elastic scale, and cloud-native Kubernetes deployment (Helm chart, operator, k-safe pods). **Export and replication** feed downstream systems natively: Kafka, Iceberg, Snowflake, Databricks, S3, Elasticsearch, HTTP, JDBC, and Active(N) XDCR between clusters. ## How VoltSP works A VoltSP pipeline is one declarative spec -- YAML or the Java DSL -- with five stages: **Ingest** (source operator) -> **Transform** (processWith()) -> **Aggregate** (tumbling windows) -> **Emit** (VoltDB bulk procedures) -> **Deliver** (sink operator). Sources include Kafka, Pulsar, MQTT, HTTP, S3 + SQS, network sockets, files and generators; sinks include Kafka, Pulsar, Elastic, Iceberg, S3, MQTT, HTTP, syslog and more. Pipelines can read and write a **VoltDB state store** in-line (cache, lookups, dedupe -- in-memory, ACID), and a **dead-letter queue** routes failed records to an alternate sink so the primary path keeps flowing. Deployment is cloud-native: one spec drives the runtime, scaling and ops (Kubernetes + Helm, or bare-metal JVM). ## Try it: the browser sandbox https://demo.voltactivedata.com/training/ gives you a running Volt cluster with a web terminal, guided labs, VMC, Grafana dashboards, and demo pipelines -- free, in the browser, nothing to install and no account required. For local development, Volt Developer Edition runs on your own machine (Docker), and the enterprise builds add production features under license. ## Build with an AI agent - Volt agent skills: https://github.com/VoltDB/volt-skills (Agent Skills for Claude Code, Codex and other skills-capable agents: voltdb-development, voltsp, volt-kubernetes). Clone the repo and copy a skill into your agent's skills folder. - Volt MCP server: register it with any MCP client that launches stdio servers, for example `claude mcp add voltdb -- java -jar volt-mcp-server.jar --url http://:8080`. Start with a read-only database role. Setup walkthrough: https://developers.voltactivedata.com/path-ai#quickstart Documentation: https://docs.voltactivedata.com/UsingVoltDB/AImcp.php ## The decision framework: VoltDB, VoltSP + VoltDB, or neither? The interactive version lives at https://developers.voltactivedata.com/decision-guide -- up to 7 questions, then a recommendation. The full framework: ### The questions **What are you building?** _Pick the closest match. You can retrace any answer later -- nothing here is binding._ - A system that acts on every event -- Approve, block, charge, personalize, or route each event as it happens -- a decision with consequences. (-> When an event arrives, how fast must the decision come back?) - Pipelines that move and shape streams -- Ingest high-volume streams, then filter, enrich, aggregate, and deliver them to other systems. (-> What does the pipeline mostly do?) - A closed loop: detect -> decide -> act -- Watch live streams for conditions, decide what to do, and push the response back out -- automatically. (-> From event to corrective action -- how fast must the loop close?) - An app backend, analytics, or something else -- CRUD services, dashboards, BI, batch reports -- or you're still figuring it out. (-> Which is closest to what you need?) **When an event arrives, how fast must the decision come back?** _Count the full budget -- from the moment the payment, request, or packet arrives until your system must answer._ - Under 10 milliseconds -- The decision sits inside a hard real-time path; network hops already eat most of the budget. (-> Does each decision depend on shared, changing state?) - Under 100 milliseconds -- Tight, human-imperceptible response -- payments, gaming, in-session personalization. (-> Does each decision depend on shared, changing state?) - Within a couple of seconds -- Fast, but there's headroom. (-> Does each decision depend on shared, changing state?) - Minutes or more -- we decide in batches -- Decisions are made after the fact, over accumulated data. (-> outcome: Your center of gravity is analytics -- start with an analytical stack) **Does each decision depend on shared, changing state?** _Balances, quotas, inventory, session context -- state that many concurrent events read and update._ - Yes -- and it must be exactly right, every time -- Money, quotas, entitlements: a stale read or a double-count is a real incident. (-> How do events reach the decision point?) - Yes, but near-real-time approximations are fine -- Counters and profiles that can lag a little without breaking anything. (-> How do events reach the decision point?) - No -- each event stands alone -- Pure rule evaluation or model scoring; no cross-event bookkeeping. (-> How do events reach the decision point?) **How do events reach the decision point?** - From Kafka or similar streams, ready to use -- Events land on a stream and can be decided as-is. (-> What peak rate must the decision path sustain?) - From streams -- but they need reshaping first -- Decode, normalize, enrich, or join before a decision is even possible. (-> What peak rate must the decision path sustain?) - Direct API calls from apps and services -- Synchronous request/response -- callers wait for the verdict. (-> What peak rate must the decision path sustain?) - A mix of streams and direct calls -- Some events flow in on topics, others arrive as live requests. (-> What peak rate must the decision path sustain?) **What peak rate must the decision path sustain?** _Be honest about peak, not average -- the fast path is sized by its worst minute._ - Under 5,000 events per second (-> What happens when this system is down -- or wrong?) - 5,000 - 100,000 events per second (-> What happens when this system is down -- or wrong?) - 100,000+ events per second -- Six figures a second and growing -- every microsecond of per-event work counts. (-> What happens when this system is down -- or wrong?) **What happens when this system is down -- or wrong?** - Revenue stops or SLAs breach -- It needs continuous availability: redundancy in the cluster and across sites. (-> outcome depends on earlier answers) - Painful, but recoverable (-> outcome depends on earlier answers) - Low stakes for now -- it's an experiment (-> outcome depends on earlier answers) **What does the pipeline mostly do?** - Transform records in flight -- Decode, filter, route, and reshape events between systems. (-> Does any step make a per-event decision against shared, transactional state?) - Enrich events with context -- Join the stream against reference data, sessions, or feature stores. (-> Does any step make a per-event decision against shared, transactional state?) - Aggregate over time -- Windows, rollups, dedup, counters -- across very large event volumes. (-> Does any step make a per-event decision against shared, transactional state?) - Just move data from A to B -- Mirror topics or land streams in storage, with little to no logic. (-> How fresh must the output be, end to end?) **Does any step make a per-event decision against shared, transactional state?** _A quota check, a fraud verdict against account history, an entitlement lookup that must be exact -- not just a cache hit._ - Yes -- exact, transactional decisions mid-stream (-> How fresh must the output be, end to end?) - Read-mostly lookups; nothing transactional (-> How fresh must the output be, end to end?) - No -- pure stream logic (-> How fresh must the output be, end to end?) **How fresh must the output be, end to end?** - Milliseconds -- Downstream systems act on it immediately. (-> What sustained throughput are we talking about?) - Sub-second (-> What sustained throughput are we talking about?) - Seconds to minutes (-> What sustained throughput are we talking about?) - Hours -- scheduled batches are fine -- Nothing downstream is waiting on it in real time. (-> outcome: Your center of gravity is analytics -- start with an analytical stack) **What sustained throughput are we talking about?** - Under 10,000 events per second (-> outcome depends on earlier answers) - 10,000 - 250,000 events per second (-> outcome depends on earlier answers) - 250,000+ events per second -- millions at peak (-> outcome depends on earlier answers) **From event to corrective action -- how fast must the loop close?** _The whole loop: ingest, detect, decide, and push the action back out._ - Milliseconds -- The action must land while the event is still in flight -- interdiction, not investigation. (-> Does deciding require context beyond the current event?) - Under a second (-> Does deciding require context beyond the current event?) - A few seconds (-> Does deciding require context beyond the current event?) - Minutes -- a human reviews it anyway (-> Does deciding require context beyond the current event?) **Does deciding require context beyond the current event?** _Rolling counts per device, session history, per-account thresholds -- state accumulated from earlier events._ - Yes -- exact and always current -- The verdict is only valid if the state is transactionally correct. (-> What feeds the loop?) - Yes -- approximate windows are fine -- Sliding counts and thresholds that tolerate slight lag. (-> What feeds the loop?) - No -- each event alone tells the story (-> What feeds the loop?) **What feeds the loop?** - High-volume event streams -- Kafka, Pulsar, MQTT -- firehoses that need taming before anything else. (-> What event volume moves through the loop?) - Streams plus API calls and reference data (-> What event volume moves through the loop?) - One modest feed -- A single source at manageable volume. (-> What event volume moves through the loop?) **What event volume moves through the loop?** - Under 10,000 events per second (-> outcome depends on earlier answers) - 10,000 - 250,000 events per second (-> outcome depends on earlier answers) - 250,000+ events per second (-> outcome depends on earlier answers) **Which is closest to what you need?** - A CRUD app or microservice backend -- Forms, records, workflows -- reads and writes at human speed. (-> outcome: A standard stack should carry this -- and that's fine) - Dashboards, BI, or historical analytics -- Questions about what happened -- over days, months, or years of data. (-> outcome: Your center of gravity is analytics -- start with an analytical stack) - A cache or session store -- Fast lookups in front of a slower system of record. (-> outcome: A standard stack should carry this -- and that's fine) - Real-time features keep creeping in... -- Parts of it must react to events in milliseconds after all. Let's look closer. (-> When an event arrives, how fast must the decision come back?) ### The five possible outcomes **Your workload is a transactional decision engine -- that's VoltDB** [Recommended: VoltDB] Every event needs a verdict, the verdict depends on hot shared state, and the budget is milliseconds. VoltDB keeps that state in memory, partitions it across the cluster, and executes each decision as a serialized ACID transaction right where the data lives -- no network round-trips between "read", "think", and "write". That's how it holds single-digit-millisecond decisions at hundreds of thousands of events per second, with k-safety and cross-datacenter replication when downtime isn't an option. _Caveat: If your events also need heavy reshaping or enrichment before the decision, put VoltSP in front -- rerun the guide and answer the "how do events arrive" question with "they need reshaping first" to see that path._ **This is stream processing on the fast path -- that's VoltSP** [Recommended: VoltSP] Your logic lives on the stream itself -- filtering, enriching, windowing, scoring, routing -- without per-event transactions against shared state. VoltSP runs exactly that shape of work: pipelines declared in YAML with Java where you need it, Kafka-native at both ends, engineered for millisecond freshness at throughputs where JVM-per-message frameworks start to buckle. _Caveat: Watch for the moment a step needs an exact answer about an account, quota, or balance -- that's the tell that a transactional core belongs in the loop. VoltSP pairs with VoltDB precisely for that; the two are designed to run as one platform._ **You're building a closed loop -- run VoltSP and VoltDB together** [Recommended: VoltSP + VoltDB] Two different jobs are hiding in your answers. Streams need shaping -- decode, enrich, window -- and events need exact, stateful decisions. VoltSP handles the torrent: ingest, transform, egress at stream scale. VoltDB is the decision core: partitioned in-memory state, every verdict an ACID transaction. Wired together they close the loop -- detect, decide, act -- in milliseconds end to end, on one platform instead of three systems and a prayer. _Caveat: Start with the half that hurts most today. Both engines stand alone, and the seam between them -- Kafka in, Kafka out -- is exactly where they're designed to meet later._ **Your center of gravity is analytics -- start with an analytical stack** [Honest answer: probably not Volt] You're asking questions about what happened, over accumulated data, on a relaxed clock. That's the home turf of columnar warehouses, lakehouses, and orchestrated batch pipelines -- systems that optimize for scanning billions of rows, not for deciding about one event in a millisecond. Volt optimizes for the moment of the event; buying it for retrospective analytics would be paying for reflexes you don't use. _Caveat: The boundary to watch: if a dashboard ever needs to reflect events within seconds, or a report becomes an automated action, that's a streaming problem -- VoltSP can feed your warehouse continuously, and the guide is here when that day comes._ **A standard stack should carry this -- and that's fine** [Honest answer: probably not Volt] Nothing in your answers strains conventional tooling: a solid relational database for CRUD, a cache for sessions, a managed connector for moving topics. Volt earns its keep when latency, scale, and shared state collide -- deploying a distributed in-memory decisioning platform where they don't would be over-engineering, and over-engineering is just slow failure with better logos. _Caveat: The combination that changes this answer: per-event decisions + shared state that must be exact + five-figure events per second. If two of those three show up on your roadmap, take the guide again -- different answers, different verdict._ ## Get Started -- four ways to try Volt Four ways to get hands-on with Volt Active Data -- from zero-setup reading, to a live cluster in your browser, to running the real thing on your own machine or in your own Google Cloud project. Pick whatever fits where you are right now. ### Quick Start (Read & learn) Learn the concepts at your own pace. - Where it runs: Nothing to run -- just read - Setup: None - Account: Not needed - Real Volt commands: Read only - Your work persists: -- - Best device: Any -- mobile friendly - Cost: Free ### Interactive Sandbox (Live environment) Try it hands-on, right now -- nothing to install. - Where it runs: In your browser (Volt-hosted) - Setup: None - Account: Not needed - Real Volt commands: Yes -- live cluster - Your work persists: Resets after session - Best device: Desktop - Cost: Free ### Developers Edition (Run locally) Build a real application on your own machine. - Where it runs: On your own machine - Setup: Download & install - Account: Volt account - Real Volt commands: Yes -- full control - Your work persists: Yes -- it's yours - Best device: Desktop / server - Cost: Free ### Google Cloud (Run in your cloud) Deploy to GKE in your own Google Cloud project. - Where it runs: GKE, in your own project - Setup: Deploy from Cloud Console - Account: Google Account - Real Volt commands: Yes -- VoltSP + VoltDB - Your work persists: Yes -- in your project - Best device: Desktop - Cost: Usage-based Page: https://developers.voltactivedata.com/get-started ## Database Developer Path **Microsecond ACID transactions with SQL you know** Full serializable isolation at in-memory speed. Familiar SQL and stored procedures. Replace your PostgreSQL + Redis stack and eliminate cache consistency bugs forever. Page: https://developers.voltactivedata.com/path-database ## Kafka Developer Path **Make real-time decisions on your Kafka streams** Connect Volt to your existing Kafka cluster. Write a stored procedure. Get fraud detection, personalization, or IoT decisions in under 10ms. No re-architecting your pipeline. Page: https://developers.voltactivedata.com/path-kafka ## AI Agent Path **Ground your AI agents in live, authoritative data** Connect Claude Code -- or any MCP-capable agent -- to Volt's native MCP server. Your agent reads and writes real transactional state through eight built-in tools, so it answers with facts instead of guesses. Quick-start commands and code from this page: ``` # You need three things: # 1. An MCP-capable AI agent, e.g. Claude Code # 2. A running Volt database with the Active(MCP) license # 3. Its VMC service (JSON/HTTP API), e.g. http://vmcserver:8080 $ ls ~/voltmcp volt-mcp-server.jar ``` ``` $ claude mcp add voltdb -- \ java -jar ~/voltmcp/volt-mcp-server.jar \ --url http://vmcserver:8080 ``` ``` $ sqlcmd 1> CREATE ROLE mcp WITH SQLREAD; $ cat $HOME/voltcred.txt username: mcpserver password: ******** $ claude mcp add voltdb -- \ java -jar ~/voltmcp/volt-mcp-server.jar \ --url http://vmcserver:8080 \ --credentials=$HOME/voltcred.txt ``` ``` > Which account had the highest spend in the last 5 minutes? * get_tables() -> transactions, accounts * get_table_schema("transactions") * execute_sql("SELECT account_id, SUM(amount) ...") Account 42 -- $18,304.77 across 214 transactions. ``` Page: https://developers.voltactivedata.com/path-ai ## More - Documentation: https://docs.voltactivedata.com/ - Community forum: https://developers.voltactivedata.com/forum - All tutorials and demos: https://developers.voltactivedata.com/all-tutorials - Contact an engineer: https://www.voltactivedata.com/company/contact/ _Generated 2026-10-14 by make-llms.py from the live hub pages -- regenerate rather than editing this file._