HackerTrans
トップ新着トレンドコメント過去質問紹介求人

blaisio

no profile record

コメント

blaisio
·4 年前·議論
One could argue that all they did was move most of the complicated logic into the blob store. Not that it's a bad thing.
blaisio
·4 年前·議論
Haha I meant panic as in become scared, not the go panic.
blaisio
·4 年前·議論
Go is my default language for any non-client-side project. That said, I agree with all the criticisms, except for the one about unused variables/imports and the lack of warnings in the compiler. I'd also add one of my own - I'm an expert go programmer, but I still panic sometimes when dealing with error handling. It is still not as easy as it could be to produce useful error return values.
blaisio
·4 年前·議論
No, sorry but I don't think you understood the article. Readiness probes don't fix this. In fact, they could exacerbate the problem (although you obviously need them anyway). The problem is Kubernetes and the Load Balancer react to pod status changes at different times. (In fact, it's worse - different Kubernetes components also react to status changes at different times.) The load balancer is almost always too slow to react, so, it sends traffic to an instance that has already started shutting down.
blaisio
·4 年前·議論
Yes! I think this is a really under-reported issue. It's basically caused by kubernetes doing things without confirming everyone responded to prior status updates. It affects every ingress controller, and it also affects services of type "Load Balancer" and there isn't a real fix. Even if you add a timeout in the pre stop hook, that still might not handle it 100% of the time. IMO it is a design flaw in Kubernetes.
blaisio
·4 年前·議論
Op should really delete this blog post. It has a lot of details that could be used against them in court.
blaisio
·5 年前·議論
Actually, it is normal for there to be dilution in each funding round, including an IPO.