Subject | Re: [firebird-php] Re: Web Apps - cache lost when db disconnects |
---|---|
Author | Milan Babuskov |
Post date | 2008-10-16T14:36:01Z |
jeff_j_dunlap wrote:
Fikret (Hasovic) and I did some benchmark tests during the Conference
and came to this conclusion.
with that (just read Helen's tip about transactions). In fact, on one
server in production I have a client app. which has been connected for
more than 5 months, and it is doing nothing most of the time.
--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com
> Milan,I don't know about Windows, but on Linux OS cache is about 10% faster.
>
> Thanks for responding. I was reading various threads on the FB
> newsgroup and some people say that OS cache is slower than FB cache.
Fikret (Hasovic) and I did some benchmark tests during the Conference
and came to this conclusion.
> My workaround has been similar to what you suggested since theThe connection can stay alive as long as you want the cache, no problem
> application opens up a dummy connection that stays alive for 4 hours
> (maybe this connection can stay alive indefinitely according to
> Alexandre Benson Smith). This connection does nothing but keep FB
> cached and certainly speeds up my database response time.
with that (just read Helen's tip about transactions). In fact, on one
server in production I have a client app. which has been connected for
more than 5 months, and it is doing nothing most of the time.
--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com