• Resolved lukekowald

    (@lukekowald)


    Hi John,

    Have been using your plugin for some time, and loving it – thank you.

    I have a quick question – we’ve recently changed website hosting to AWS server (with Cloudways) which runs on NGINX, and have seen your documentation page at https://redirection.me/support/groups/ which lists NGINX redirects.

    Will using NGINX redirects ensure the fastest performance?

    We currently have over 6,000 redirects in place, using WordPress redirect. Plus nearly 330,000 (yes, 330,000) 404 items.

    Is there an easy way to move these redirects over to NGINX, assuming there should be a performance improvement?

    I ask, as I notice the “redirection_logs” table is 103 MB in data size (21.4 MB index size) with an overhead of 101 MB. And the “redirection_404” table is 162 MB data size (48.7 MB index size) with an overhead of 78 MB.

    I have today changed settings to only store two months of logs (was previously set to “forever”) and the DB overhead sizes were around 5-7 MB, but they have been increasing throughout the day, and continue to do so!

    I look forward to your reply.

    Thank you,

    Luke

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Godley

    (@johnny5)

    Performance is a subject that is always full of caveats. Moving to Nginx redirects could improve performance a bit, at the cost of other things, and depending on how many redirects.

    6000 redirects in an nginx file may have a negative effect on every request (it has to check 6000 redirects each time), where as Redirection will have the same constant effect (it does 1 database query).

    The size of your log and 404 table isn’t going to affect performance.

    Thread Starter lukekowald

    (@lukekowald)

    Hi John,

    Thanks for the reply and info – good to know.

    Kind regards,

    Luke

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Optimal set up of Redirection Plugin (NGINX)’ is closed to new replies.