Re: named pipes or files on disk?

Angelos Karageorgiou <[email protected]>
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <[email protected]>
On 22/4/2010 12:47 ??, Jer A wrote:
>
> will accessing a html file, that is in the memory of a daemon, load as
> fast/faster
> when accessed by the cgi script, through sockets?, than if the file
> was on disk?
>
>
> Jeremy
Well, if the file is on disk , and it has been accessed before, chances
are that it is cached in system memory,
so accessing it would be tremendously fast. Now If you do not want to
play the probability game, or are using
a system with a more reasonable caching system that Linux's then you are
much better off by using memcached, i.e. a daemon.

Btw, accessing a file residing inside a daemon is done via sockets !

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.