3 ms·
Yep, same here; as a (well paid) hobby, I help smaller companies lower their software bills. When they use 'cloud hosting' instead of a vps or something, that's
by tluyben2 4y ago
Yep, same here; as a (well paid) hobby, I help smaller companies lower their software bills. When they use 'cloud hosting' instead of a vps or something, that's usually the first point where I can cut 80%+. It is crazy how many things are running there that are not used or needed in almost every company I see.
Usually there are software issues (most commonly, no, not enough or plainly wrong db indexes being the #1 top scorer) which drive rds bills to scary height for no reason at all, but the low hanging fruit is unused cloud 'stuff'.
- tomas_nort 4y agoCould you explain how db indexes are costs having no reason at all?
- Thorrez 4y agoI assume tluyben2 means that if the db's index is bad the query has to do a much more expensive scan of the database. By adding correct indices this can be fixed.
- tluyben2 4y agoThat is indeed what I meant; with very little effort and not having much knowledge about database internals, you can save a ton of money. It won’t be perfect that way, but goes a long way vs no indices at all. So that’s why ‘no reason’. Aka very low hanging fruit. Sorry for not being clear and thanks for explaining.
- tinus_hn 4y agoNo to mention adding an index is practically without risk, the outcome of queries is the same except probably faster.
- thegabez 4y agoNot true, as always it depends.
- adamckay 4y agoNot true. An index isn't free so you can impact the write performance, depending on the workload and usecases slower writes could have more of an impact than faster reads. But even in a read heavy application it's possible that your databases query planner is "tricked" into using a specific index which can actually be slower than another (or even none) so you should always measure the impact that adding an index can have on your application.
- tinus_hn 4y agoYes it could be slower, but it’s very unlikely to actually break the application.
- nikau 4y agoTell me you haven't used spanner without telling me...
- danielrpa 4y agoSame here, 70% cut in costs. If efficiency isn't a goal and there isn't a strong push for controlling costs, they just keep going up. I don't know if 1B is a reasonable goal, but Twitter's previous leadership was so incompetent that I wouldn't be surprised. Maybe even more is possible.
- Balgair 4y agoIt's been a fun 'arms race' of sorts between hard-drive manufacturers and FAANG-esque coders. I have a friend that works for a very big hard-drive company. So, think very large data storage at scale. Well, they discovered that a fair bit of their spin-disk machines would get to the max rotation lifetimes with little reader-head arm movement. AKA, they were just run for months at a time without ever being really used. This was after the inherent 'shut off if nothing has been written to you in XXX sec.' code that runs on every machine. They had some digging about, and it turned out that most of the FAANG guys would just write a test bit every XXX-1 sec. to keep the disk spinning. As it improved their internal metrics on 'up time' or whatever else they thought was important. So silly. So, the manufacturer then wrote code to deal with that code to try to save the bearings. And soon enough that code was discovered, and more complicated code was made to keep the disk spinning no matter what. And back and forth until my buddy retired and stopped caring about this strange little 'arms race'. I suppose it's still going on though.
- veqq 4y agoHow do you find clients for this hobby? What sort of message or phrasing do you use?