Quantcast
Channel: Active questions tagged retry-logic - Stack Overflow
Browsing all 950 articles
Browse latest View live

Should I retry in the middle of a chain communication of micro services

Let us say that I have services A, B, C, D. For a request, the system needs to do a long call chain to calculate the result, the chain is A -> B -> C -> D. The request is critical and...

View Article


Python tenacity library retry what does after & retry_error_callback do

Using retry. What does after and retry_error_callback specifically do?@retry( stop=stop_after_attempt(3), wait=wait_exponential(multiplier=3, max=3) + wait_random(0, retry_wait_jitter),...

View Article


What's alternative of HttpPolicyExtensions.HandleTransientHttpError in new...

I am trying to upgrade Polly to v8, re-writing policies to utilize new ResiliencePipiline. At couple of places I am using HttpPolicyExtensions.HandleTransientHttpError() HttpPolicyExtensions...

View Article

How does Polly retry policies indicate when number of retries have been...

I have a call that uses a Policy.Handle<PollingResult>(...).WaitAndRetry(...).ExecuteAsync(...) call to wrap a polling operation.Having spent the better part of half an hour reading the Polly...

View Article

Quarkus Kafka consumer with exponential backoff retry

I have the following scenario: I have a Quarkus Kafka consumer that gets events (in JSON) from a topic and sends it on to a downstream system via their own web service).However sometimes there is a...

View Article


Why is my Polly Retry Policy is throwing "caught" exceptions anyway...

Below I am showcasing the policy I am using to handle a PostAsync() request using a HttpClient. However, it seems like even though I passed generic Exception, it still decides to throw it and fail to...

View Article

Image may be NSFW.
Clik here to view.

C# Polly, 1st SqlException retry after 10 seconds then other all retries...

I am implementing Polly to retry SqlConnection errors.This is the logic I need to implement:1st SqlException - retry after 10 secondsTotal retrying time is 3 minutesAfter 1st retry, all other retry...

View Article

AWS Elasticache: Lettuce client: Retry mechanism

I am using Lettuce (https://github.com/redis/lettuce) java client to read/write to AWS Elasticache. Below is the method to read from Cache by passing key. public Object getJson(String key) {...

View Article


Set customBackoff for AWS SDK JavaScript V3 retries

I just upgraded to AWS SDK V3 and I have no idea how to configure retryDelayOptions and customBackoff with it. I couldn't find any example code in AWS's own API reference or online. This is what I was...

View Article


How do I use the new resilience strategy in polly.core to a fallback strategy...

I have an older policy that fallsback to a custom action.// Several other overloads including one that's synchronous and has `void` as a return type. // Required as some of our older services have not...

View Article

Override 10s AttemptTimeout in standard resilience handler

I have a Blazor WebAssembly app using Entra auth, that calls a backend using the named HttpClient factory:services.AddHttpClient(HttpClientProvider.WebAPI, client => client.BaseAddress = new...

View Article

identify retried message with spring kafka producer

What I would like to achieve:I would like to identify the retried message using Spring Kafka when producing the retried message.Background:I am a Spring Kafka producer.I produce messages that I put in...

View Article

How to use SqlRetryLogicBaseProvider to retry connections during Azure SQL...

I have an Azure SQL database, that has automatic schedules to scale up/down depending on dtu usage. During the scale up/down all connections are dropped. So I need to apply a retry logic in my...

View Article


Polly doesn't work if function wraps up with try catch [closed]

I am using Polly for SQL exception in my code.I try to catch errors from SqlConnection and SqlCommand executes. In this situation, code executes the catch block directly, but never retries to connect...

View Article

Image may be NSFW.
Clik here to view.

セイズの空間づくり ~ 注文住宅ならセイズの「zero-e」

本日は、セイズの空間づくりについてです。 先日、葛飾区内の物件にインテリアイメージを配置し、撮影を行ってきました! 今回は、ミュージアムスタイルの住まいです。 白を基調とした室内は、すっきりと明るくシンプルに仕上がっています。 いかがでしょうか?とっても明るい室内!! 実は、この物件は敷地延長物件 つまり、奥ばった所にある暗くなりがちな立地です…...

View Article


Image may be NSFW.
Clik here to view.

キャンドルナイト ~ 注文住宅ならセイズの「zero-e」

ご無沙汰しております 大型台風が日本列島に上陸したかと思えば、今日の東京は突然の猛暑 台風一過とともに、東京もそろそろ梅雨明けでしょうか? 突然暑くなると、まだ身体が暑さに慣れないため熱中症になりやすいようです。 皆さま、水分をしっかりとって、十分お気を付けくださいね   この夏、暑ーい夏を感じつつ、少しほっこりした時間を時間を過ごしませんか? 今日はキャンドルナイトのお知らせです...

View Article

Image may be NSFW.
Clik here to view.

■□■狭小住宅プランニングvol.1■□■~注文住宅ならセイズの「zero-e」

こんにちは!設計部の藤村です。 これから設計部で現在売られている狭小敷地にプランニングをして、 土地代込4000万以下で可能な注文住宅のご提案をしていきます!!! なかなか難しい東京の土地探しの参考にして頂ければ幸いです。   第1回目の土地は・・・・。 葛飾区立石8丁目某所。京成立石駅徒歩8分、青砥駅徒歩10分。2駅利用可能。 南東道路の陽当たの良い整形地です!ただ敷地は10坪強.....

View Article


Image may be NSFW.
Clik here to view.

■□■狭小住宅プランニングvol.2■□■~注文住宅ならセイズの「zero-e」

すっかり寒くなってきましたね。 こんにちは、設計部の山本です。   狭小敷地プランニング第2回目の土地は・・・。 葛飾区柴又6丁目某所。京成金町線「柴又駅」徒歩3分、北総線「新柴又駅」徒歩8分。2駅利用可能。 柴又街道沿いの三角敷地!面積は約14坪!   【土地概要】46.46㎡ 近隣商業地域80/300 準防火地域/第3種高度...

View Article

◇◇ネットゼロ補助金◇◇

補助金情報です! 経済産業省の補助金事業 【平成26年度「ネット・ゼロ・エネルギー・ハウス支援事業 (補正予算に係るもの)」】 が発表され、本日説明会があったので聞いてきました。   http://sii.or.jp/zeh26r/   簡単に言ってしまえば、ゼロエネ住宅に補助金が出る!!! というもので、その額は定額で130万円となっています。   こまかな要件としては、...

View Article

Image may be NSFW.
Clik here to view.

2日間限定! 注文住宅 完成見学会開催

こんにちは。 注文住宅プロデューサーのゆりです。 今週末24日(土)、25日(日)にセイズの暮らし方をご提案しながら、 お客様と創り上げる 注文住宅の完成見学会を開催する予定です。 広々とした玄関ホールや、家事動線を考えた間取り、開放感のある吹き抜けなど、 これから注文住宅をご検討の方にご参考頂ける造りになっています。 当日は時間帯により混雑が予想されるため、ご予約頂く事をオススメいたします。...

View Article
Browsing all 950 articles
Browse latest View live