Architectures for Consuming events: Survey

satya - 12/17/2023, 3:53:01 PM

What is azure data explorer?

What is azure data explorer?

Search for: What is azure data explorer?

satya - 12/17/2023, 4:01:40 PM

Some examples of event driven architecture usecases

  1. IoT (Internet of Things) Applications: Event-driven architectures are extensively used in IoT scenarios, where devices generate events (sensor readings, status updates) that trigger real-time processing and actions.
  2. E-commerce and Retail: Order processing, inventory management, and customer interactions in e-commerce platforms often utilize event-driven architectures for scalability and responsiveness.
  3. Financial Services: Fraud detection systems use event streams to analyze transactions in real time, identifying and responding to potentially fraudulent activities.
  4. Healthcare: Patient monitoring, health record updates, and real-time alerts in healthcare systems benefit from event-driven architectures for timely responses and data synchronization.
  5. Telecommunications: Call detail record (CDR) processing, network monitoring, and automated responses to network events are common in the telecommunications industry.
  6. Logistics and Supply Chain: Tracking shipments, managing inventory, and coordinating logistics operations involve event-driven systems to handle real-time updates and changes.
  7. Media and Entertainment: Content delivery networks (CDNs) leverage event-driven architectures to efficiently distribute and update content, adapting to changing demand dynamically.
  8. Social Media Platforms: Real-time notifications, updates, and user interactions on social media platforms rely on event-driven models for responsiveness and scalability.
  9. Gaming: Online gaming platforms use event-driven architectures for handling in-game events, matchmaking, and real-time player interactions.
  10. Energy and Utilities: Smart grid applications use event-driven systems to monitor and manage energy distribution, detect faults, and respond to changes in demand.
  11. Travel and Hospitality: Booking systems, reservation updates, and travel itinerary management benefit from event-driven architectures to provide timely information to users.
  12. Manufacturing: Predictive maintenance in manufacturing plants uses event-driven systems to monitor equipment health in real time and schedule maintenance proactively.
  13. Government and Public Services: Emergency response systems use event-driven architectures to process and respond to events such as natural disasters, accidents, or public safety incidents.
  14. Education Technology: Learning management systems (LMS) and educational platforms use event-driven architectures to handle user interactions, content updates, and progress tracking.

satya - 12/17/2023, 4:08:48 PM

Azure list of event streaming tools

  1. Azure Event Hubs
  2. Azure Service Bus
  3. Azure Functions
  4. Azure Logic Apps
  5. Azure Stream Analytics
  6. Azure Event Grid
  7. Azure Durable Functions
  8. Azure Notification Hubs
  9. Azure Data Explorer (KustoDB)
  10. Azure Storage Queues
  11. Azure IoT Hub
  12. Azure Event Store (Preview)

satya - 12/17/2023, 6:02:07 PM

Features of Azure data explorer

  1. Data Ingestion: Azure Data Explorer boasts a proprietary data ingestion mechanism that excels in handling real-time streaming data. This feature is pivotal for seamlessly managing and processing vast volumes of data generated by diverse sources such as applications, devices, and sensors.
  2. Storage Layer: At the heart of the platform is a storage layer meticulously optimized for columnar storage. This choice ensures the efficient and rapid retrieval of data during analytical queries, a critical aspect of its capability to handle complex and large-scale analytics tasks.
  3. Query Engine: Driving the analytics capabilities is a proprietary query engine fine-tuned specifically for executing queries written in the Kusto Query Language (KQL). This engine provides a powerful and expressive tool for real-time analytics, facilitating the extraction of meaningful insights from the stored data.
  4. Cluster Management: The platform's cluster management component plays a foundational role in orchestrating clusters of nodes. These clusters, distributed and elastic, can dynamically adjust to varying workloads, ensuring scalability to meet the demands of real-time data processing and analysis.
  5. Indexing Mechanisms: Azure Data Explorer incorporates indexing mechanisms that significantly contribute to query performance. These mechanisms allow for quick retrieval of specific data points without the need to scan the entire dataset, enhancing the overall efficiency of analytical processes.
  6. Security Integration: Security is a top priority, and Azure Data Explorer seamlessly integrates with Azure Active Directory for robust authentication and authorization. Encryption mechanisms are employed for both data in transit and at rest, ensuring the confidentiality and integrity of the data being processed and stored.
  7. Monitoring and Management Tools: The platform provides a suite of monitoring and management tools that offer insights into cluster performance, query execution, and data ingestion rates. These tools empower administrators and users to effectively manage and optimize their Azure Data Explorer deployments. Additionally, integration with Azure Monitor and Azure Security Center extends monitoring and security capabilities.
  8. Global Distribution: Designed to be globally distributed, Azure Data Explorer allows clusters to be deployed across multiple Azure regions. This flexibility enables organizations to analyze data close to its source or distribute workloads for global applications, supporting diverse use cases across industries.

