SlideShare une entreprise Scribd logo
1  sur  16
Batch Processing
•Batch processing processes huge data volumes within a specific time after production.
•Batch processing compiles a large volume of data all at once.
•Processing data size if finite and specified.
•Input graph in batch processing is static.
Stream Processing
•Stream processing processes continuous data in real-time as it is produced.
•In-stream processing is done in intervals as soon as data is produced.
•Stream processing data size is unknown and infinite.
•In-stream processing, the input graph is dynamic.
Batch Processing vs Stream Processing
Batch processing is done on a large data batch, and the latency can be in
minutes, days, or hours. It requires the most storage and processing resources
to process big data batches.
The latency of real-time data processing is in milliseconds and seconds, and it
processes the current data packet or several of them. It requires less storage for
processing recent or current data pocket sets and has fewer computational
requirements.
Streaming data analyzes continuous data streams, and the latency is guaranteed
in milliseconds. It requires current data packet processing; hence the processing
resources must be alert to meet guarantees of real-time processing.
Batch Processing vs Stream Processing
Batch Processing vs Stream Processing
In Batch Processing it processes over all or most of the data but In
Stream Processing it processes over data on rolling window or most
recent record. So Batch Processing handles a large batch of data
while Stream processing handles Individual records or micro batches
of few records.
In the point of performance the latency of batch processing will be in
a minutes to hours while the latency of stream processing will be in
seconds or milliseconds.
What is Batch Processing?
Batch processing refers to the processing of blocks of data that have already been
stored over a period of time. For example, processing transactions that have been
performed by a financial firm in a week. This data contains millions of records for a
day that can be stored as a file or record. The particular file will undergo processing
at the end of the day for various analyses that the firm requires and it will be a time
taking process.
Batch processing is ideal for very large data sets and projects that involve
deeper data analysis. The method is not as desirable for projects that involve speed
or real-time results. Additionally, many legacy systems only support batch processing.
Batch Processing Use cases?
Batch processing is used in a variety of scenarios, from simple data transformations
to a more complete ETL pipeline. In the context of big data, batch processing may
operate over very large data sets, where the computation takes a significant amount
of time. It works well in situations where you don’t need real-time analytics results or
when it is more important to process large volumes of data to get detailed insights
rather than to get fast analytics results.
•Real-time transfers and results are not crucial
•Large volumes of data need to be processed
•Data is accessed in batches as opposed to in streams
•Complex algorithms must have access to the entire batch
Technology Choice for Batch Processing
1.Azure Synapse Analytics: It is an analytics service that binds enterprise data
warehousing and Big Data analytics.
2.Azure Data Lake Analytics: It is an on-demand analytics job service that is used
to simplify big data
3.HDInsight: It is an open-source analytics service in the cloud that consists of open-
source frameworks such as Hadoop, Apache Spark, Apache Kafka, and more.
4.Azure Databricks: It allows us to integrate with open-source libraries and provides
the latest version of Apache Spark.
5.Azure Distributed Data Engineering Toolkit: It is used for provisioning on-
demand Spark on Docker clusters in Azure.
What is Stream Processing
Stream processing is a big data technology that allows us to process data in real-time
as they arrive and detect conditions within a small period of time from the point of
receiving the data. It allows us to feed data into analytics tools as soon as they get
generated and get instant analytics results.
Stream processing is ideal for projects that require speed and nimbleness. The
method is less relevant for projects with high data volumes or deep data analysis.
Stream processing is useful for tasks like fraud detection, social media sentiment
analysis, log monitoring, analyzing customer behavior, and more.
Technology Choices for Stream Processing
1.Azure Stream Analytics: It is real-time analytics and event-processing engine
designed to analyze and process high volumes of fast streaming data from multiple
sources.
2.HDInsight with Storm: Apache Storm is a distributed, fault-tolerant, and open-
source computation system which is used to process streams of data in real-time with
Apache Hadoop.
3.Apache Spark in Azure Databricks
4.Azure Kafka Stream APIs
5.HDInsight with Spark Streaming: Apache Spark Streaming provides data stream
processing on HDInsight Spark clusters.
Batch Processing vs Stream Processing
•The batch processing model requires a set of data that is collected over time
while the stream processing model requires data to be fed into an analytics tool,
often in micro-batches, and in real-time.
•The batch Processing model handles a large batch of data while the Stream
processing model handles individual records or micro-batches of few records.
•In Batch Processing, it processes over all or most of the data but in Stream
Processing, it processes over data on a rolling window or most recent record.
•From a performance point of view, the latency of the batch processing model will
be in minutes to hours while the latency of the stream processing model will be in
seconds or milliseconds.
•Batch processing is a lengthy process and is meant for large quantities of
information that aren’t time-sensitive whereas Stream processing is fast and is
meant for information that is needed immediately.
Batch Processing vs Stream processing
Batch processing is the processing of transactions in
a group or batch. There is no user interaction
required once batch processing is running. This
differentiates batch processing from transaction
processing, which involves processing transactions one
by one and requires user intervention.
Batch Processing vs Stream processing
Stream processing is the process of analyzing
streaming data in real-time. Analysts are able to
continuously monitor a stream of data to achieve
various goals.
Stream processing is a low-latency way to capture
information about events while they are in transit,
processing the data. A data stream, or event stream,
can include almost any type of information: social
network or web browsing path data, factory production
and other process data, stock or financial transaction
details, patient data in a hospital, machine learning
system data, IoT (Internet of Things).
THANK YOU
Like the Video and Subscribe the Channel

