Skip to content

compare stream processing engines in terms of code, features, and performances

License

Notifications You must be signed in to change notification settings

boontadata/boontadata-streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boontadata - Streams

Introduction

An IOT devices simulator sends data to Kafka broker. It also writes its version of the truth to a Cassandra database.

Stream engines (Spark Streaming, Flink, Kafka Streams, Storm, etc.) consume data from the broker and write their version of the truth to the same Cassandra database.

This repo is meant to be run on Docker hosts and use open source software.

Some code compares the results between the simulator's version of the truth and the stream engines versions.

The goals are to have code that shows how to do with different frameworks, compare the capabilities of different engines.

Additional goals include comparing performances, resilience to node failures, ...

... more

In which state is the project right now

You can consult typical execution logs.

An injector sends data to Kafka. It may send duplicates, send out of order, or send late. The injector also aggregates what it sent and saves its version of the truth to Cassandra. One injector simulates one device. You can use several instances to simulate several devices. Compare.py compares what the injector sent from a device time and a send time perspective.

The following streaming engine scenarios (cf code/runscenario.sh for more) are available:

  • flink1: consume from Apache Flink with time windows calculated based on processing time
  • flink2: consume from Apache Flink with time windows calculated based on event time (extracted from the messages)
  • spark1: consume from Apache Spark Streaming with time windows calculated based on processing time

Contribute

This is, and will be, a work in progress. If you are interested in contributing, please tweet us @boontadata or just leverage GitHub!

Why boontadata?

You may want to search for "Boonta Eve Classic".

About

compare stream processing engines in terms of code, features, and performances

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published