News for hackers. Stuff that matters.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by ahepp on Tuesday October 21, 2025 @07:44PM (#45663205)
What do you think is going to happen? I tested it out on an ec2 instance just now and it seems to have worked as one would expect.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by awesome_dude on Tuesday October 21, 2025 @08:35PM (#45663613)
EC2 != VPS
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by cmpxchg8b on Wednesday October 22, 2025 @01:28AM (#45665189)
They both offer virtualized guests under a hypervisor host. EC2 does have more offload specialization hardware but for the most part they are functionally equivalent, unless I'm missing something...
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by ahepp on Wednesday October 22, 2025 @10:22PM (#45677481)
What VPS do you think this would cause problems on? Why?
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by Zekio on Wednesday October 22, 2025 @04:57AM (#45666456)
well once you "need" that swap, it will be writing pages across the network due to the storage being external to the physical server, so the latency is terrible
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by kassner on Wednesday October 22, 2025 @05:38AM (#45666737)
Put swap on the “instance store” disk, not EBS.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by ahepp on Wednesday October 22, 2025 @10:19PM (#45677456)
Latency of swap is always terrible in comparison to RAM. RAM vs disk is already something ~1000x right? I've never characterized EBS vs trad ssd, but I would be surprised if it's more than 10x.

I don't think using swap as "emergency RAM" makes a lot of sense in 2025. The arguments in favor of swap which I find convincing are about allowing the system to evict low use pages which otherwise would not be evictable.