PDA

View Full Version : Datastore caching


jthorpe
Tue 3rd Jul '07, 5:15pm
So I have been experimenting with the different types of caching of the datastore. I got memcache and memcached to work but it's not working with VBAdvanced.

After this, I tried to enable the filecache instead to see what kind of performance increases I might see with it. When I uncomment the line in config.php that refers to the filecache, it tells me that it cannot connect to the memcache server. When using the filecache, I didn't think you needed memcache and memcached. I'm confused. Is there something I'm missing here? The line I'm uncommenting in the config.php file is...

$config['Datastore']['class'] = 'vB_Datastore_Filecache';

This is the error I get when uncommenting that line..

Fatal error: Unable to connect to memcache server in /home/httpd/all-politics/includes/class_datastore.php on line 287


Any help would be appreciated. Thank you.

jthorpe
Tue 3rd Jul '07, 5:17pm
duhh, so I uncommented and then restarted apache. It seems to be working now. However, I'm not sure where the datastore is being cached in the filesystem, or if it's even working. Can someone point me in the right direction to find this information? Thank you.

eva2000
Thu 5th Jul '07, 7:07am
for the datastore in filesystem give it a few days for the file to grow... i haven't used the filesystem or memcache.. i used xcache + datastore mod from vbulletin.org (all up only caching around 26 variables from vB + vbadvanced).

XtAzY
Fri 6th Jul '07, 12:45am
for the datastore in filesystem give it a few days for the file to grow... i haven't used the filesystem or memcache.. i used xcache + datastore mod from vbulletin.org (all up only caching around 26 variables from vB + vbadvanced).
Out of curiosity, what is your website? XtremeSystems and AnimeBoards?

eva2000
Fri 6th Jul '07, 8:42am
Out of curiosity, what is your website? XtremeSystems and AnimeBoards?
i prefer to keep them private :)