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!
Scam Warning
Post Reply
User avatar
Albert Wiersch
Registered User
Posts: 159
Joined: Sat Dec 11, 2004 6:00 pm
Location: Lantana, TX
Name: Albert Wiersch
Contact:

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/
Post Reply

Return to “phpBB Discussion”