OSSN and PHP Memcached

Balamurali Govindan Posted in Performance and Scalability 6 months ago

I read articles on how FB or other social medias are using PHP + Memcached.

Eg: https://www.datacenterknowledge.com/archives/2008/12/15/facebook-pushes-limits-for-memcached

How do we do this kind of object caching with OSSN? We see a lot of DB load and Server load and wanted to utilize such caching capabilities.

Please help if you have already done this.

Replies
in Balamurali Govindan Replied 6 months ago

Mysql queries and results caching. I see a lot of mysql load (resulting in server load) when we have many users and high traffic. So I was finding ways to improve the performance and hence was interested in all ways to improve the performance, especially the mysql side of it.

Indonesian Arsalan Shah Replied 6 months ago

Sir, you are not answering my question :) what you wanted to cache ? which part of OSSN you wanted to cache?

in Balamurali Govindan Replied 6 months ago

Thanks Arsalan.

That previous thread was lscache (litespeed), probably many of us don't use that.

This is memcached a common DB object caching functionality coupled with php memcached extension.

These might help us significantly with performance on larger ossn implementations. Hence was asking if anyone tried this and have had success.

Please advise. Thanks.

Indonesian Arsalan Shah Replied 6 months ago

You have asked same question https://www.opensource-socialnetwork.org/discussion/view/6084/lscache-plugin-implementation

So my answer is same what you wanted to cache in OSSN? most of things that required to be cached already cached. Rest are dynamic contents.