|
Post by account_disabled on Jan 31, 2024 8:23:30 GMT
本文是与SiteGround合作创建的系列文章的一部分。感谢您对合作伙伴的支持,使 SitePoint 成为可能。 在过去的几年里,托管选项的范围变得异常复杂。基础很简单:计算设备安装了可以响应网络事件(例如网页请求)的软件。硬件和软件的安装、配置、组织、打包、推广和销售方式是所有托管选项之间的主要区别。 专用服务器是最容易理解的选择。想象一下,您从本地商店购买了一台 PC,将其连接到家庭网络,安装了 Web 服务器软件并适当配置了 DNS。该设备将能够运行您的网站并满足来自世界各地的请求。但它能否应对系统崩溃、流量激增、意外断电、盗窃或安全漏洞?破坏该设备的人可以访问您网络上的所有内容。 SiteGround等 Web 主机提供专用服务器来解决这些问题。您实际上拥有(或租赁)位于主机数据中心机架中的服务器。 管理级别各不相同,但大多数主机都会提供预安装的操作系统和您需要的软件。要求更高的操作可能需要多个具有负载均衡器和独立后端数据库的设备。 Learn to Code with JavaScript 使用方便 房东通常会提供一定程度的帮助,但您基本上只能靠自己了。连接、安装和配置系统所需的软件需要技术专业知识。 具有不寻常或高于典型要求的大型公司通常会选择专用服务器。他们可能有一个团队负责日 WhatsApp 号码数据 常服务器运营。 灵活性 专用服务器提供终极灵活性。这是您的设备:您可以在需要时安装您喜欢的任何设备。您需要 PHP3、Node 8 和最新的 MariaDB 测试版吗?没问题。 能力 该设备的功能仅受预算限制。您可以选择最快的处理器、大量的 RAM 和多 PB 硬盘。您可以添加更多服务器并最终拥有自己的服务器场。 表现 该设备的完整处理能力是您的,并且只属于您。 您可以完全、不受限制地访问整个硬盘和所有处理资源。 如果这还不够,您可以更换或添加更多组件。在系统中添加额外的硬件通常比花费数周时间优化软件更具成本效益。 Learn to Code with JavaScript 带宽仍然受到数据中心容量的限制,但专用服务器仍然是最终的性能选择。 可靠性 您的服务器的可靠性取决于硬件。处理器、RAM 磁盘和其他组件最终会发生故障,但大多数主机都会提供某种程度的监控。RAID0(独立磁盘冗余阵列)选项将防止大多数数据丢失。 安全 “拥有权利的同时也被赋予了重大的责任。” 您的主机通常会提供备份和监控服务,但它是您的服务器,您可以做您喜欢的事情。没有什么可以阻止您登录并运行rm -rf /以删除所有内容。 安全 房东会提供建议,但安全主要是您的责任。您将需要安装和配置防火墙、病毒扫描程序、SSL 证书和其他必要的选项。
|
|