flagflag  
  
Cur: 2008-12-21 (Sun) 03:29:18 gambled source
Line 1: Line 1:
 +**Behavior of the Cache Server [#b86c7ba2]
 +*** Starting of the Cache PUT Server [#n802464e]
 +The Cache Server([[sl_cache>sl_cache (E)]]) 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.
 ++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.
 ++It is assumed that only localhost will connect with the Cache PUT Server. As a result, some level of security is achieved.
 +
 +*** Negotiation with UDP Relay Process [#p45034e3]
 +When the Relay Server ([[sl_relay>sl_relay (E)]]) is started with a ''-cs'', ''-cp'' or ''-cg'' option, TCP connections are created by Cache Server ([[sl_cache>sl_cache (E)]]) 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>sl_cache (E)]]) as the UDP Relay Processes are started.
 +
 +When [[sl_relay>sl_relay (E)]] 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>sl_relay (E)]], 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.
 +
 +*** Response to request [#c92ce9c0]
 +It waits for a moment.
  

  • Backup diff of sl_cache (E)/Caching(No. All)
    • Cur: 2008-12-21 (Sun) 03:29:18 gambled

Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

80 user(s) are online (10 user(s) are browsing xpwiki)

Members: 0
Guests: 80

more...

Access Counter

Today : 8495849584958495
Yesterday : 1716817168171681716817168
Total : 2350495623504956235049562350495623504956235049562350495623504956
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com