Welcome! Log In Create A New Profile

Advanced

Re: Re: How to set the minimum size of the cache file

Chancey
September 16, 2009 06:02AM
Back-end to provide search suggest services .

Example:

Two request url:
a . http://xxx/a?q=a
b . http://xxx/a?q=b

Response results :
a. xxxxxxxxxx
b. null

The results of a need to be cached , b don't need.
Because there are a large number of fruitless requests , If b is the cache will appear the following situations :

1 . Caching a lot of useless information, resulting in a waste of disk space
2 . Very high Disk IO load cause the system to slow


Search services have their own caching mechanism , but I would like to omit the PHP parsing process, will get better performance


Sorry,my english is so poor that i don't know whether a clear expression.

2009-09-16



Chancey



发件人: Igor Sysoev
发送时间: 2009-09-16 17:15:32
收件人: nginx
抄送:
主题: Re: How to set the minimum size of the cache file

On Wed, Sep 16, 2009 at 01:07:05PM +0800, Chancey wrote:
> How to set the minimum size of the cache file ?
Currently there is no way.
Could you tell why do you want to set this limit ?
--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

How to set the minimum size of the cache file

Chancey September 16, 2009 01:16AM

Re: How to set the minimum size of the cache file

Igor Sysoev September 16, 2009 05:16AM

Re: How to set the minimum size of the cache file

Yahwist Yang April 13, 2010 05:24AM

Re: How to set the minimum size of the cache file

Ryan Malayter April 13, 2010 08:48AM

Re: How to set the minimum size of the cache file

Yahwist Yang April 14, 2010 07:06AM

Re: How to set the minimum size of the cache file

Ryan Malayter April 13, 2010 08:52AM

Re: Re: How to set the minimum size of the cache file

Chancey September 16, 2009 06:02AM

Re: Re: How to set the minimum size of the cache file

Mirosław Jaworski September 16, 2009 06:42AM

Re: Re: Re: How to set the minimum size of the cache file

Chancey September 16, 2009 10:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready