Thursday, 14 December 2017

Flink Streaming Versus Spark Streaming

This blog will clear your doubt to some extent over Spark Streaming and Flink Streaming 


In Spark stream, we use batch interval for nearly realtime microbatch processing
Spark needs to schedule a new job for each micro batch it processes. And this scheduling overhead in quite high, such that Spark cannot handle very low batch intervals like 100ms or 50ms efficiently and thus throughput goes down for those small batches.


Flink is  true streaming systems, thus deploy the job only once at startup (and the job runs continuously until explicitly shut down by the user) and thus they can handle each individual input record without overhead and very low latency.


Furthermore for Flink, JVM main memory is not a limitation because Flink can use off-head memory as well as write to disk if main memory is too small.


Spark latest version support project Tungsten, can also use off-heap memory, but they can spill to disk to some extent -- and is limited to JVM memory.


Please share your views in comment section . 

Tuesday, 12 December 2017

Visualization tools - Dashbuilder


Dashbuilder is a Java-based dashboard tool .


 Why Dashbuilder ? It supports a variety of different visualization tools and libraries out of the box.

 It can be used to create either static or real-time dashboards with data coming from a variety of sources.

It allows non-technical users to visually create business dashboards.

Dashboard data can be extracted from heterogeneous sources of information such as JDBC databases or regular text files.

Who owns Dashbuilder ?

Its a Open source free software , now with Apache 2

Code it at GitHub .

How to get/download Dashbuilder ?

Easy steps are below :

1. First check whether Java installs on your machine ,if not please install 
and check java -version




3. Unzip the dashbuilder-demo.zip 

you will see below content in that folder





Open the command window and submit start-demo.sh for Linux and start-demo.bat for Windows users .

Linux :
$ cd /dashbuilder-demo
$ ./start-demo.sh 

Windows :
C:\ cd dashbuilder-demo

C:\start-demo.bat




4. Go to your internet browser and type localhost:8080/dashbuilder

You will see below login page will appears :


 Username : root
Password : root 

After successful login you will see first page of this tool . 




5. Now you can view already saved dashboard from csv files/or text file .



Explore it now!!

Please try and share your views on this Virtualization Tools . In coming days , we will come with many Virtualization tools . \