Java Samples
All samples here use one or more Java clients and may have one or more web pages.
Voltcache
Demonstrates how to use VoltDB as an in-memory cache. Using VoltDB as a cache provides improvement to both read and write performance, while adding transactional consistency and durability.
Flickr Feed Reader
Reads a real Flickr JSON feed and stores the results in Volt. Volt extracts all the tags associated with the image and creates a leaderboard. The application queries Flickr about once per second to avoid feed limits and displays the results of the volt query every two seconds.
Expectation Example
VoltDB stored procedures can have "expectations" that let you define the minimum expected number of results for a given query. Expectations can greatly simplify complicated stored procedure error checking code making the code much more readable. See the "Simplify Your Stored Procedure Logic with Expectations" VoltDB blog post for more details.
Games
An online gaming platform simulation that tracks user session data, player scores, and leaderboards.
Stored Value Cards
An app that simulates high velocity transaction processing of pre-authorization, purchase, and balance transfer transactions on debit or gift cards, while maintaining fully consistent balances.
Demographics Analytics
An app that demonstrates real-time analytics against a live data stream of user data. The data is broken down into demographic groups which can be viewed using a browser.
Voltkv
Demonstrates how to create a Key-Value Store using VoltDB. Key-Value Stores are popular for web applications because of their simplicity, performance, and scalability. Using VoltDB to create a Key-Value Store adds transactions, durability, and automatic partitioning without sacrificing the other characteristics.
Apache Log Analytics
An app that generates and stores an apache log file. The data is setup to save the raw log data and a refined version. The refined version keeps track of assets and the size for a given interval so that it can be used to track hit counts and bandwidth utilization.
Tweet Geolocation Simulator
An application that uses a thematic map to show the distribution of hashtags across the globe.
Stock Orders
An app that demonstrates fast ingestion of equities orders and performs realtime analytics of top symbols and accounts by volume. (Used in our Capital Markets webinars)
Upsert Sample
Demonstrates a simple "upsert" stored procedure using multidimensional demographic information to create specific user profile types that can later be targeted for direct ad placements.See the "Upserts in VoltDB" VoltDB blog post for more details.
More Coming
Many more applications coming soon. You'll soon see all of our code from our blogs appear here too.
Do you have a sample that you used to test VoltDB? We'd love to add your sample application to this repository. Just fork the repository and send us a pull request. We organize our code by language of sample implementation and the example name. We'd love to link your blog post to it too!
Still have questions? We're here to help.
Call +1.978.528.4660 or drop us a line at info@voltdb.com
The Tao of VoltDB
The 5 Principles of VoltDB
VoltDB Technosphere
Products and Solutions
Technical Support
Key Features
Download VoltDB
No Limits
VoltDB Application Gallery
Infinite Possibilities
VoltBuilder Program
