Performance tips

Although Task Rocket should run smooth under typical conditions, performance can still be compromised when you have a large number of projects and tasks (several hundred for example).

There are many variables that may affect performance or cause other issues on any WordPress instance, such as:

  • Many users interacting with the system at the same time
  • A high number of tasks and projects (into the hundreds for example)
  • Activating too many plugins
  • Low memory limit on your server or WordPress (Task Rocket has a tool to advise you)
  • Shared hosting environment

It is always recommended that you increase the PHP memory limit to ensure better performance. A reasonable memory limit could be as little as 64mb, but the higher the better. Just don’t go too close to the PHP memory limit. For example, if your server PHP memory limit is 128mb, don’t increase your WordPress memory limit to 128mb (64mb would probably be OK, but you might get away with 96mb).

The biggest performance hit will likely come from large database queries that take too long especially when you have several users using the system at the same time. But there are a few ways to alleviate that.

Disclaimer: As always, backup your database before attempting any of these methods.

Update the latest version of Task Rocket

Version 3.1 onwards contains significant performance improvements. Update and you’ll notice a huge difference.

Clear the revisions

You can clear revisions by running this query in your preferred database management application, such as PHPMyAdmin:

DELETE a,b,c FROM wp_posts a LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)
LEFT JOIN wp_postmeta c ON (a.ID = c.post_id) WHERE a.post_type = 'revision'

Note that you’ll need to change the wp_ table prefix highlighted to match your own.

If it works, you should get a confirmation dialogue something like this:

rows-deleted

Alternatively if you’re not comfortable in PHPMyAdmin or don’t have access to it, try this plugin for deleting revisions.

Disable any plugins you don’t need

This is good advice for any WordPress installation. If you don’t need it, disable it and delete. Every active plugin will run additional scripts and consume more sever resources.

Increase the PHP memory limit

The more memory you can give your server the better WordPress will perform. There’s no magic bullet for doing this, but one of these methods might help.

Change your hosting plan or provider

I realise this may be considered extreme (that’s why it’s near the end of the list), but it’s still a valid option. Particularly with cheaper hosting options there’s a good chance you are on a shared server with several – often hundreds – of other websites.

If you want to check how many other websites (if any) are on the same server as you, go here and enter your domain name.

The problem with shared hosting is that all websites on the server will share the server resources (unless they are all segregated with CageFS – which isn’t always the case). If some of the other websites are poorly optimised, neglected, constantly run scripts that consume a lot of RAM, or worse have been compromised, it can dramatically impact the other websites including yours. Likewise the performance of your website can affect everyone else on the same server.

With this in mind, upgrading to a better hosting plan or provider might be a good option.

Roll your own hosting with Digital Ocean

This is even more extreme than simply switching hosts, but if you’re comfortable installing a Linux distro and configuring a LAMP set-up, I highly recommend Digital Ocean (actually they now have a simple WordPress server install). They’re ridiculously fast and cheap, and if you combine that with a free Server Pilot account you can easily have a full stack Ubuntu box (or CentOS, Debian, whatever really) up and running before you finish your corn flakes.

If you signup using this link you’ll get $10 credit which, depending on your needs, should be enough to have you going for a few weeks.

❮ Go back to Task Rocket FAQ & Guide