简体   繁体   English

webapp有时运行很慢

[英]Webapp runs very slowly sometimes

Using PHP, I've developed an ERP system.使用 PHP,我开发了一个 ERP 系统。 But sometimes, the customer claims about the speed.但有时,客户声称速度。 Recently, I had the same problem when working in the system and it took a minute for the page to be fully loaded:最近在系统中工作的时候也遇到了同样的问题,页面完全加载花了一分钟:

接收数据

The data was received at 45 seconds... Anyone ideas why this could take so long sometimes?数据是在 45 秒时收到的……有人知道为什么有时会花这么长时间吗? This happens on random pages and handlings at random times.这发生在随机页面和随机时间处理上。 Could this be a problem from the server or from the Internet?这可能是服务器的问题还是 Internet 的问题?

It could be a performance issue with the server, it could be a performance issue with the client's internet connection, or it could be a performance issue with the way you have coded soemthing, eg a MySQL query.这可能是服务器的性能问题,也可能是客户端 Internet 连接的性能问题,也可能是您编码某些内容的方式(例如 MySQL 查询)的性能问题。

If your server is shared hosting, then a performance issue with the server may be the most likely explanation.如果您的服务器是共享主机,那么服务器的性能问题可能是最有可能的解释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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