python 静态资源托管_如何托管自己的python模型

python 静态资源托管

Under the topic of deployment with machine-learning, there are a lot of things to consider and a lot of different options that will provide you with a different result. Firstly, there are a lot of standard VPS and semi-shared hosts that you could go with for deploying your models. These are usually not great options for a beginner but allow for more freedom in what applications are used and how the file-system is arranged. Another option is, of course, a deployment solution like AWS or Google Cloud. While these are both great options, neither of them will give you the price-to-performance ratio and convenience of hosting a server yourself. Although there are of course drawbacks to hosting a server yourself, it is certainly a great option if you happen to have good and reliable internet and an extra computer lying around.

在使用机器学习进行部署的主题下,有很多事情需要考虑,许多不同的选项将为您提供不同的结果。 首先,可以使用许多标准VPS和半共享主机来部署模型。 对于初学者来说,这些通常不是很好的选择,但是可以为使用什么应用程序以及如何布置文件系统提供更大的自由度。 当然,另一个选择是部署解决方案,例如AWS或Google Cloud。 尽管这两个都是不错的选择,但它们都不会让您获得性价比,也无法自己托管服务器。 尽管自己托管服务器当然有弊端,但是如果您碰巧拥有良好且可靠的Internet和随处可见的额外计算机,那么这当然是一个不错的选择。

建立 (Setup)

When you’re running your own server, something very important to consider is what it is actually going to run on. You might not have a full-blown server sitting in your closet like many computing maniacs, but that is fine. For most applications, it’s unlikely that you’re going to have a need for 128GB of memory and a ridiculously high core count processor. For example, if you wish to only deploy a few endpoints, maybe serve some static files, you could go with essentially any computer with more than 1GB of memory.

当您运行自己的服务器时,需要考虑的非常重要的一点是它实际将要运行的内容。 您可能没有像许多计算狂一样坐在衣柜里的功能完善的服务器,但这很好。 对于大多数应用程序来说,您不太可能需要128GB的内存和可笑的高核数处理器。 例如,如果您只希望部署几个端点,或者提供一些静态文件,则基本上可以使用内存超过1GB的任何计算机。

That being said, another thing you’ll want to consider is heat. How hot does it get where you live, and do you have centralized air-conditioning? It’s important to keep your server components cool, and server processors generate a lot of heat and will require a lot more environmental cooling than your average computer. As a result, you could even have a server but not want to use it because of the heat in your environment.

话虽如此,您还要考虑的另一件事是热量。 您住的地方有多热,您是否装有中央空调? 保持服务器组件冷却很重要,并且服务器处理器会产生大量热量,并且比普通计算机需要更多的环境冷却。 结果,您甚至可能拥有一台服务器,但由于环境的热量而不想使用它。

Another thing that you might want to consider is power consumption. After all, if you’re not using all of your server’s power, but running a high TDP processor, it might not even be cost-effective to host it yourself — you might end up paying more for electricity than

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值