If you're looking for performance improvements, install nginx+php-fpm
I am just starting to look into working with Zend for a project, and it seems as if maybe I will get some performance enhancements if I install Zend Server CE on my host and run Xenforo off that instead of Apache?
Thoughts?
I have a huge problem with my server under heavy load. Is that any different than apc?
Differences between lightspeed and nginx?
Is there something I should use instead of MySQL?
Litespeed costs whereas nginx is free
There are alternatives (percona, mariadb, etc.), but start by configuring what you have correctly if it's even an issue.
1. check & analyse your server and try to find the bottleneck.I have a huge problem with my server under heavy load. Is that any different than apc?
1. check & analyse your server and try to find the bottleneck.
In 70% of the cases where people talk about performance problems, they have a vps without knowing how to use it.....
They don't know how to optimize the network,apache, mysql,etc...
My 0.02$
1. check & analyse your server and try to find the bottleneck.
In 70% of the cases where people talk about performance problems, they have a vps without knowing how to use it.....
They don't know how to optimize the network,apache, mysql,etc...
My 0.02$
Disable ALL mods too. I had a mod that was adding upto 2 seconds to the index page load time!!
Disable ALL mods too. I had a mod that was adding upto 2 seconds to the index page load time!!
Also, work on only one element to optimise it, then move to the next one. It may take months (it did me) but the effort is worth it. I worked through MySQL, PHP, Apache2 and shaved five seconds off the average page load time.
Have you also looked at "ExpiresActive" for Apache? You can set specific page elements to be cached for longer on your visitors browsers, so images are loaded once then don't expire again for say 1 week or 30 days, which not only saves you bandwidth (because you don't have to constantly re-serve the file) but speeds up page loading too because it is loaded locally from the users browser cache.
There are lots of similar tips and tricks you can pick up if you dig around - and I wrote about some of the changes I made to improve the speed of my IPB forums here which may be of help.
There's also another thread discussing various things you can optimise, here.
You could also serve static content from a cookieless domain, so that images/css/etc. can be loaded simultaneously with other content (like creating two data streams [that's very over simplified but you get the idea]).
Good luck with it, whichever platform you end up on. But just change a few things at a time and don't rush it.
Cheers,
Shaun
I would let them enabled and check the query time in debugmod^^
So it's IMHO much easier to find the mods causing the problems
You should check into optimizing Apache...it can be just as effective(if not more) than LiteSpeed if optimized correctly.I have tried disabling all of them during our busy periods. It works better for a period, but still slows down.
I have tried disabling all of them during our busy periods. It works better for a period, but still slows down.
I couldn't agree more. I moved from a managed VPS to an unmanaged one (on linode) and while I now only pay 1/3 of what I was paying before the fact that it is unmanaged really starts to bug me a bit. There really was a lot of value in me being able to just call up, get Level 3 North American based support 24/7 and say "hey, this doesn't work right, what's up?" and they would fix it or optimize it.1. check & analyse your server and try to find the bottleneck.
In 70% of the cases where people talk about performance problems, they have a vps without knowing how to use it.....
They don't know how to optimize the network,apache, mysql,etc...
So I finally got php-fpm, nginx, and apc running. I have a couple questions.
What should my keepalive timeout be? 0?
APC memory size?
Max SQL connections?
Max memory size for php?
I have 4 gig and 2 core duo processors. Should my working processes be higher than 4?
We use essential cookies to make this site work, and optional cookies to enhance your experience.