Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,162,395 members, 7,850,408 topics. Date: Tuesday, 04 June 2024 at 08:39 PM

Understanding Azure Durable Functions - Programming - Nairaland

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

Inline Functions In C++ / Example To Call Functions Of Other Class From Current Class In React Native / 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)

Drupal Based Nigerian Bank Account Verification System. / Why Is One Page Checkout A Necessity Right Now? / Brokers For Sale Starting From 60k Up Also Pay After Use Brokers Available

(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. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.