flagflag  If you want to see English page, please click "English" Button at Left.
Page Top

Starting of the Cache PUT Server anchor.png

The Cache Server(sl_cache) forks a process called the Cache PUT Server at start up. The Cache PUT Server only functions to save of texture data to the database.
Consolidating the saving of all cache data in single Cache PUT Server is done for two reasons.

  1. To avoid the problem of facing a file lock when data is saved. If only one process is involved in writing data there is no problem managing file locks.
  2. It is assumed that only localhost will connect with the Cache PUT Server. As a result, some level of security is achieved.
Page Top

Negotiation with UDP Relay Process anchor.png

When the Relay Server (sl_relay) is started with a -cs, -cp or -cg option, TCP connections are created by Cache Server (sl_cache) for each UDP Relay Process. When the Cache Server receives a connection from the UDP Relay Process it forks a new Control Process. The Control Process then negotiates with the UDP Relay Process, exchanges connection password and a port number.
Therefore, the same number of Cache Control Processes for the Cache Server(sl_cache) as the UDP Relay Processes are started.

When sl_relay is started with -cs or -cp option (when PUT is effective), the Cache Control Process forks the Relay Process to Cache PUT Server. This process receives texture data from sl_relay, and forwards it to the Cache PUT Server.

The Cache Control Process then enters a loop and waits for a data request from the UDP Relay Process.

Page Top

Response to request anchor.png

It waits for a moment.


トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 2071, today: 2, yesterday: 0
最終更新: 2008-12-21 (日) 03:29:18 (JST) (5577d) by gambled

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 3月翌月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
<今日>

オンライン状況

81 人のユーザが現在オンラインです。 (12 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 81

もっと...

アクセスカウンタ

今日 : 9071907190719071
昨日 : 6869686968696869
総計 : 2318335423183354231833542318335423183354231833542318335423183354
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com