Featured Post

Python Set Operations Explained: From Theory to Real-Time Applications

Image
A  set  in Python is an unordered collection of unique elements. It is useful when storing distinct values and performing operations like union, intersection, or difference. Real-Time Example: Removing Duplicate Customer Emails in a Marketing Campaign Imagine you are working on an email marketing campaign for your company. You have a list of customer emails, but some are duplicated. Using a set , you can remove duplicates efficiently before sending emails. Code Example: # List of customer emails (some duplicates) customer_emails = [ "alice@example.com" , "bob@example.com" , "charlie@example.com" , "alice@example.com" , "david@example.com" , "bob@example.com" ] # Convert list to a set to remove duplicates unique_emails = set (customer_emails) # Convert back to a list (if needed) unique_email_list = list (unique_emails) # Print the unique emails print ( "Unique customer emails:" , unique_email_list) Ou...

10 Tricky Apache-Storm Interview Questions

The storm is a real-time computation system. It is a flagship software from Apache foundation. Has the capability to process in-stream data. You can integrate traditional databases easily in the Storm. The tricky and highly useful interview questions given in this post for your quick reference. Bench mark for Storm is a million tuples processed per second per node.

Interview Questions

Tricky Interview Questions

1) Real uses of Storm?

A) You can use in real-time analytics, online machine learning, continuous computation, distributed RPC, ETL

2) What are different available layers on Storm?
  • Flux
  • SQL
  • Streams API
  • Trident 
3)  The real use of SQL API on top of Storm?

A) You can run SQL queries on stream data

4) Most popular integrations to Storm?
  1. HDFS
  2. Cassandra
  3. JDBC
  4. HIVE
  5. HBase
5) What are different possible Containers integration with Storm?
  1. YARN
  2. DOCKER
  3. MESOS
6) What is Local Mode?

A) Running topologies in the Local server we can say as Local Mode.

7) Where all the Events Stored in Storm?
A) Event Logger mechanism saves all events

8) What are Serializable data types in Storm?
A) Storm can serialize primitive types, strings, byte arrays, ArrayList, HashMap, and HashSet

9) What are Hooks in Storm?
A) You can place the custom code in Storm and you can run events many times

10) What is the Joining of Streams?
A) Streams from different sources you can Join on a particular join condition

References

Apache Spark Vs Apache Storm Vs Tableau

  • The storm is super past in stream processing engine for Big data analytics
  • Tableau is Data warehousing presentation tool
  • Spark is Cluster Maintenance and Fault Tolerance
Apache storm

  References

Comments

Popular posts from this blog

SQL Query: 3 Methods for Calculating Cumulative SUM

Big Data: Top Cloud Computing Interview Questions (1 of 4)

5 SQL Queries That Popularly Used in Data Analysis