Contenu connexe

Tendances

Introduction to Stream Processing
Introduction to Stream ProcessingIntroduction to Stream Processing
Introduction to Stream Processing
Guido Schmutz
 
Intro to Big Data and NoSQL
Intro to Big Data and NoSQLIntro to Big Data and NoSQL
Intro to Big Data and NoSQL
Don Demcsak
 
Big Data Tutorial | What Is Big Data | Big Data Hadoop Tutorial For Beginners...
Big Data Tutorial | What Is Big Data | Big Data Hadoop Tutorial For Beginners...Big Data Tutorial | What Is Big Data | Big Data Hadoop Tutorial For Beginners...
Big Data Tutorial | What Is Big Data | Big Data Hadoop Tutorial For Beginners...
Simplilearn
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
Simplilearn
 

Tendances (20)

Future of Data Engineering
Future of Data EngineeringFuture of Data Engineering
Future of Data Engineering
 
Apache Kafka Architecture & Fundamentals Explained
Apache Kafka Architecture & Fundamentals ExplainedApache Kafka Architecture & Fundamentals Explained
Apache Kafka Architecture & Fundamentals Explained
 
Big data real time architectures
Big data real time architecturesBig data real time architectures
Big data real time architectures
 
Introduction to Stream Processing
Introduction to Stream ProcessingIntroduction to Stream Processing
Introduction to Stream Processing
 
Big data and Hadoop
Big data and HadoopBig data and Hadoop
Big data and Hadoop
 
Scalability, Availability & Stability Patterns
Scalability, Availability & Stability PatternsScalability, Availability & Stability Patterns
Scalability, Availability & Stability Patterns
 
What is NoSQL and CAP Theorem
What is NoSQL and CAP TheoremWhat is NoSQL and CAP Theorem
What is NoSQL and CAP Theorem
 
Intro to Big Data and NoSQL
Intro to Big Data and NoSQLIntro to Big Data and NoSQL
Intro to Big Data and NoSQL
 
Introduction to ML with Apache Spark MLlib
Introduction to ML with Apache Spark MLlibIntroduction to ML with Apache Spark MLlib
Introduction to ML with Apache Spark MLlib
 
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
 
Spark architecture
Spark architectureSpark architecture
Spark architecture
 
Big Data Tutorial | What Is Big Data | Big Data Hadoop Tutorial For Beginners...
Big Data Tutorial | What Is Big Data | Big Data Hadoop Tutorial For Beginners...Big Data Tutorial | What Is Big Data | Big Data Hadoop Tutorial For Beginners...
Big Data Tutorial | What Is Big Data | Big Data Hadoop Tutorial For Beginners...
 
