![]() |
Quote:
On Edit: I see it! |
Quote:
Just incase anyone else is unclear, it's within Main Settings under the vB Optimise menu (within the ACP). |
Had a duh moment the other day, I realized after I had installed everything a month ago or so ago and had been using this mod; that there were configs within vbulletin's config file that set to use xcache (or other opcode cacher) in there as well.
|
Yeah you can set vB to use similar systems too which I recommend you'd do, it'll cache the datastore which reduces a global query in most places :)
|
Vb optimize work with fastcgi + eacelarator?
Because dso creating upload problem in my site. So i have to move back fastcgi. If eacelarator work i will remove xcache. |
Hi Deceptor,
I got some questions in mind:
Regards :) |
@rajubd - You'd have to test, I'm not 100% sure. If it doesn't, I'd recommend using Memcache personally over APC.
@Super Jinni 1. XCache stores data in ram, not in the file system. We don't require any connection settings to XCache so it doesn't have to be filled in the config.php - however Memcached requires IP/port settings, plus you can have multiple memcached servers so we require you fill those settings within config.php for vBO to fetch and use them for connection. In either case, the datastore is not linked to vBO in anyway, vbulletin has a folder for its datastore but that is only used if you set the datastore to use file cache within config.php 2. You can use 2 systems if you want, though I'd recommend using the same so runtime doesn't require the use of using 2 extensions for cache - just the 1. 3. No conflicts using both, just might use a little extra runtime memory/processing 4. As said XCache stores data in ram 5. Only way you can change data stored in xcache is through their API functions like xcache_get() and xcache_set(). Let me know if you have any further questions :) |
Thanks Deceptor for your helpful answers.
The reason to use Memcached with XCache is that I've set Nginx in front of Apache for static files, and read somewhere that it's good to set Memached behind Nginx so Nginx will check Memcashed for request firs, if not found there then it will pass the request to Apache. So I set Memcashed behind Nginx, but I couldn't make it to store data, so I thought I'd use vBulletin datastore, and it seems that works so Memcashed now is cashing data while Nginx is pulling data from Memcashed if they are existed. I'm not sure if what I'm doing the currect thing (Nginx (as font-end for static contents) + Memcashed (to cache for Nginx) + Apache (as back-end to deal with PHP) + PHP (mod_php) + XCache (with your vBO)) I'm worried about performance and server usage, so if you have any suggestions or ideas regarding what I use and how I use it, please let me know. Thanks :) |
Well personally If I had nginx running I'd drop apache altogether, nginx itself can work with php in FastCGI and works a lot faster than apache due to its event/async driven codebase.
Depends what apache modules you need really, but the most common things done in apache can be done with nginx - I'd do a little research on it and see what you can find :) |
Yeah, I thought about getting rid of Apache but I use mod_rewrite quite a lot, and I still couldn't figure out how to do the rewriting in Nginx. That's what holding me off.
I also did some researches about Nginx, Apache and PHP and found that Apache is faster than Nginx when it comes to PHP, but Nginx is light and a lot faster when it comes to static contents, so I thought why not to take advantages of both's strength. But I do still need to do a LOT of homework to get the best results. Thanks again, mate :) |
All times are GMT. The time now is 09:34 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|