We are hosting a forum using the Discuz 7.2 forum web application. But our hosting provider is complaining about our usage so we have to do some load balancing.
We need some one that is good in PHP to help us modify the source code to achieve load balancing.
What we need to achieve is to do a load balance between two website by redirecting user. The two website will be hosting on different hosting provider so it will be impossible to do any web server configuration to achieve load balancing.
Basically you can use a simple algorithm like mod 2 to redirect all the odd numbered visitor to server 1 and the rest to server 2.
But the problem is all the attachment are currently hosted on server 1 and you will need to modify the program so that all the attachment's link in server 2 will point to server 1. You will also need to cater so that user that are redirected to server 2 will upload any attachment to server 1. (in this way there will be no need to sync the attachment between two server, as attachment is not very high load in our scenario.)
Besides that you will also need to solve any bug or problem after doing the load balancing.