Article delegate-en/1175 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1174@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: hash function for cache
24 May 2001 06:15:05 GMT feedback@delegate.org (Yutaka Sato)


On 05/23/01(20:08) you ppmcabdyi-ufvkztv5g23r.ml@ml.delegate.org wrote
in <_A1174@delegate-en.ML_>
 |It looks like that hash function output in range 0-1f, not 0-ff as it
 |defined at documentation

Yes, the document <URL:/delegate/Manual.htm#CACHEFILE> was wrong and
I'll correct it in the next release like follows.  Thank you.

[Manual.htm]
>Another formatting pattern is "$[hash:format]" which hashes a string
>generated by format into hexadecimal value ranging from "00" to "1f".
>This will be useful to divide a single huge directory containing all
>servers into 32 small directories, which can be on physically
>different disks. 
>    Example: 
>        CACHEFILE='$[server:%P]/$[hash:%H]/$[server:%L/%p]' 


Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V