Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> $6 a month if it can run for $50 with 0 hours invested

With the risk of sounding like a broken record: yes in such a case it is better but that is often not the case at hand; this exact argument is used for spending $500/mo after optimizing the software vs $50k/mo autoscaling with ‘0 hours’ invested (between ‘ because ofcourse it takes a lot of time to even get that working, but, for many programmers, it is apparently easier work?).

A few weeks ago I commented here while optimizing a Laravel cloud install, now I am working on a Clojure one. Client is spending $28k/mo on aws, especially Dynamo and the rest on ELB.

Rewriting to Postgresql standard and the dynamo part to postgres columnstore and adding proper indexes has the lastest stress tests down to a few 100$/mo they will spend when they launch this.

The $28k is spent using exactly your argument, and like most of these projects like this I do, it was quite a lot less than 28k (1 month hosting) to optimize this (which had us rewrite a lot of spaghetti from dynamo to psql).

So yes, in some cases you are right, I would say when cloud hosting pops over 3k (especially if sudden), I would hire a me to have a bit of check to see if you are not burning money for nothing.



Saving a business $X/month is likely worth more than $X.


It is, but that is not my business model :)


Dynamo is costing 28k? I'm a bit confused. What's the cost from Dynamo to Postgres?


Not only Dynamo; the total bill. And Dynamo completely abused while Postgres used as it should be and tuned for what they are doing.

I am not saying Dynamo could not be used or tuned for this work, but Postgres was a better fix and more far more portable ofcourse.


Ah I'm just curious about the $$ cost, I 2 RDS PG instances running on t3.medium, one is 30gb never goes over 10% cpu, the other is ~150gb and never goes over 50% cpu. I also have some dynamo stuff for some session management and wonder if it would be better to just shove it in postgres.

So I read your comment as $28k dynamo to $100 postgresql.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: