<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuta_nakano_en</author_name>
  <author_url>https://blog.hatena.ne.jp/yuta_nakano_en/</author_url>
  <blog_title>Timee Product Team Blog</blog_title>
  <blog_url>https://tech.timee.co.jp/</blog_url>
  <categories>
    <anon>バッチ処理</anon>
  </categories>
  <description>前編(トランザクション範囲の最小化)へ はじめに こんにちは。タイミーのバックエンドエンジニア中野です。 前編では締めのバッチ処理におけるトランザクションの範囲を最小化した技術的改善をご紹介しました。トランザクションの範囲をバッチ処理全体から最小限の範囲に変更したことにより、バッチ処理が失敗した場合に請求レコードの処理が途中まで完了している状態が発生するようになりました。後編では、処理対象の請求レコードに対し状態を持たせることでバッチ処理全体での冪等性を担保し、バッチ処理が途中で失敗した場合でも安全に処理を再開できるようにした取り組みをご紹介します。 はじめに 締めのバッチ処理とは 現状の課題…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.timee.co.jp%2Fentry%2F2022%2F05%2F26%2F113337&quot; title=&quot;バッチ処理の改善 〜冪等性の設計導入〜 - Timee Product Team Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yuta_nakano_en/20220524/20220524210000.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-05-26 11:33:37</published>
  <title>バッチ処理の改善 〜冪等性の設計導入〜</title>
  <type>rich</type>
  <url>https://tech.timee.co.jp/entry/2022/05/26/113337</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
