<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yu-tarrrr</author_name>
  <author_url>https://blog.hatena.ne.jp/yu-tarrrr/</author_url>
  <blog_title>Uzabase for Engineers</blog_title>
  <blog_url>https://tech.uzabase.com/</blog_url>
  <categories>
    <anon>Blog</anon>
    <anon>Kotlin</anon>
    <anon>micro services</anon>
  </categories>
  <description>こんにちは。株式会社ユーザベースの相川と申します。 今回は分散システムにおいて、一見関係のない「DBエラー」が「ファイルディスクリプタの枯渇」を引き起こし、最終的にバッチ処理全体に波及したケースがあったので、その内容をお話しします。 本記事では、実際に発生した障害事例をベースに、Java/KotlinアプリケーションでHTTPクライアントを扱う際の注意点と、コネクション管理の重要性について解説します。 1. 発生した事象 マイクロサービス構成において、以下の連鎖的な障害が発生しました。 最背後のDBエラー: Service-C のDBで外部キー制約エラーが発生し、レスポンスが遅延・エラー化。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.uzabase.com%2Fentry%2F2026%2F04%2F27%2F124034&quot; title=&quot;外部API呼出しにおける「Too many files open」の回避とHTTPクライアントの適切な管理 - Uzabase for Engineers&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/yu-tarrrr/20260423/20260423154516.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-27 12:40:34</published>
  <title>外部API呼出しにおける「Too many files open」の回避とHTTPクライアントの適切な管理</title>
  <type>rich</type>
  <url>https://tech.uzabase.com/entry/2026/04/27/124034</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
