• okass2 在版块 Cloud服务 中发起了话题 AWS Lightsail 的使用场景 1年, 1个月前

    AWS Lightsail轻量级服务器对表的是阿里云/腾讯云等轻量级服务器,通过极低的成本来获得看似不错的配置。但是有个很严重的缺陷就是CPU做了限制处理。

    官方的说明如下

    Sustainable and burstable zones
    Lightsail uses burstable instances which provide a baseline amount of CPU performance, but also have the ability to temporarily provide additional CPU performance above the baseline as needed. This is referred to as bursting. With burstable instances, you don’t have to over-provision your instance to handle occasional performance spikes—you don’t have to pay for capacity you never use.

    On the CPU utilization metric graph for your instances, there is a sustainable zone, and a burstable zone. Your Lightsail instance can operate in the sustainable zone indefinitely with no impact to the operation of your system.

    Your instance may begin operating in the burstable zone when under heavy load, such as when compiling code, installing new software, running a batch job, or serving peak load requests. While operating in the burstable zone, your instance is consuming a higher amount of CPU cycles. Therefore, it can only operate in this zone for a limited period of time.

    翻译成人话就是:

    • 当CPU使用率在10%以下时,一只可以愉快地运行
    • 当CPU偶尔突破10%时,进入突发区,可以持续运行,但是这个运行时间有限制。

    对于轻量级应用,比如企业展示站,业务需求量比较小的使用场景,lightsail还是不错的选择。如果中大型网站,或者从事编译等对性能要求比较高的场合则不适合,会造成业务中断。

     

WirelessLink
Logo