http://cid-7862a61060e90b1f.skydrive.live.com/self.aspx/NicoCacheWithOverlayWeaver だんだん実装が面倒なところに近づいてきた。 エラー処理やら、要求失敗時の処理とかにも気をつけないと。 それより風邪をこじらせてる自分の体調に気をつけないと。 キャッシュ取得要求をタスクとしてくくりだして実装中。取得したキャッシュをどう プロキシ側に渡そうか考え中。プロキシ側とは別スレッドで動かして、BlockingQueue あたりでデータを受け渡すのが一応の案。あとはプロキシ側でタイムアウト判定をする のと、タイムアウトしたことをどうタスク側に伝えて停止させるか。
4/18 に 0.9.1 がリリースされていたので本当なら触っておかないといけなかった んだけど仕事があってほったらかしに。 そうこうしているうちに、英語のメーリングリストでの指摘から Chord の実装で 最善ではない次ホップを選んでしまう場合があるバグがあったとのこと。 そのことプラス、スレッドプールについて洞察が深まったとのこと。 この2つが組み合わさっての 0.9.2 となった模様。 0.9.1 を見ていないので、本当はそちらでの修正だったのかもしれないけれど、 0.9 から 0.9.2 への変更でいくつかメソッドが修正になっていた。 (1)DHT.setTTLForPut の引数が long から int をとるようになった。 (2)AbstractMessagingProvider から Executors がなくなった。 (3)インターフェイス DHT から高レベルサービス(
P2Pニコ動キャッシュ共有プログラムを作ることを当面の目的に設定。 http://d.hatena.ne.jp/kanbayashi/20080101/p2 カテゴリにもあるんですが、Overlay Weaver を使って DHT で実装予定。 つーか OW でアプリ作ってる人が居ない今が注目を集める(のか?)好機、 ってイヤラシイ気持ちでがんばって行きたい。 当面の目標を達成するため、いろいろ OW を調べてそれを書いていくのが しばらく続くと思う。ツール使うにも下調べしないとね。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く