News for hackers. Stuff that matters.
Re:Scaling to 100k Users by hartator on Thursday February 06, 2020 @01:09AM (#22253793)
Auto-scaling doesn’t take 3-5 hours to set up. Or come work for us!
Re:Scaling to 100k Users by herval on Thursday February 06, 2020 @11:42AM (#22257521)
He used GCP, setup a pubsub topic and a cloud function. It took less than an hour to setup, the rest of the time was rewriting a portion of the code to write to the queue, etc.

There’s other ways in other platforms as well (eg if you’re using Kubernetes)

Re:Scaling to 100k Users by pojntfx on Thursday February 06, 2020 @01:54AM (#22254011)
With a Kubernetes autoscaler, this takes you ~20 Minutes to setup pod autoscaling. If you run your k8s on say GKE, setting up node autoscaling is another 5 Minutes.
Re:Scaling to 100k Users by nrb on Thursday February 06, 2020 @02:07AM (#22254066)
I totally agree with you, once you've factored in the dozens of hours gaining knowledge of k8s and hundreds+ of hours of experience dealing with it in production. You can get by with far less, but it's going to be pretty stressful when things go sideways in prod without knowing exactly why.
Re:Scaling to 100k Users by pm90 on Thursday February 06, 2020 @02:26AM (#22254171)
This is sort of a strange argument. If your argument is that we need to factor in prior knowledge, naturally I will ask: how MUCH prior knowledge?

* do i need to factor in experience with VMs?

* do i need to factor in OS and networking theory learnt in college?

* do i need to factor in high school algebra?

* do i need to factor in learning the english language?

Of course you need to factor in learning k8s. Before, it was learning VM's+ {ansible, chef, salt}, before that it was prob something else.

Re:Scaling to 100k Users by koffiezet on Thursday February 06, 2020 @04:07AM (#22254645)
In theory maybe.

In practice - the application running in the pod has to be aware of this, and the most intensive part are rarely the bottleneck. Most of the time this is an architecture issue, not a resource issue. This takes time and experience, and overhauling a platform to remove a bottleneck is usually very painful if you have a bit more complex setup.

Re:Scaling to 100k Users by collyw on Thursday February 06, 2020 @05:32AM (#22254965)
We put everything in Kubernetes to scale. Now large uploads and downloads fail more often than before.
Re:Scaling to 100k Users by mkarnicki on Sunday February 09, 2020 @03:41AM (#22281087)
Are you saying k8s is to blame for large file upload/download failures? Maybe your infra needs a tweak?