<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fuktommy</author_name>
  <author_url>https://blog.hatena.ne.jp/fuktommy/</author_url>
  <blog_title>/(&quot; - ' ;)\</blog_title>
  <blog_url>https://fuktommy.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ファイルが壊れる問題について 朔をいじってます。 もともと朔でファイル(状態ファイル)を扱うときってこんな感じだったんですよ。 ファイル(大量の行からなる)を読み込んでくる 全ての行について処理をする 更新したらファイルに保存 で、これを高速化するためにこんな風にしてました。 メモリ上になければファイルを読み込んできて、メモリ上にもコピー 全ての行について処理をする 更新したらメモリとファイルに保存 これで真面目に排他制御しようとすると、こうなるんですね。 ロック メモリ上になければファイルを読み込んできて、メモリ上にもコピー 全ての行について処理をする 更新したらメモリとファイルに保存 ロッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffuktommy.hatenablog.com%2Fentry%2F20070624%2F1182653990&quot; title=&quot; メモリ上のオブジェクトとファイルの同期、あと排他制御 - /(&amp;quot; - &amp;#39; ;)\&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>2007-06-24 11:59:50</published>
  <title> メモリ上のオブジェクトとファイルの同期、あと排他制御</title>
  <type>rich</type>
  <url>https://fuktommy.hatenablog.com/entry/20070624/1182653990</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