Simplify CDC Pipeline with Spark Streaming SQL and Delta Lake
Simplify CDC Pipeline with Spark Streaming SQL and Delta LakeSimplify CDC Pipeline with Spark Streaming SQL and Delta Lake
Simplify CDC Pipeline with Spark Streaming SQL and Delta Lake
 
Big data Hadoop presentation
Big data  Hadoop  presentation Big data  Hadoop  presentation
Big data Hadoop presentation
 
The Top Five Mistakes Made When Writing Streaming Applications with Mark Grov...
The Top Five Mistakes Made When Writing Streaming Applications with Mark Grov...The Top Five Mistakes Made When Writing Streaming Applications with Mark Grov...
The Top Five Mistakes Made When Writing Streaming Applications with Mark Grov...
 
Trino: A Ludicrously Fast Query Engine - Pulsar Summit NA 2021
Trino: A Ludicrously Fast Query Engine - Pulsar Summit NA 2021Trino: A Ludicrously Fast Query Engine - Pulsar Summit NA 2021
Trino: A Ludicrously Fast Query Engine - Pulsar Summit NA 2021
 
Databricks Platform.pptx
Databricks Platform.pptxDatabricks Platform.pptx
Databricks Platform.pptx
 
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
 
Open core summit: Observability for data pipelines with OpenLineage
Open core summit: Observability for data pipelines with OpenLineageOpen core summit: Observability for data pipelines with OpenLineage
Open core summit: Observability for data pipelines with OpenLineage
 
Introduction and Overview of BigData, Hadoop, Distributed Computing - BigData...
Introduction and Overview of BigData, Hadoop, Distributed Computing - BigData...Introduction and Overview of BigData, Hadoop, Distributed Computing - BigData...
Introduction and Overview of BigData, Hadoop, Distributed Computing - BigData...
 

Similaire à Batch Processing vs Stream Processing Difference

Introduction to Stream Processing
Introduction to Stream ProcessingIntroduction to Stream Processing
Introduction to Stream Processing
Guido Schmutz
 
Big data – can it deliver speed and accuracy v1
Big data – can it deliver speed and accuracy v1Big data – can it deliver speed and accuracy v1
Big data – can it deliver speed and accuracy v1
GurinderG
 
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Precisely
 
Hadoop-based architecture approaches
Hadoop-based architecture approachesHadoop-based architecture approaches
Hadoop-based architecture approaches
Miraj Godha
 
Real-Time Analytics With StarRocks (DWH+DL).pdf
Real-Time Analytics With StarRocks (DWH+DL).pdfReal-Time Analytics With StarRocks (DWH+DL).pdf
Real-Time Analytics With StarRocks (DWH+DL).pdf
Albert Wong
 
Data Care, Feeding, and Maintenance
Data Care, Feeding, and MaintenanceData Care, Feeding, and Maintenance
Data Care, Feeding, and Maintenance
Mercedes Coyle
 
Introduction to Stream Processing
Introduction to Stream ProcessingIntroduction to Stream Processing
Introduction to Stream Processing
Guido Schmutz
 
New big data architecture in hadoop.pptx
New big data architecture in hadoop.pptxNew big data architecture in hadoop.pptx
New big data architecture in hadoop.pptx
VanshGupta597842
 

Similaire à Batch Processing vs Stream Processing Difference (20)

Big data architecture
Big data architectureBig data architecture
Big data architecture
 
Introduction to Stream Processing
Introduction to Stream ProcessingIntroduction to Stream Processing
Introduction to Stream Processing
 
BD_Architecture and Charateristics.pptx.pdf
BD_Architecture and Charateristics.pptx.pdfBD_Architecture and Charateristics.pptx.pdf
BD_Architecture and Charateristics.pptx.pdf
 
Big data – can it deliver speed and accuracy v1
Big data – can it deliver speed and accuracy v1Big data – can it deliver speed and accuracy v1
Big data – can it deliver speed and accuracy v1
 
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
 
About Streaming Data Solutions for Hadoop
About Streaming Data Solutions for HadoopAbout Streaming Data Solutions for Hadoop
About Streaming Data Solutions for Hadoop
 
Hadoop-based architecture approaches
Hadoop-based architecture approachesHadoop-based architecture approaches
Hadoop-based architecture approaches
 
Real-Time Analytics With StarRocks (DWH+DL).pdf
Real-Time Analytics With StarRocks (DWH+DL).pdfReal-Time Analytics With StarRocks (DWH+DL).pdf
Real-Time Analytics With StarRocks (DWH+DL).pdf
 
A Review Paper on Big Data and Hadoop for Data Science
A Review Paper on Big Data and Hadoop for Data ScienceA Review Paper on Big Data and Hadoop for Data Science
A Review Paper on Big Data and Hadoop for Data Science
 
Why does a business need real-time data processing?
Why does a business need real-time data processing?Why does a business need real-time data processing?
Why does a business need real-time data processing?
 
Big Data Architectures @ JAX / BigDataCon 2016
Big Data Architectures @ JAX / BigDataCon 2016Big Data Architectures @ JAX / BigDataCon 2016
Big Data Architectures @ JAX / BigDataCon 2016
 
Realtime search
Realtime searchRealtime search
Realtime search
 
Harness the power of Data in a Big Data Lake
Harness the power of Data in a Big Data LakeHarness the power of Data in a Big Data Lake
Harness the power of Data in a Big Data Lake
 
Automated Analytics at Scale
Automated Analytics at ScaleAutomated Analytics at Scale
Automated Analytics at Scale
 
Big Data
Big DataBig Data
Big Data
 
Real Time Analytics
Real Time AnalyticsReal Time Analytics
Real Time Analytics
 
Stream Meets Batch for Smarter Analytics- Impetus White Paper
Stream Meets Batch for Smarter Analytics- Impetus White PaperStream Meets Batch for Smarter Analytics- Impetus White Paper
Stream Meets Batch for Smarter Analytics- Impetus White Paper
 
Data Care, Feeding, and Maintenance
Data Care, Feeding, and MaintenanceData Care, Feeding, and Maintenance
Data Care, Feeding, and Maintenance
 
Introduction to Stream Processing
Introduction to Stream ProcessingIntroduction to Stream Processing
Introduction to Stream Processing
 
New big data architecture in hadoop.pptx
New big data architecture in hadoop.pptxNew big data architecture in hadoop.pptx
New big data architecture in hadoop.pptx
 

Plus de jeetendra mandal

Plus de jeetendra mandal (20)

what is OSI model
what is OSI modelwhat is OSI model
what is OSI model
 
What is AWS Cloud Watch
What is AWS Cloud WatchWhat is AWS Cloud Watch
What is AWS Cloud Watch
 
What is AWS Fargate
What is AWS FargateWhat is AWS Fargate
What is AWS Fargate
 
Eventual consistency vs Strong consistency what is the difference
Eventual consistency vs Strong consistency what is the differenceEventual consistency vs Strong consistency what is the difference
Eventual consistency vs Strong consistency what is the difference
 
Difference between Database vs Data Warehouse vs Data Lake
Difference between Database vs Data Warehouse vs Data LakeDifference between Database vs Data Warehouse vs Data Lake
Difference between Database vs Data Warehouse vs Data Lake
 
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
Difference between Client Polling vs Server Push vs Websocket vs Long PollingDifference between Client Polling vs Server Push vs Websocket vs Long Polling
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
 
Difference between TLS 1.2 vs TLS 1.3 and tutorial of TLS2 and TLS2 version c...
Difference between TLS 1.2 vs TLS 1.3 and tutorial of TLS2 and TLS2 version c...Difference between TLS 1.2 vs TLS 1.3 and tutorial of TLS2 and TLS2 version c...
Difference between TLS 1.2 vs TLS 1.3 and tutorial of TLS2 and TLS2 version c...
 
Difference Program vs Process vs Thread
Difference Program vs Process vs ThreadDifference Program vs Process vs Thread
Difference Program vs Process vs Thread
 
