Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Big Data Engineers as DJs

DZone's Guide to

Big Data Engineers as DJs

Big data engineers are basically DJs. We transform different sources of records, work in real-time, try to keep a crowd happy, and use special gear. Can you dig it?

· Big Data Zone
Free Resource

NoSQL & Big Data Integration through standard drivers (ODBC, JDBC, ADO.NET). Free Download

At one of the conferences I went to recently, Pentaho had an awesome t-shirt that said "Data DJ." That got me thinking that data engineers are basically like DJs.

We mix different sources of records, transform streams, work in real-time, try to keep a crowd happy, and use special gear.

The gear we use to mix the records is Apache NiFi. Some of the music (data) streams from Kafka, JMS, file systems, website APIs, and other sources.

Once you get the dance floor moving, you don't want to skip a beat, have a long break of silence, or run a song much faster than the previous song. You have to mix them smoothly together, and there are many variables to account for.

This is exactly like data engineering.    

Best Practices for a Good Night of Big Data Dancing

Here are ten practices to help a Big Data DJ ensure good night of big data dancing!

  1. Use one tool to ingest all of your streams (i.e. NiFi as your mixing console).

  2. Use schemas to evolve data as it changes without changing code (NiFi, Schema Registry).

  3. Mix them together and output to one common format (Apache ORC).

  4. Store them for later use (HDFS or S3).

  5. Store a playlist for fast access (HBase).

  6. Audit all your streams in case people don't believe your playlist (NiFi Data Provenance).

  7. Add SQL everywhere (thanks, Apache Calcite). SQL to QueryRecords as they come in so that you can filter and change results.

  8. Since it's ORC, NiFi will give you a quick Hive schema automagically so that you can query with Hive LLAP, Spark SQL, Zeppelin, and all your other crowd favorites (Apache Hive LLAP).

  9. Export the NiFi XML Template (Let's share the magic set!).

  10. Rinse and repeat. Successful night! Let's do it again next Friday.

I took this seriously and actually used NiFi to play some classical songs — not exactly dance floor fillers, but it worked for a meetup.

Okay, so that's not dance-y enough. I can trigger Sonic Pi to make custom beats!

Now once you are happy with your DJing, you are going to think you can be a music producer. That's when Part 2 on adding Streaming Analytics Manager (SAM) to your set will come in!

Image title

Can you dig it?

If you disagree or have another analogy, please comment.

Image title

Easily connect any BI, ETL, or Reporting tool to any NoSQL or Big Data database with CData Drivers (ODBC, JDBC, ADO.NET). Download Now

Topics:
big data ,nifi ,apache ,hadoop

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}