<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazukifu</author_name>
  <author_url>https://blog.hatena.ne.jp/kazukifu/</author_url>
  <blog_title>Kazuki's Blog</blog_title>
  <blog_url>https://kazukifu.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに これまで、SwitchBotの防水温湿度計からデータを取得するPythonスクリプトを1つのコンテナ内で複数デバイスを扱う集約型で運用してきました。この方式は単純で安定していますが、スキャン間隔が長くなるとレスポンスが悪化し、また1台のスクリプト障害が全体に影響するという課題もあります。そこで今回は、「防水温湿度計ごとに専用コンテナを立ち上げ、パラレルに動作させることが可能か」を検討しました。これにより、個々のデバイスが独立して動作し、スキャン頻度やエラー処理を分離できるようになります。 本記事では、実際にパラレル化を実現するうえで問題となる3つの技術的論点 — (1) Blueto…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazukifu.hatenablog.com%2Fentry%2F2025%2F11%2F06%2F185403&quot; title=&quot;💧 【SwitchBot】防水温湿度計情報取得Pythonスクリプトをパラレル起動させることの可能性確認 - Kazuki&amp;#39;s 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-11-06 18:54:03</published>
  <title>💧 【SwitchBot】防水温湿度計情報取得Pythonスクリプトをパラレル起動させることの可能性確認</title>
  <type>rich</type>
  <url>https://kazukifu.hatenablog.com/entry/2025/11/06/185403</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
