Client: NDA Signed & Protected
Location: Chile (CL)
Platform
Bare Metal
Industry
News
User Capacity
135 Million
Provider
Hetzner
The client’s website had many visitors at the same time, especially during peak hours. The currently used server was unable to handle the significant traffic that caused the website to display error messages to the users or slow down the server. This affected the user experience and had an impact on their business. The client needs a better solution that can handle high traffic while keeping the website operating properly. Also, ensure that users can access the website quickly and reliably at any time.
The primary challenge in front of us was to enhance server performance without upgrading existing resources because the client had an allocated budget for infrastructure. The server has multiple elements that affect its performance. It was running cPanel as the control panel, Apache as the web server with PHP configured as mod_php and MySQL was constantly experiencing heavy load. In addition, the website was built on WordPress and has a huge number of plugins which affects the loading time. The goal was to improve server performance and stability by using only the available resources.
Analysis: on taking up the project analyzed the code implemented on the server and researched the best and optimized method to implement the code with optimal resources. We then came with a custom-tailored system that can serve the maximum number of visitors with a minimal number of resources taking into consideration the code, web server, database and language compiler.
Designing the Architecture: We designed an effective architecture for improving server performance with limited resources. Our design includes removing the control panel from the server to avoid unwanted resources and reduce server expenditures. We planned to change the current webserver and as well as to use php-fpm to handle website requests better. To improve performance further, we planned to use caching methods. Also, we wanted to increase database speed by properly indexing and optimizing to enhance response times.
Implementation: To improve the server performance without adding additional resources, we began by removing the control panel and freeing up system resources. Next, we replaced the web server, which is quicker and can handle more traffic efficiently. We also configured PHP-FPM which allows the server to handle several requests at the same time more easily. We also implemented caching methods which helps the website pages to load much faster by lowering the server’s workload. Finally, we increased database performance by proper indexing and optimizing database parameters. Then we ran the system for a test with sudo load to test our hypnotizes and provided great results. We had the system implemented in production and the server took up a load of the visitor coming in without any change in the underlying resources.
The project was completed in 15 days with deployments, testing, auditing, and final delivery.
After implementing this optimized server architecture, we observed a great improvement in performance during high traffic. Key improvements include better load management, faster response times, lower server resource usage and enhanced database efficiency.
The solution we implemented successfully met the client’s requirements by maximizing the use of existing infrastructure while greatly improving user experience. This shows that performance improvement can be achieved through smart optimization without investing in new hardware. We have been managing the server for over five years, continuously helping to grow and improve their website as part of our Linux server management plan.
Infrastructure
Quick Contact