satya - 12/17/2023, 6:02:44 PM

What is the architecture of Azure Data Explorer and its components

What is the architecture of Azure Data Explorer and its components

Search for: What is the architecture of Azure Data Explorer and its components

satya - 12/17/2023, 6:11:37 PM

Key components

  1. data ingestion,
  2. query,
  3. visualization,
  4. and management.

satya - 12/17/2023, 6:13:52 PM

Key features

  1. Analyzing structured, semi-structured, and unstructured data
  2. Across time series,
  3. Using Machine Learning,
  4. extract key insights,
  5. spot patterns and trends,
  6. Create forecasting models.

satya - 12/17/2023, 6:14:33 PM

Approach

  1. A traditional relational model,
  2. organizing data into tables with strongly-typed schemas.
  3. Tables are stored within databases,
  4. and a cluster can manage multiple databases.

satya - 12/17/2023, 6:14:56 PM

Useful for

  1. log analytics,
  2. time series analytics,
  3. IoT,
  4. and general-purpose exploratory analytics.

satya - 12/17/2023, 6:22:51 PM

When is ADX not suitable

When is ADX not suitable

Search for: When is ADX not suitable

satya - 12/17/2023, 6:24:17 PM

When is ADX not suitable

  1. ETL
  2. Complex ETL
  3. Medium size data
  4. Lot of updates as opposed to appends

satya - 12/17/2023, 6:26:29 PM

When is ADX not suitable

When is ADX not suitable

Search for: When is ADX not suitable

satya - 12/17/2023, 6:29:43 PM

When is ADX not suitable

  1. Real time analytics
  2. Time series
  3. Logs
  4. Operational
  5. Geo spatial
  6. Scaling

satya - 12/17/2023, 6:31:34 PM

Real time analytics

  1. Real-time analytics involves the analysis of data as it is generated or received, providing immediate insights and actionable information.

satya - 12/17/2023, 8:21:19 PM

In what typical ways data is ingested in real time analytics?

  1. Message queues
  2. Logs
  3. Events

satya - 12/17/2023, 8:24:03 PM

What kind of optimizations are needed for querying real time analytical data?

What kind of optimizations are needed for querying real time analytical data?

Search for: What kind of optimizations are needed for querying real time analytical data?

satya - 12/17/2023, 8:25:07 PM

What are the essential elements of real time query engines? How do they work?

What are the essential elements of real time query engines? How do they work?

Search for: What are the essential elements of real time query engines? How do they work?

satya - 12/17/2023, 8:29:03 PM

What is the nature of real time query engines?

What is the nature of real time query engines?

Search for: What is the nature of real time query engines?

satya - 12/17/2023, 9:08:29 PM

Popular real time analytics systems

  1. Apache Flink
  2. Kafka Streaming
  3. Apache Spark Structured streaming
  4. Amazon Kinesis
  5. Azure stream analytics

- 12/17/2023, 9:11:03 PM

Two kinds of analytics

  1. Ingestion time analytics
  2. (Post) Query time analytics (lake, database, warehouse)

annonymous - 12/17/2023, 9:13:51 PM

Can delta lake be used as an input stream to Flink?

Can delta lake be used as an input stream to Flink?

Search for: Can delta lake be used as an input stream to Flink?

- 12/17/2023, 9:18:35 PM

When delta lake is used for streaming analytics, is that done during ingesting of data into the delta lake or after the data is made persistent in the delta lake?

When delta lake is used for streaming analytics, is that done during ingesting of data into the delta lake or after the data is made persistent in the delta lake?

Search for: When delta lake is used for streaming analytics, is that done during ingesting of data into the delta lake or after the data is made persistent in the delta lake?

satya - 12/17/2023, 9:25:07 PM

what are the differences between event time, processing time, and ingestion time?

what are the differences between event time, processing time, and ingestion time?

Search for: what are the differences between event time, processing time, and ingestion time?

satya - 12/17/2023, 9:29:57 PM

What is the difference between interactive analytics and real time analytics?

What is the difference between interactive analytics and real time analytics?

Search for: What is the difference between interactive analytics and real time analytics?

satya - 12/17/2023, 9:41:24 PM

Process of ADX

  1. Ingest data from Kafka into ADX
  2. Define target ADX table where you want to store the kafka data
  3. Define mappings
  4. Define transformations or enrichments
  5. Then query data in ADX tables using KQL

satya - 12/17/2023, 9:42:29 PM

In summary

  1. In summary, while tables in ADX can represent data from various sources, including external ones like Kafka,
  2. the actual ingestion process and mapping configurations need to be defined.
  3. Once the data is ingested,
  4. you can use KQL to query and analyze it in ADX.

satya - 12/17/2023, 9:46:29 PM

Equivalent to Flink in Azure: Azure Stream Analytics

Equivalent to Flink in Azure: Azure Stream Analytics

satya - 12/17/2023, 9:53:48 PM

If I need complex streaming analytics which is a better tool?

  1. Azure Stream analytics: Simple
  2. Flink: Advanced processing
  3. ADX: Ad hoc, Interactive analytics over large data

satya - 12/26/2023, 11:15:50 AM

ADC architecture diagram

satya - 12/26/2023, 11:27:46 AM

ADE: Home page

ADE: Home page

satya - 12/26/2023, 11:29:33 AM

What it is for from their home page

  1. Fully managed data analytics service
  2. Real-time and time-series analysis on large volumes of data streams
  3. Business activities,
  4. human operations,
  5. applications,
  6. websites,
  7. Internet of Things (IoT) devices

satya - 12/26/2023, 11:30:31 AM

What you can do

  1. Ask questions
  2. iteratively explore data on the fly
  3. improve services and products,
  4. enhance customer experiences,
  5. monitor devices,
  6. and boost operations.
  7. Quickly identify patterns, anomalies, and trends in your data.
  8. Explore new questions and get answers in minutes.
  9. Run as many queries as you need,
  10. optimized cost structure.

satya - 12/26/2023, 11:32:26 AM

ADE Documentation

ADE Documentation

satya - 12/26/2023, 11:51:34 AM

How storage works in ADE

How storage works in ADE

satya - 12/26/2023, 12:19:04 PM

An example of data loading into ADE from DF using an ADE component

An example of data loading into ADE from DF using an ADE component

satya - 12/26/2023, 12:19:39 PM

Here is what this looks like

satya - 12/26/2023, 12:39:47 PM

Essentials of ADX

  1. It acts like a logical database managing its own storage
  2. Its abbreviation is ADX
  3. Leverages Azure Data Lake Storage as its underlying storage solution.
  4. ADX focuses on providing powerful analytics and querying capabilities on top of that stored data.
  5. ADX has apis and dedicated connectors that acts as "sinks" to ingest data from various sources including ADF
  6. ADX as it acts like a database it has similarly libraries to ingest and query data
  7. KQL is similar to SQL but tailored to the needs of analytics on semi-structured and structured data.
  8. KQL is particularly well-suited for working with time-series data. It includes functions and operators for handling timestamps, time intervals, and performing time-based aggregations.
  9. KQL is adept at working with semi-structured data, such as JSON. It supports extracting, querying, and transforming data in JSON format.
  10. Users can define custom functions and operators in KQL, providing a level of extensibility for specific use cases.
  11. UI Tools: Kusto Explorer (Azure Data explorer Web UI - primary tool)
  12. ADX (Jupyter) Explorer: Notebooks
  13. Azure Data explorer in Azure portal

satya - 12/26/2023, 2:24:21 PM

Kusto Explorer UI

Show images for: Kusto Explorer UI

satya - 12/26/2023, 2:29:20 PM

Kusto explorer

satya - 12/26/2023, 2:32:47 PM

Example dashboards

satya - 12/26/2023, 2:41:52 PM

How does ADX data can be used by other tools

  1. Excel - dedicated connector
  2. Grafana - dedicated plugin
  3. Kibana - K2bridge connector
  4. ODBC connector
  5. Tableau - ODBC connector
  6. Qlik - ODBC
  7. Sisense - JDBC
  8. Redash - dedicated connector

satya - 12/26/2023, 2:43:16 PM

What is the difference between Kusto Explorer and ADX web UI?

What is the difference between Kusto Explorer and ADX web UI?

Search for: What is the difference between Kusto Explorer and ADX web UI?

satya - 12/26/2023, 3:18:18 PM

ADX web UI?

Show images for: ADX web UI?

satya - 12/26/2023, 3:18:47 PM

Example

satya - 12/26/2023, 3:27:32 PM

A real time analytics usecase of web logs

A real time analytics usecase of web logs

satya - 12/26/2023, 3:34:24 PM

Grafana, Kibana, and PowerBI

  1. Grafana: Widely used for monitoring and visualizing time-series data from various sources. Often integrated with specific data stores or monitoring solutions. Highly customizable with a focus on real-time monitoring. Flexible alerting capabilities for monitoring metrics.
  2. Kibana: Strong in log analytics and real-time visualization within the Elasticsearch ecosystem. Often integrated with specific data stores or monitoring solutions. Customizable within the Elastic Stack ecosystem. Alerting features are often extended with Elasticsearch Watcher.
  3. Power BI: Well-suited for business intelligence, data analysis, and reporting with a focus on visualizations and insights.

satya - 12/26/2023, 3:36:45 PM

How does real time analytics work with ADX?

  1. Ingest the data
  2. Write reports using KQL
  3. Send the output to required destinations
  4. Schedule KQL jobs
  5. Real time dashboarding of KQL output via Grafana or PowerBI
  6. Write KQL functions to curate the data into destination tables

satya - 12/26/2023, 3:38:09 PM

What are some tools that can scehdule KQL jobs

  1. Azure Logic Apps
  2. Azure Dashboards
  3. Kibana, PowerBI
  4. ADF
  5. Azure Automation
  6. ADX scheduled queries

satya - 12/26/2023, 5:56:35 PM

Azure Data Explorer Notebooks (ADX Explorer)

Show images for: Azure Data Explorer Notebooks (ADX Explorer)

satya - 12/26/2023, 6:00:24 PM

MS Learn: Use a Jupyter Notebook and kqlmagic extension to analyze data in Azure Data Explorer

MS Learn: Use a Jupyter Notebook and kqlmagic extension to analyze data in Azure Data Explorer

satya - 12/26/2023, 6:21:56 PM

ADX for monitoring and dashboards

  1. Azure Monitor: Azure's centralized platform for monitoring and managing Azure resources, providing dashboards and alerts for ADX.
  2. Grafana: Open-source platform for monitoring and observability, used for creating interactive dashboards with ADX data.
  3. Kibana: Elasticsearch's visualization tool commonly used for log and metric visualization, integrated with ADX for data analysis and visualization.
  4. Power BI: Microsoft's business intelligence tool, integrated with ADX to create reports and dashboards for data analysis.
  5. Tableau: Business intelligence and analytics platform integrated with ADX for visualizations and dashboards.
  6. Microsoft Azure Dashboards: Azure's built-in dashboards providing a customizable and interactive way to visualize ADX data in real-time.
  7. GCP Data Studio: Google Cloud Platform's data visualization tool, integrated with ADX for creating interactive dashboards.
  8. Custom Web Applications: ADX's REST APIs enable developers to build custom web applications tailored for real-time monitoring and visualization.

satya - 12/26/2023, 6:42:32 PM

What is real time analytics

  1. It is the process of analyzing and making sense of data as it is generated or received, providing insights and actionable information instantly or near-instantly.
  2. It involves the rapid processing and interpretation of data streams to extract valuable insights, allowing organizations to respond quickly to changing conditions, make informed decisions, and take immediate actions.

satya - 12/27/2023, 9:42:20 AM

KQL Homepage

KQL Homepage