简体   繁体   中英

Google cloud Network Bandwidth is Slow

My Website is running on Google cloud. Some pages are taking 5-10 seconds to load jacascript and CSS. How can I increase network speed

I can give you some recommendations to improve your website's performance:

  1. Test your network performance: There are some tools you can use for this task,
  • Iperf is a tool to measure the bandwidth and the quality of a network link. You can find an easy tutorial in this link
  • Netperf is another good network testing tool.
  • traceroute is a computer network diagnostic tool to measure and display packets' routes across a network.
  1. It is important to keep in mind that the latency also depends on where your computer is located and where your instance is. I mean if you are in Australia and your Instance is working in the US you will experience high latency.

  2. Check the CPU and memory usage, if your application is consuming all the resources in your Instance the performance on your website will be so bad. Keep in mind that the more virtual CPUs, the more networking throughput you get.

Additionally, I recommend the following documents that may help you with your issue.

  1. Make the Web Faster
  2. 5 steps to better GCP network performance
  3. TCP optimization for network performance in Google Cloud and hybrid scenarios

On the other hand, I recommend you to review the following guides on asking questions: How do I ask a good question? and How to create a Minimal, Complete, and Verifiable example in order to provide a better context on what you are doing and what you want to achieve.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM