Digital Ocean Secretly Wants You to Switch to Larger Droplets?
sinisterlight.com
Digital Ocean Secretly Wants You to Switch to Larger Droplets?
1–10 of 28 posts
Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#2Their explanation for the change is [1]:
Why remove swap?
In a multi-tenant cloud environment certain resources are shared amongst customers, and in the case of swap the key resource affected is “disk IOPS” (IOPS stands for “Input/Output Operations per Second”; literally the number of read/write operations that can be performed on the disk per second). Disk IOPS are consumed whenever an application performs any sort of read or write to the physical hard disks.
If Cloud Servers running on the same physical host are running more processes than their allotted RAM, they will begin to heavily utilize swap. This has the side effect of consuming a large portion of the available disk IOPS pool, thereby causing what we refer to as the “noisy neighbor” effect. Put plainly, this means that other virtual machines can monopolize the disk and affect your performance, much like a “noisy neighbor” in the real world can disrupt your quiet dinner plans.
Prior to the change described above, a separate partition, solely dedicated to swap memory, would be given to each virtual machine by default. In order to provide the best service and consistent performance, as well as aligning to industry standard practice, we have removed this default swap partition. We believe this will lead to better customer experiences across the board.
I've also just added a note about it in a blog post here: http://blog.human-friendly.com/a-week-with-docker
I think for beginners having some swap enabled would be a good thing although there are probably production scenarios where there are risks of massive performance degradation once you start swapping and you may prefer to know that you have hit the wall.
On the SSD backed cloud servers I would hope that swap would perform relatively well compared to spinning rust and if that is how you want to use the i/o that they allocate you it should be fine.
[1] http://www.rackspace.com/knowledge_center/article/changes-to...
Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#3You should not consider swap space as additional memory. The performance of swap, even on SSD, cannot compare to RAM.
> Secretly wants you to switch to larger droplets
They operate a business where they get more money if you switch to a larger plan. What, do you think they want EVERYONE to stay on the $5/month plan?
Running out of memory is an issue of not being able to tune your stack correctly, and not being able to scale your application correctly. This is not the fault of Linux, mysql, or your hosting provider. It is your inability to plan ahead and prepare.
Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#4Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#5Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#6Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#7Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#8Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#9I prefer having swap disabled by default and hitting the wall hard when out of memory. Some swap is nice on desktop systems where memory usage can vary a lot. On server, RAM usage should be relatively stable. Tune your stack, pick appropriate plan that leaves some RAM headroom, and be done with it. Ah, and add alerts for when memory usage goes over some threshold.
Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?
#10....what? You should not consider swap space as additional memory. The performance of swap, even on SSD, cannot compare to RAM. > Secretly wants you to switch to larger droplets They operate a business where they get more money if you switch to a larger plan. What, do you think they want EVERYONE to stay on the $5/month plan? Running out of memory is an issue of not being able to tune your stack correctly, and not be…
I understand another reason why they don't do it though... SSD has a very low amount of writes available, and if low mem machines are swapping all the time, then the SSD will wear out much more quickly.
Another annoying thing is that they disabled resizing the SSD space used. So now, when people upgrade from say 20GB to 30GB there is no easy way to do it. They did used to do this, but they disabled the easy interface for it. So lots of people upgrading are not getting what they paid for, or expected (easy upgrades of VMs).