Robust Connected Applications with Polly, the .NET Resilience Framework

แชร์
ฝัง

ความคิดเห็น • 9

  • @CarlHamilton1914
    @CarlHamilton1914 ปีที่แล้ว +1

    This is perfect. Our dev lead asked us to research using Polly for adding retry logic to one of our micro services and this is exactly what I was looking for.

  • @PatelKunalR
    @PatelKunalR 3 ปีที่แล้ว +3

    very well explained. thanks a lot

  • @ronzhong
    @ronzhong 4 ปีที่แล้ว +4

    Can we use Polly with Blazor WebAssembly to make client-server API calls?

  • @baharalirezaei3608
    @baharalirezaei3608 4 หลายเดือนก่อน

    how can we share the state in circuit breaker ?

  • @stoppanigiovannino
    @stoppanigiovannino 4 ปีที่แล้ว +1

    hi, I would like to know where Polly persists data relating to queued requests

    • @yp5387
      @yp5387 4 ปีที่แล้ว

      I was wondering that too..

    • @reneschindhelm4312
      @reneschindhelm4312 4 ปีที่แล้ว +1

      I don't think it does other than in-memory. Polly with its rather nice syntax and implemented patterns/policies will help you with the actual act of sending requests over the network or other kind of unreliable transports. It helps you by not having to re-invent the wheel (see the naive implementation starting at 1:55) and reducing the complexity in your program's code base.
      In the end, you need to keep track of the overall state of a request on your own. You could store the state of a request in a database or message queue. Think about what will happen when your program would crash or gets stopped while sending a request and waiting for a response and how to defend against it. You need your program to pick up where it left off. That's not what Polly's about.

    • @bryanhogan5643
      @bryanhogan5643 4 ปีที่แล้ว +1

      In the case of the Bulkhead Isolation policy, it is in local memory.