[Pgpool-hackers] patch "Caching query results in pgpool-II"

Masanori Yamazaki m.yamazaki23 at gmail.com
Tue Jun 14 13:32:21 UTC 2011


Hello, hackers

I have implemented a function caching query on memcached.
I am sending the patch file and it's so nice to give me some opinions.

Main program which I implemented is as below.
- Search for cache data on memcached by using md5 which converted SELECT
into.
- Set data on memcached. The key is md5 which converted  SELECT into.
The value is RowDescription, DataRow from Backend.

[Modify files]
- pool.h
- child.c
- pool_config.l
- pool_config.h
- pool_config.c
- pool_system.c
- pool_proto_modules.c
- pool_process_query.c

[New File]
- pool_memqcache.c


--
Regards
Masanori YAMAZAKI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110614/8506e6a2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memqcache.patch
Type: text/x-patch
Size: 16926 bytes
Desc: not available
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110614/8506e6a2/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pool_memqcache.c
Type: text/x-csrc
Size: 10427 bytes
Desc: not available
URL: <http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20110614/8506e6a2/attachment-0003.bin>


More information about the Pgpool-hackers mailing list