Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,195,379 members, 7,958,047 topics. Date: Wednesday, 25 September 2024 at 08:02 AM

Understanding Azure Durable Functions - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Understanding Azure Durable Functions (200 Views)

Any Forum Or Website With Nairaland Functions Or Designs Currently?? / Inline Functions In C++ / We Develop Website And Apps + Full Functions: Check In (2) (3) (4)

(1) (Reply)

Understanding Azure Durable Functions by Ankitagarg(f): 7:15am On Jun 04, 2022
Networks are fundamentally unreliable: they function normally most of the time, but when they fail, they fail in a variety of unpredictable and undesirable ways. There are books on the subject of distributed system architecture. TL;DR: It's difficult and azure certification.

Many new microservices adopters tend to overlook such complexities. The most common method of connecting microservices is REST over HTTP(S). It makes the system brittle, just like any other synchronous communication protocol.

Consider what happens when a service becomes temporarily unhealthy: perhaps its database goes down, it struggles to keep up with the request load, or a new version of the service is deployed. All requests to the problematic service begin to fail — or Worse, you'll become extremely slow. The dependent service waits for the response and, as a result, blocks all incoming requests. The error spreads quickly upstream, causing cascading failures all over the place.

While HTTP communication cascading failures can be mitigated with patterns such as a circuit breaker and graceful degradation, a better solution is to make asynchronous communication the default. As an intermediary, a persistent queueing service is used.
Event-Driven application architecture refers to a style of application architecture that is based on sending events between services. When a service performs a useful action, it publishes an event — a record of what happened in its business domain. Another service monitors the published events and takes appropriate action.
Re: Understanding Azure Durable Functions by stanliwise(m): 7:26am On Jun 04, 2022
Ankitagarg:
Networks are fundamentally unreliable: they function normally most of the time, but when they fail, they fail in a variety of unpredictable and undesirable ways. There are books on the subject of distributed system architecture. TL;DR: It's difficult and azure certification.

Many new microservices adopters tend to overlook such complexities. The most common method of connecting microservices is REST over HTTP(S). It makes the system brittle, just like any other synchronous communication protocol.

Consider what happens when a service becomes temporarily unhealthy: perhaps its database goes down, it struggles to keep up with the request load, or a new version of the service is deployed. All requests to the problematic service begin to fail — or Worse, you'll become extremely slow. The dependent service waits for the response and, as a result, blocks all incoming requests. The error spreads quickly upstream, causing cascading failures all over the place.

While HTTP communication cascading failures can be mitigated with patterns such as a circuit breaker and graceful degradation, a better solution is to make asynchronous communication the default. As an intermediary, a persistent queueing service is used.
Event-Driven application architecture refers to a style of application architecture that is based on sending events between services. When a service performs a useful action, it publishes an event — a record of what happened in its business domain. Another service monitors the published events and takes appropriate action.

Hmmmm nice article.
I am more interested in the asynchronous architecture.

Any resource that elaborate on it more?

(1) (Reply)

Top Soft Skills Needed For Data Science / Free Training On Video Animation! Grab This Opportunity Now. / I Will Godaddy Website Design, Godaddy Website Redesign, Design Godaddy Website

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.