Skip to content

Commit deefbaa

Browse files
committed
update manually drawn pictures
1 parent f769338 commit deefbaa

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

blogs/machine_learning.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,18 @@ <h5 class="w3-center w3-padding-64"><span class="w3-tag w3-wide">ARCHITECTURE OF
6868
<p>I will start-off by writing some of the most commonly used design architectures:
6969
<ol>
7070
<li>
71-
<b>Reactive Style:</b>
71+
<b>Reactive Architecture:</b>
7272
Properties of a reactive system: <br>
7373
<ul>
7474
<li><i>Responsive:</i> A responsive system provides rapid and consistent response times, establishing reliable upper bounds so they deliver reliable quality product.</li>
7575
<li><i>Resilient:</i> The system stays responsive in case of failure. Resilience is achieved by replication, containment, isolation and delegation. Failures are contained within each component, isolating components from each other and thereby ensuring that parts of the system can fail and recover without compromising the system as a whole. Recovery of each component is delegated to another (external) component and high-availability is ensured by replication where necessary. The client of a component is not burdened with handling its failures.</li>
7676
<li><i>Elastic:</i> The system stays responsive under varying workload. </li>
7777
<li><i>Message Driven:</i> Reactive Systems rely on asynchronous message-passing to establish a boundary between components that ensures loose coupling, isolation and location transparency. This boundary also provides the means to delegate failures as messages. Employing explicit message-passing enables load management, elasticity, and flow control by shaping and monitoring the message queues in the system and applying back-pressure when necessary. Location transparent messaging as a means of communication makes it possible for the management of failure to work with the same constructs and semantics across a cluster or within a single host. Non-blocking communication allows recipients to only consume resources while active, leading to less system overhead.</li>
7878
</ul>
79-
<center><img src="./img/reactive_design.png" style="width:400%;max-width:400px"></center>
79+
<figure>
80+
<center><img src="./img/reactive_design.png" style="width:400%;max-width:400px">
81+
<figcaption>Fig.1 - Reactive Architecture</figcaption></center>
82+
</figure>
8083
</li>
8184
<br>
8285
<li>
@@ -97,8 +100,11 @@ <h5 class="w3-center w3-padding-64"><span class="w3-tag w3-wide">ARCHITECTURE OF
97100
<li>
98101
<b>Lambda Architecture:</b>
99102
The Lambda (λ) Architecture is designed to handle both real-time and historically aggregated batched data in an integrated fashion. It separates the duties of real-time and batch processing while query layers present a unified view of all of the data. The concept is simple: When data is generated, it is processed before stored, so analysis can include data generated in the last second, the last minute, or the last hour by only processing the incoming data — not all the data.
100-
This is by far the most commonly used architecture
101-
<center><img src="./img/lambda.jpg" style="width:400%;max-width:400px"></center>
103+
This is by far the most commonly used architecture in machine learning where data is considered as the first class entity in the entire architecture. Shown below is the diagram reflective upon a superficial example of this setup.
104+
<figure>
105+
<center><img src="./img/lambda.jpg" style="width:400%;max-width:400px">
106+
<figcaption>Fig.2 - Lambda Architecture</figcaption></center>
107+
</figure>
102108
</li>
103109
<br>
104110
<li>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ <h5>
535535
<div class="container">
536536
<h3>Academic Writings</h3>
537537
<div class="card">
538-
<div class="card-header">Being a Data Scientist with Software Engineering Skills<a href="blogs/machine_learning.html">Link</a></div>
538+
<div class="card-header"><a href="blogs/machine_learning.html">Machine Learning Based Architectures</a></div>
539539
</div>
540540
</div>
541541
<div class="container">

0 commit comments

Comments
 (0)