Skip to content

This project demonstrates the use of Vert.x, a high performance reactive framework for the JVM. It focuses on how it can be used to stream data in real-time to a web frontend.

Notifications You must be signed in to change notification settings

mchinaloy/data-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

data-visualization

This project demonstrates the use of Vert.x, a high performance reactive framework for the JVM. It focuses on how it can be used to stream data in real-time to a web frontend.

  1. Frontend starts and subscribes to two event buses
  2. Backend begins to read a 4MB input file in 8 byte chunks to save memory
  3. Processes and formats the data into JSON for the frontend
  4. Publishes the JSON objects over the Vert.x event buses to be displayed

The frontend contains two charts:

  1. Heatmap represents the values of each 8 byte chunk read from file and then evaluated as an integer. For example 00001011 = 11. The BE then keeps a count of how many times this value has occurred (map will remember at most 50 distinct values).
  2. Area chart, plots the number of 0's versus the number of 1's that have occurred in the most recent 8 byte chunk read from the file.

Technologies used include:

Epoch Charts / Bootstrap / Vert.x / Spring Boot

=================== Running locally

Simply checkout the project and then run:

mvn spring-boot:run

About

This project demonstrates the use of Vert.x, a high performance reactive framework for the JVM. It focuses on how it can be used to stream data in real-time to a web frontend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published