memcached and speeding up phpBB

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Get Involved
User avatar
Albert Wiersch
Registered User
Posts: 160
Joined: Sat Dec 11, 2004 6:00 pm
Location: Lantana, TX
Name: Albert Wiersch

memcached and speeding up phpBB

Post by Albert Wiersch »

Background: Trying to speed up phpBB after Google says I have some 'warning' pages with slow server response time. More here:
viewtopic.php?t=2561886

So I am trying memcached. I don't think my forum is that big and popular so I'm not sure how much extra speed this will provide but if it can improve server response time without any side-effects (other than setup time) then why not? Or is memcached rather useless for smaller forums that don't have a lot of traffic?

Anyway, I have a Debian system and used this to install memcached and php-memcached .
https://linuxize.com/post/how-to-instal ... debian-10/

Code: Select all

apt install memcached
apt install php-memcached
I then changed

Code: Select all

$acm_type = 'file';
to

Code: Select all

$acm_type = 'memcached';
NOTE: At first I was getting an error like: Could not find required extension [memcached] for the ACM module memcached.... but I think I resolved that by installing php-memcached and my forum is working again.

So... my point of posting this is 1. to get feedback on the above (whether I did it right, whether it's worth it for "small" forums, etc.), and 2. to help others who may want to use memcached by providing the above information.

Oh... and 3. is there an easy way to tell that memcached is working properly? If my forum is working properly after changing $acm_type to 'memcached' then does that mean it's working as expected with memcached?
Image
Albert Wiersch
https://htmlval.com/
featherless
Registered User
Posts: 4
Joined: Thu Sep 19, 2024 4:07 am

Re: memcached and speeding up phpBB

Post by featherless »

Reviving an ancient topic, but curious if you ever made much progress with this? I'm impressed tbh that phpbb has made it this far without needing to incorporate some kind of a memcached solution!
User avatar
Albert Wiersch
Registered User
Posts: 160
Joined: Sat Dec 11, 2004 6:00 pm
Location: Lantana, TX
Name: Albert Wiersch

Re: memcached and speeding up phpBB

Post by Albert Wiersch »

I'm still using it but I cannot say how much benefit it is providing. My forum is not that active.
Image
Albert Wiersch
https://htmlval.com/

Return to “phpBB Discussion”