cases

Client Success Story: Optimizing Server Infrastructure for Enhanced Database Performance

Daniela Ochoa

August 23rd, 2024

At Detechtiva, we understand that as businesses grow, so do their technological needs. Recently, one of our longstanding clients, who initially set up their application and database on a single server, began experiencing performance issues as their user base expanded. The database, in particular, required frequent restarts, which was disruptive to their operations.

Given that we manage all of our clients’ applications through Forge, we swiftly identified the solution: separating the application and database onto different servers. By creating a new dedicated database server, we were able to significantly reduce the strain on their infrastructure.

The process was straightforward:

1. We created a new database server through Forge.

2. We updated the .env configuration file to point the application to the new server.

DB_CONNECTION=mysql
DB_HOST=DATABASE.SERVER.IP
DB_PORT=3306
DB_DATABASE=database-name
DB_USERNAME=user-name
DB_PASSWORD=*********

3. Finally, we added a rule on the database server to allow connections from the application server to port 3306.

This simple yet effective change resolved the performance issues, allowing our client’s database to run smoothly without the need for frequent restarts. Now, their infrastructure is better equipped to handle their growing needs, and they can focus on their core business without worrying about technical disruptions.

At Detechtiva, we are committed to providing scalable and reliable solutions that grow with our clients.

Share:

LinkedIn
Daniela Ochoa

Daniela Ochoa

Software Engineer who has spent much of her career managing development teams and overseeing projects. With a strong background in project management, shifted focus toward hands-on software development and technical execution.

Also read

Detechtiva at Laracon US 2024

We had an amazing time at Laracon US 2024, where we explored the latest Laravel enhancements.

Sep 3rd