Live data from Hacker News

Digital Ocean Secretly Wants You to Switch to Larger Droplets?

sinisterlight.com

21–28 of 28 posts

Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?

#21

I don't see a problem with this. Have you ever actually used an SSD for swap space? It's awful, compared to real RAM anyway.

> Have you ever actually used an SSD for swap space?

Yes

> It's awful, compared to real RAM anyway.

What? SSDs page far faster than HDDs. Comparing an SSD swap to RAM is wrong headed.

Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?

#22
post #10
post #3

....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…

Except every other provider enables swap by default. 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…

AWS micro instances do not have swap or overcommit enabled by default. Caused me problems when trying to run a Go program.

Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?

#23
post #9
post #6

I 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.

This makes sense! Can you give a pointer on how to set up the alerts you mentioned? (home sysadmin here)

I'm using NewRelic's free plan for this. Instructions for setting up their monitoring daemon on Ubuntu server: https://docs.newrelic.com/docs/server/server-monitor-install...

Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?

#24
No, Digital Ocean doesn't want you to blame them for poor performance, or less disk space than advertised when you choose a droplet. SSD swap can in no way replace having adequate RAM. If you really need swap it's easy enough to create a swap file. But starting with swap space on a VM is the kind of premature optimization that would make DO look bad.

Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?

#25

I don't see a problem with this. Have you ever actually used an SSD for swap space? It's awful, compared to real RAM anyway.

> Have you ever actually used an SSD for swap space? Yes > It's awful, compared to real RAM anyway. What? SSDs page far faster than HDDs. Comparing an SSD swap to RAM is wrong headed.

There is nothing wrong with that comparison in the context of swap.

Re: Digital Ocean Secretly Wants You to Switch to Larger Droplets?

#28
post #7

Digital Ocean remains very cost effective even if you move up to a $40 a month plan, compared to the AWS m1.small plan - $40 per month vs $47, and you get an SSD based server and 4TB bandwidth included, plus 4GB vs 1.7GB RAM. The smaller Digital Ocean VPSes are great to play around with, but for real work the $40 remain great, even without swap enabled.

For $44 a month you can get a dedicated Xeon E3 32GB server from OVH in Montreal. http://www.soyoustart.com/ca/en/offers.xml Hertzner in Europe is even cheaper.

OVH's support vs DO's is incomparable. The one time I set up a dedicated server with them, I waited 38 days for it to get going and then the version of Linux on there was so bad I gave up after two weeks of trying to get it sane.
Post reply on HN