网页的用户数量

发布于 2024-10-13 07:19:58 字数 145 浏览 3 评论 0原文

我有一个网页,可以从我网站上的 Access 文件(Microsoft Access 文件)读取数据。有多少用户可以同时访问该页面?

如果太多用户同时尝试访问该页面,该页面是否会在某个时候崩溃?使用从文本文件读取数据的 PHP 文件更好,还是使用相同的文件更好?

I have a webpage that reads data from an Access file (Microsoft Access file) on my website. How many users can visit that page at the same time?

Would the page crash at some time if too many users tried to visit that page at the same time? Is it better to use a PHP file that reads data from a text file or its just the same?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

深海不蓝 2024-10-20 07:19:58

有许多变量会影响有多少人可以同时使用您的网站(大致称为可扩展性),包括您的数据库、硬件、网络、缓存等。是的,在某些时候,如果越来越多的用户访问该页面,您的性能将会下降。

从您提供的信息中很难判断您的网站的可扩展性如何。 PHP 可能会更快,但不一定。始终对承诺卓越性能的技术持怀疑态度。

目前,您最好的选择是尝试估计您期望的并发用户数,然后使用负载测试工具,例如 JMeterApache Bench其他来评估您的网站是否能够站得住脚直至负载。

There are many variables that influence how many people can simultaneousness use your website (loosely known as scalability), including your database, hardware, network, caching and more. And yes, at some point your performance will degrade if more and more users access the page.

It would be really hard to say from the information you provided how scalable your website is. PHP could be faster but not necessarily. Always be skeptical about technologies that promise superior performance.

For the moment your best option is to try and estimate how many concurrent users you are expecting and then use a load testing tool like JMeter, Apache Bench or others to assess if you're website will stand up to the load.

清风夜微凉 2024-10-20 07:19:58

事实证明,我的网站托管在 Domain.com 上。 Domain.com 说我有无限的带宽频率。但实际上我不这么认为。

我的网站崩溃了,因为它在同一台服务器上托管着数千个网站。因此,即使它说无限,带宽也是有限的。我唯一的解决方案是将我的网站托管在 VPS 上。基本上将我的网站托管在服务器上。

It turns out that my website was hosted on Domain.com. Domain.com say that I have unlimited bandwidth frequency. But in reality I don't.

My website was crashing, because it was hosted with thousands of websites on the same server. So the bandwidth is limited even though it says unlimited. My only solution was to host my website on a VPS. Basically hosting my website on a server by itself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文