<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>babie</author_name>
  <author_url>https://blog.hatena.ne.jp/babie/</author_url>
  <blog_title>babie, you're my home</blog_title>
  <blog_url>https://babie.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>常時稼動のウェブアプリケーションだと、一括メンテナンス画面差し替え等の仕組みを用意しておく必要があるが、切替えをどこでどうやってするのが一番良いのだろう？ 設定ファイル データベースのとあるテーブル 「メンテナンス中」フラグの読み込み 起動時のみ(再起動が必要) 画面表示時に毎回読み込み(即時反映) CDBI や ActiveRecord みたいにリッチなO/Rマッパーを使うと、パフォーマンスは置いといて、DB x 画面表示時でも良い様な気がしてくる。 と、ここまで書いて、フロントでウェブサーバが並列に走っていて1台だけトラブルが起こった時とかは、DBに置くと全部止まって困るなと思った。しかし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbabie.hatenablog.com%2Fentry%2F20060206%2Fp3&quot; title=&quot; ウェブアプリケーションのメンテナンス - babie, you&amp;#39;re my home&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>2006-02-06 00:00:02</published>
  <title> ウェブアプリケーションのメンテナンス</title>
  <type>rich</type>
  <url>https://babie.hatenablog.com/entry/20060206/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
