Re: Is there any considerations for not putting php scripts in tmpfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/8/10 Peter Wang <ptr.wang@xxxxxxxxx>:
> Hi php-general,
> sorry if it is a wrong lists for this question.
>
> I have read many articles/messages about using tmpfs store temp files,
>
> for example, php session data, smarty compied templates and so on.
>
> An obvious reason for that is: it doesn't matter about data loss caused by
> machine restart/poweroff.
>
> since it is not that difficult to restore files on a tmpfs from a disk-based
> dir when machine boot up.
>
> so may i put all my php scripts on a tmpfs to speed it up?  would that cause
> other issues?
>
> thanks for your advices.
>

Considering that in the main PHP scripts are readonly, I would have
thought the normal file and disk caching of the OS would suffice.



-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
ZOPA : http://uk.zopa.com/member/RQuadling

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux