Developer Edition: Quick Start

Introduction

In this Developer Edition Quick Start Guide, we’ll walk you through the steps to get Volt Developer Edition up and running on Docker Desktop. It comes with a built-in application, but if you want you can remove it and create one of your own.

Who is Volt Developer Edition for?

What is Volt Developer Edition?

The Developer Edition allows you to easily set up a deployment consisting of:

  • A one or three-node Volt AD cluster.
  • A single node of Volt SP to handle incoming streams of data.
  • A client node to run a test application.

It also gives you:

  • A limited-duration Volt license key.
  • Access to our developer Slack channel.

Note that while we give you a reference application, there’s nothing to stop you from replacing it with something you write yourself.

Prerequisites

Below are the things you need to use this, but don’t worry if you don’t have all of them. Contact us and we’ll work something out.

Set-Up Instructions

dockerdesktop
Get Started
LICENSE_FILE_PATH=/Users/jappleseed/license.xml
export LICENSE_FILE_PATH
git clone https://github.com/VoltDB/TollCollectDemo
cd TollCollectDemo
mvn clean package
cd target/dev-edition-app-1.0-SNAPSHOT/dev-edition-app
docker compose up

This demo simulates a vehicle tolling system. The GitHub repo is open, so you can see all the code yourself if you want. 

  • ProcessPlate is a Volt procedure that takes information about a car passing a toll sensor and performs a series of calculations to charge the vehicle owner.
  • TollCollectStream defines a Volt stream sequence that generates toll entries and uses a pipeline to route them to ProcessPlate.
  • The demo more or less runs itself. Out of the box there are two things you can change:
    Transactions per second can be changed by updating ‘tps’ in voltsp-config.yaml, and restarting. The amount of RAM used can be changed by issuing the SQL statement in set_keepminutes.sql. You can change the value by pasting the code into the SQL window of Volt Management Center:
set keepminutes
tollcollect
voltdb
voltsp
IMG 2549
docker compose down --volumes

Things You Can Play With

  • Transactions per second can be changed by updating ‘tps’ in voltsp-config.yaml, and restarting.
  • The amount of RAM used can be changed by issuing the SQL statement in set_keepminutes.sql. You can change the value by pasting the code into the SQL window of Volt Management Center:

Questions?

For technical assistance, please join our Developer Edition Slack support channel and share your questions with us there.
For non-technical inquiries or to discuss alternative ways to evaluate the Volt Active Data Platform, please contact us at deveditionsupport@voltactivedata.com.