I do not understand how cloud proponents talk about the he costs of self hosting but then get into situations like this. Spending serious engineering time to wrangle with the complexities of cloud orchestration is not something that should be taken lightly. Cloud services should be required to have a black-box Surgeon’s General warning.
> Spending serious engineering time to wrangle with the complexities of cloud orchestration is not something that should be taken lightly. Bare metal and datacenter orchestration is leaps and bounds more complex. You're paying for the abstraction.
Saving months of compute time with a single Grafana query
41–50 of 54 posts
Re: Saving months of compute time with a single Grafana query
#42Earlier quoted context omitted.
The problem wasn't between the cloud and self hosting - the problem was they had stateful code that didn't scale to thousands of requests for different clients. So they are bringing up new instances every invocation. The same 3s runtime startup cost (and need for more hardware) would happen if they were running their own servers.
Would the actual costs have been less, the same, or more, running on their own hardware? Processes can take longer running on your own hardware, but still have a lower TCO.
Re: Saving months of compute time with a single Grafana query
#43I really don't understand spinning up a whole pod just for a request Wouldn't it be cheaper to just keep a pod up with a service running? If scaleability is an issue just plop a load balancer in front of it and scale them up with load but surely you can't need a whole pod for every single one of those millions of requests right? > Checkly is a synthetic monitoring tool that lets teams monitor their API’s and sites co…
Re: Saving months of compute time with a single Grafana query
#44now i write ml code and deploy it on a docker in gcp and the same issues all over again. you import pandas gbq and pretty much the entire google bq set of libraries is part of the build. throw in a few stadard ml libs and soon you are looking at upwards of 2 seconds in Cloud Run startup time. You pay premium for autoscaling, for keeping one instance warm at all times, for your monitoring and metrics, on and on. i am yet to see startup times below 500ms. you can slice the cake any which way, you still pay the startup cost penalty. quite sad.
Re: Saving months of compute time with a single Grafana query
#45I really don't understand spinning up a whole pod just for a request Wouldn't it be cheaper to just keep a pod up with a service running? If scaleability is an issue just plop a load balancer in front of it and scale them up with load but surely you can't need a whole pod for every single one of those millions of requests right? > Checkly is a synthetic monitoring tool that lets teams monitor their API’s and sites co…
The article said they had to do a bunch of cleanup between requests when it was handled by one service. Which surprised me but these requests must be doing more than just HTTP requests I guess.
Re: Saving months of compute time with a single Grafana query
#46I do not understand how cloud proponents talk about the he costs of self hosting but then get into situations like this. Spending serious engineering time to wrangle with the complexities of cloud orchestration is not something that should be taken lightly. Cloud services should be required to have a black-box Surgeon’s General warning.
'accept vendor lock in, it'll save you the cost of engineers' Routinely: oops, our API usage slipped and we mistakenly paid more than the staff to avoid this would cost Keep fucking up, tech industry. My job role depends on it (SRE)
Cloud stuff is really alluring at first. Works for awhile then the costs become above what it would cost to run it yourself. Cloud is not a 'set it and forget it' sort of thing. You have to manage it too.
Re: Saving months of compute time with a single Grafana query
#47Earlier quoted context omitted.
Maybe even shunning the reasonable Price of Education while paying the significant Costs of Ignorance.
AWS has a three day course on the technicals of efficient cost management. Believe it or not...I heard is one of the least requested classes....
Re: Saving months of compute time with a single Grafana query
#48Earlier quoted context omitted.
The best advantage of cloud was never price: It was not having to argue with your data center organization, which often lead to taking months to provision anything, even a very boring VM. If those companies were good at managing data centers, and could hire people actually interested in helping the company run, they'd have had little need for the cloud in predictable compute loads. Until you get quite big, all necess…
> which often lead to taking months to provision anything, even a very boring VM It's still true? In my experience it used to be, nowadays most of the organizations have an internal serf-provisioning portal.
Which will create things in cloud…
Re: Saving months of compute time with a single Grafana query
#49Earlier quoted context omitted.
> Spending serious engineering time to wrangle with the complexities of cloud orchestration is not something that should be taken lightly. Bare metal and datacenter orchestration is leaps and bounds more complex. You're paying for the abstraction.
It really isn’t. I use a combination of bare metal, VMs on those bare metal, and servers hosted at places like Digital Ocean. Orchestration is dead simple and mostly automated using off the shelf, open source tools. If a server goes down, it’s a few minutes to replace it. The cloud based hosting is a fixed cost each month - no usage based surprises. Meanwhile, for clients, spent huge amounts of time fixing broken Kub…
Like you drive to the server rooms and have a stack of new servers, physically replace the old one with the new one and re-set everything in a few minutes? Or is your “bare metal” an ec2 instance?
Re: Saving months of compute time with a single Grafana query
#50Sadly Grafana (cloud) comes at a cost too. Anyone struggles with this horrible active metrics based pricing too? Not only Grafana Cloud but others do it like that too. We moved shitloads to self hosted Thanos. While this comes with its own drawbacks obv, I think it was worth it.