Carrier Advice for a JAVA Developer How to Become a Java Programmer
Carrier Advice for a JAVA Developer How to Become a Java ProgrammerCarrier Advice for a JAVA Developer How to Become a Java Programmer
Carrier Advice for a JAVA Developer How to Become a Java Programmer
 
How to become a Software Tester Carrier Path for Software Quality Tester
How to become a Software Tester Carrier Path for Software Quality TesterHow to become a Software Tester Carrier Path for Software Quality Tester
How to become a Software Tester Carrier Path for Software Quality Tester
 
How to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software DeveloperHow to become a Software Engineer Carrier Path for Software Developer
How to become a Software Engineer Carrier Path for Software Developer
 
Events vs Notifications
Events vs NotificationsEvents vs Notifications
Events vs Notifications
 
Microservice Architecture Software Architecture Microservice Design Pattern
Microservice Architecture Software Architecture Microservice Design PatternMicroservice Architecture Software Architecture Microservice Design Pattern
Microservice Architecture Software Architecture Microservice Design Pattern
 
Event Driven Software Architecture Pattern
Event Driven Software Architecture PatternEvent Driven Software Architecture Pattern
Event Driven Software Architecture Pattern
 
Top 5 Software Architecture Pattern Event Driven SOA Microservice Serverless ...
Top 5 Software Architecture Pattern Event Driven SOA Microservice Serverless ...Top 5 Software Architecture Pattern Event Driven SOA Microservice Serverless ...
Top 5 Software Architecture Pattern Event Driven SOA Microservice Serverless ...
 
Observability vs APM vs Monitoring Comparison
Observability vs APM vs  Monitoring ComparisonObservability vs APM vs  Monitoring Comparison
Observability vs APM vs Monitoring Comparison
 
Disaster Recovery vs Data Backup what is the difference
Disaster Recovery vs Data Backup what is the differenceDisaster Recovery vs Data Backup what is the difference
Disaster Recovery vs Data Backup what is the difference
 
What is Spinnaker? Spinnaker tutorial
What is Spinnaker? Spinnaker tutorialWhat is Spinnaker? Spinnaker tutorial
What is Spinnaker? Spinnaker tutorial
 
Difference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs BitbucketDifference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs Bitbucket
 
Difference between Git and Github
Difference between Git and GithubDifference between Git and Github
Difference between Git and Github
 

Dernier

JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
Max Lee
 

Dernier (20)

TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
 
Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdf
 
A Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationA Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data Migration
 
The Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion ProductionThe Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion Production
 
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
Entropy, Software Quality, and Innovation (presented at Princeton Plasma Phys...
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdfMicrosoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in Michelangelo
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 

Batch Processing vs Stream Processing Difference

  • 1.
  • 2. Batch Processing •Batch processing processes huge data volumes within a specific time after production. •Batch processing compiles a large volume of data all at once. •Processing data size if finite and specified. •Input graph in batch processing is static. Stream Processing •Stream processing processes continuous data in real-time as it is produced. •In-stream processing is done in intervals as soon as data is produced. •Stream processing data size is unknown and infinite. •In-stream processing, the input graph is dynamic.
  • 3. Batch Processing vs Stream Processing Batch processing is done on a large data batch, and the latency can be in minutes, days, or hours. It requires the most storage and processing resources to process big data batches. The latency of real-time data processing is in milliseconds and seconds, and it processes the current data packet or several of them. It requires less storage for processing recent or current data pocket sets and has fewer computational requirements. Streaming data analyzes continuous data streams, and the latency is guaranteed in milliseconds. It requires current data packet processing; hence the processing resources must be alert to meet guarantees of real-time processing.
  • 4. Batch Processing vs Stream Processing
  • 5.
  • 6. Batch Processing vs Stream Processing In Batch Processing it processes over all or most of the data but In Stream Processing it processes over data on rolling window or most recent record. So Batch Processing handles a large batch of data while Stream processing handles Individual records or micro batches of few records. In the point of performance the latency of batch processing will be in a minutes to hours while the latency of stream processing will be in seconds or milliseconds.
  • 7. What is Batch Processing? Batch processing refers to the processing of blocks of data that have already been stored over a period of time. For example, processing transactions that have been performed by a financial firm in a week. This data contains millions of records for a day that can be stored as a file or record. The particular file will undergo processing at the end of the day for various analyses that the firm requires and it will be a time taking process. Batch processing is ideal for very large data sets and projects that involve deeper data analysis. The method is not as desirable for projects that involve speed or real-time results. Additionally, many legacy systems only support batch processing.
  • 8. Batch Processing Use cases? Batch processing is used in a variety of scenarios, from simple data transformations to a more complete ETL pipeline. In the context of big data, batch processing may operate over very large data sets, where the computation takes a significant amount of time. It works well in situations where you don’t need real-time analytics results or when it is more important to process large volumes of data to get detailed insights rather than to get fast analytics results. •Real-time transfers and results are not crucial •Large volumes of data need to be processed •Data is accessed in batches as opposed to in streams •Complex algorithms must have access to the entire batch
  • 9. Technology Choice for Batch Processing 1.Azure Synapse Analytics: It is an analytics service that binds enterprise data warehousing and Big Data analytics. 2.Azure Data Lake Analytics: It is an on-demand analytics job service that is used to simplify big data 3.HDInsight: It is an open-source analytics service in the cloud that consists of open- source frameworks such as Hadoop, Apache Spark, Apache Kafka, and more. 4.Azure Databricks: It allows us to integrate with open-source libraries and provides the latest version of Apache Spark. 5.Azure Distributed Data Engineering Toolkit: It is used for provisioning on- demand Spark on Docker clusters in Azure.
  • 10. What is Stream Processing Stream processing is a big data technology that allows us to process data in real-time as they arrive and detect conditions within a small period of time from the point of receiving the data. It allows us to feed data into analytics tools as soon as they get generated and get instant analytics results. Stream processing is ideal for projects that require speed and nimbleness. The method is less relevant for projects with high data volumes or deep data analysis. Stream processing is useful for tasks like fraud detection, social media sentiment analysis, log monitoring, analyzing customer behavior, and more.
  • 11. Technology Choices for Stream Processing 1.Azure Stream Analytics: It is real-time analytics and event-processing engine designed to analyze and process high volumes of fast streaming data from multiple sources. 2.HDInsight with Storm: Apache Storm is a distributed, fault-tolerant, and open- source computation system which is used to process streams of data in real-time with Apache Hadoop. 3.Apache Spark in Azure Databricks 4.Azure Kafka Stream APIs 5.HDInsight with Spark Streaming: Apache Spark Streaming provides data stream processing on HDInsight Spark clusters.
  • 12. Batch Processing vs Stream Processing •The batch processing model requires a set of data that is collected over time while the stream processing model requires data to be fed into an analytics tool, often in micro-batches, and in real-time. •The batch Processing model handles a large batch of data while the Stream processing model handles individual records or micro-batches of few records. •In Batch Processing, it processes over all or most of the data but in Stream Processing, it processes over data on a rolling window or most recent record. •From a performance point of view, the latency of the batch processing model will be in minutes to hours while the latency of the stream processing model will be in seconds or milliseconds. •Batch processing is a lengthy process and is meant for large quantities of information that aren’t time-sensitive whereas Stream processing is fast and is meant for information that is needed immediately.
  • 13.
  • 14. Batch Processing vs Stream processing Batch processing is the processing of transactions in a group or batch. There is no user interaction required once batch processing is running. This differentiates batch processing from transaction processing, which involves processing transactions one by one and requires user intervention.
  • 15. Batch Processing vs Stream processing Stream processing is the process of analyzing streaming data in real-time. Analysts are able to continuously monitor a stream of data to achieve various goals. Stream processing is a low-latency way to capture information about events while they are in transit, processing the data. A data stream, or event stream, can include almost any type of information: social network or web browsing path data, factory production and other process data, stock or financial transaction details, patient data in a hospital, machine learning system data, IoT (Internet of Things).
  • 16. THANK YOU Like the Video and Subscribe the Channel