lcache / wp-lcache

A WordPress implementation of LCache
https://wordpress.org/plugins/wp-lcache/
GNU General Public License v2.0
88 stars 5 forks source link

Support for igbinary #133

Open kevinlisota opened 7 years ago

kevinlisota commented 7 years ago

I'm experimenting with LCache on our high traffic site. This is either a question or a feature request.

Are there any performance gains when using igbinary as the APCu serializer? It is easy to install and enable igbinary in place of the PHP serializer. However, when I did so, it brought the database server to its knees with 100% CPU usage.

In theory, igbinary should improve performance and lower memory usage, though I'm not familiar enough with APCu to know how it stores/compacts cached keys.

Curious to know if anyone has tried this configuration.

frankiejarrett commented 7 years ago

@kevinlisota What versions of PHP, APCu, and igbinary are you running?

I'm using igbinary as the serializer for APCu without issue (so far) in all my local test environments - with basically zero traffic though.

While I haven't seen any blatant increase in CPU cycles myself I will definitely keep a closer eye on this now that you've mentioned it - especially during load testing.