<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Maghnad</title>
    <description>The latest articles on DEV Community by Maghnad (@maghnad).</description>
    <link>https://dev.to/maghnad</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4174864%2Fb38c0132-b457-4e66-869c-063af1160cc6.png</url>
      <title>DEV Community: Maghnad</title>
      <link>https://dev.to/maghnad</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/maghnad"/>
    <language>en</language>
    <item>
      <title>To Retry or Not to Retry? That Is the Question.</title>
      <dc:creator>Maghnad</dc:creator>
      <pubDate>Sun, 11 Oct 2026 08:37:08 +0000</pubDate>
      <link>https://dev.to/maghnad/to-retry-or-not-to-retry-that-is-the-question-35gl</link>
      <guid>https://dev.to/maghnad/to-retry-or-not-to-retry-that-is-the-question-35gl</guid>
      <description>&lt;p&gt;This is a submission for the Kaggle Benchmarking Challenge&lt;/p&gt;

&lt;p&gt;Those who read my articles know that a lot of them are actually benchmarks of something. Mostly .NET related, but still, someone could say that this challenge should be pretty close to what I usually do.&lt;/p&gt;

&lt;p&gt;The opposite was true.&lt;/p&gt;

&lt;p&gt;Building a code benchmark and benchmarking AI models are two different worlds, so when I first saw this challenge, I had no idea what exactly I should benchmark. Comparing models on coding tasks felt too generic, and I didn't want to create a benchmark just for the sake of having one.&lt;/p&gt;

&lt;p&gt;Then I looked at the topics of my last couple of articles. A lot of them were about APIs, resilience, failures, and how systems behave when something goes wrong. And that gave me an experiment idea: What if I benchmark AI models on one very simple question: To Retry or Not to Retry?&lt;/p&gt;

&lt;p&gt;A 503 Service Unavailable does not automatically mean that retrying is safe. A POST request may already have been processed. An idempotency key can completely change the answer. A timeout may happen before the server receives anything or after it has already changed some state.&lt;/p&gt;

&lt;p&gt;So the HTTP status code alone is often not enough. The model has to understand the whole situation.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
