If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Upgrading from shared to vds hosting

Started by aqxmdwruc, May 04, 2023, 12:02 AM

Previous topic - Next topic

aqxmdwrucTopic starter

Good afternoon!

Our team previously utilized two websites, one on the WP platform and the other running on the QPL Board engine. Both were functioning smoothly while hosted on shared hosting. However, we made the decision to transfer them over to VDS and opted for a XEON 2 with 10 gigabytes of RAM. Following the transfer of the WP site, several problems arose which required us to configure the server and install various tools such as varnish, memkesh, nginx + pcp. Fortunately, everything is now operating efficiently.

The second site proved to be too much for our server to handle, so we must configure it as well. One solution may be to shift some of the load from the processor to the RAM.

Currently, the first website receives around 4000 visitors per day (www.fara.tj), while the second receives 5000 visitors per day (www.somon.tj). These are the highest rates we have seen thus far!

We are open to any suggestions or feedback!
  •  


uTracevv

There are two options available:
1. Opt for an independent VPS/VDS for the second site and allocate additional resources to the necessitous website.
2. Recruit a programmer to streamline the websites.
  •  

tanuja19

What exactly is the source of the 4k per day? Is it requests or competitive connections, or something else entirely? In any case, a number as small as 4k may not be significant enough to draw conclusions.

To improve performance, first figure out what is causing the drain on resources. XHProf is a useful tool for pinpointing performance bottlenecks, which can then be addressed through rewrites. Typically, the main culprit is the database, followed by inadequate caching and requests made to external servers.
  •  

Odkazylevne

One possibility is to either rent or purchase servers with higher specifications than the current configuration, or to optimize them using both intensive and extensive methods.

In response to such inquiries, it is customary to check the server console from a root perspective. It is likely that OpenVZ is being used (in which case, dumping it on KVM with SSD may be worth a try), or that numerous plugins have been added to WP, which collectively slow down performance, or the setup has been overdone, leading to degraded performance compared to default settings. Alternatively, WP may still be relying on a remote database. There could be several reasons for this issue, and based on available data, only someone with telepathic abilities could provide a much higher level of insight than what we have gathered here.

Proper optimization of servers is crucial for ensuring smooth and efficient operation of websites or applications. It's important to regularly assess and upgrade server configurations, as well as identify and fix any bottlenecks that may be causing issues.
  •  

Sedfinder

It seems like you have successfully transferred your websites to a VDS and resolved some issues with the WP site by configuring the server and installing additional tools. However, you are now facing difficulties with the second site, which is experiencing high traffic. One potential solution you mentioned is shifting some of the load from the processor to the RAM.

Given the high visitor rates on both websites, it appears that your online presence is growing steadily. To handle the increased traffic, it might be helpful to consider a few suggestions:

1. Optimize your website: Ensure that your website is optimized for performance by minimizing file sizes, compressing images, using caching mechanisms, and optimizing database queries.

2. Load balancing: Consider implementing load balancing techniques to distribute the traffic evenly across multiple servers. This can help improve the overall performance and reliability of your websites.

3. Content Delivery Network (CDN): Utilize a CDN service to cache and deliver static assets closer to your users. This can reduce latency and improve the loading speed of your web pages.

4. Scale vertically or horizontally: Evaluate whether scaling up your existing server hardware (vertical scaling) or adding more servers (horizontal scaling) would be beneficial in handling the high traffic volumes. This could involve upgrading your current VDS plan or considering cloud-based solutions.

5. Monitor and analyze: Regularly monitor your website's performance using tools like Google Analytics or other monitoring services. Identify any bottlenecks or areas for improvement and make data-driven decisions based on this analysis.

few additional suggestions to further optimize your websites and handle the high traffic:

1. Database optimization: Optimize your database by indexing frequently accessed tables, minimizing unnecessary queries, and removing any unused data or tables. This can significantly improve the speed and efficiency of your website.

2. Content caching: Implement content caching mechanisms like Varnish or Redis cache to store frequently accessed content in memory. This can reduce the load on your server and improve response times for your visitors.

3. Content delivery optimization: Analyze your website's content delivery to identify any bottlenecks. Consider using techniques like minification, combining CSS and JavaScript files, and leveraging browser caching to reduce the load on your server and speed up page loading times.

4. Server-level caching: Consider implementing server-level caching, such as using Nginx to cache static content or using opcode caching for dynamic content. This can significantly reduce the load on your server and improve overall performance.

5. Analysis and optimization tools: Utilize tools like Google PageSpeed Insights or GTmetrix to analyze your website's performance and receive recommendations for further optimization. These tools can help identify specific areas for improvement and provide actionable suggestions.

6. Advanced server configurations: If you have expertise or access to technical resources, consider fine-tuning your server configurations, such as adjusting PHP-FPM settings, optimizing Apache or Nginx settings, or using advanced caching techniques like object caching or database query caching.
  •  

alicja01

Of course, there may be other steps involved that I'm not aware of, so any advice would be greatly appreciated. I've decided to go with Namecheap as my domain name registrar, but I've heard they offer a lot of extras that I may or may not need. If anyone has experience with this, please share your knowledge. Thank you!
  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...