Tema: Re: symlinkai blogis?
Autorius: AWeX
Data: 2008-09-16 16:02:16
pas mane /www direktorijoje yra paie 70000 symlinku kur kiekvienas ju pvz /www/domenas.com pointina i /home/useris/public_html
Apache tokiu pricipu veikia, simtai requestu per sekunde, viskas puikiai veikia, jokiu stabdymu, diskai paprasti sata


"azuolas" <azuolas@email.lt> wrote in message news:ganvbi$nrh$1@trimpas.omnitel.net...
> http://en.wikipedia.org/wiki/Symbolic_link
> 
> Although storing the link value inside the inode saves a disk block and a 
> disk read, the operating system still needs to parse the pathname 
> information in the link, which always requires reading an additional inode 
> and generally requires reading other — potentially many — directories, 
> processing both the list of files and the inodes of each of them until it 
> finds a match with the link pathname components. Only when a link points to 
> a file inside the same directory do fast symlinks provide significant gains 
> in performance.
> 
> Jei cia teisybe yr, taip iseina kad ant  dideles apkrovos nelebai verta 
> naudot, resuarsu svaistyma gaunas. 
> 
>