[pgpool-general: 8115] Re: In memory query cache

Avi Raboah avi.raboah at gmail.com
Mon May 2 19:45:32 JST 2022


One more question if I use memcached the eviction is different or working
the same as shmem?

On Mon, 2 May 2022 at 13:42 Avi Raboah <avi.raboah at gmail.com> wrote:

> Thanks a lot.
>
> On Mon, 2 May 2022 at 13:33 Tatsuo Ishii <ishii at sraoss.co.jp> wrote:
>
>> > Pool_memqcache.c
>> > Pool_reuse_block
>>
>> Ok, the comment "using clock algorithm" is not correct. Actually it
>> uses simple FIFO instead. I will update the comment.
>>
>> > Thanks.
>> > On Mon, 2 May 2022 at 3:24 Tatsuo Ishii <ishii at sraoss.co.jp> wrote:
>> >
>> >> > Hi,
>> >> >
>> >> > I am trying to find how piggy pool handle eviction policy in case the
>> >> cache
>> >> > is full.
>> >> >
>> >> > I saw something about clock algorithm but I am not sure I understand
>> it.
>> >> >
>> >> > Could you please clarify this mechanism?
>> >>
>> >> Which source file are you looking at?
>> >>
>> >> Best reagards,
>> >> --
>> >> Tatsuo Ishii
>> >> SRA OSS, Inc. Japan
>> >> English: http://www.sraoss.co.jp/index_en.php
>> >> Japanese:http://www.sraoss.co.jp
>> >>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20220502/01cdaf9a/attachment.htm>


More information about the pgpool-general mailing list