summaryrefslogtreecommitdiff
path: root/fml/lib/File
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-04-03 03:32:28 +0000
committerfukachan <fukachan>2001-04-03 03:32:28 +0000
commit2326bd89dda48bc97ebba2332c58bfc7319a9e8b (patch)
treeabd87991136bebf5d99344bad6cb3d579770641c /fml/lib/File
parent0d61549354d1ae9c82f52cf6d0309a0a7b81d5b9 (diff)
downloadfml8-2326bd89dda48bc97ebba2332c58bfc7319a9e8b.tar.gz
fml8-2326bd89dda48bc97ebba2332c58bfc7319a9e8b.tar.bz2
fml8-2326bd89dda48bc97ebba2332c58bfc7319a9e8b.zip
clarify more. add TextDB
Diffstat (limited to 'fml/lib/File')
-rw-r--r--fml/lib/File/idea.ja.html32
1 files changed, 26 insertions, 6 deletions
diff --git a/fml/lib/File/idea.ja.html b/fml/lib/File/idea.ja.html
index f957e7ad..ff5b130e 100644
--- a/fml/lib/File/idea.ja.html
+++ b/fml/lib/File/idea.ja.html
@@ -13,18 +13,38 @@
<P> メモ:
-バッファのスタイルは2つある。
+persistent なデータの保持の方法はいくつかある。
+LRU な何かモジュールを使っても良いが、
+大げさで、いまひとつしっくりこない。
<UL>
-
<LI>
- ファイルに append していくもの。
- Log Structured File Buffer とでもいうべきか?
+ File
+ <BR>
+ 一つのファイルに append していくもの。
+ Log Structured File スタイル?
+ <BR>
+ データを蓄えるために用いている。つまり、追加もするし、
+ 参照もしたい場合。
<LI>
- あるディレクトリ。その中にあるどれかのファイル
- File::RingBuffer はそういったディレクトリを操作するためのもの。
+ RingBuffer(Dir?)
+ <BR>
+ あるディレクトリ(例: db/)に複数のファイルとして蓄える。
db/ には 1 〜 100 のファイルがつくられ、順番に使われる。
+ ぐるぐる回って使われ、上書きされていく。
+ <BR>
+ 主に上限サイズを設けたログを蓄えたい場合に用いる。
+ <LI>
+ TextDB
+ <BR>
+ あるディレクトリに複数のファイルとして蓄えるが、
+ 古いものを expire していくことが可能なもの。
+ db/ に YYYYMM 形式のファイル名でデータを蓄え、
+ 古いものは随時消去する。
+ <BR>
+ データを蓄えるために用いている。つまり、追加もするし、
+ 参照もしたい場合。
</UL>
</BODY>