TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is Kubernetes Operator the new database stored procedures?

4 点作者 eminetto超过 2 年前
I love the idea of using Kubernetes operators to create and manage a project&#x27;s infrastructure. Like the PostgreSQL operator or some examples of API gateway operators. But something tells me that this can be a problem. Like in the past, when we used to store logic inside databases, using triggers and stored procedures. And now we know this kind of architecture can lead to problems related to performance, scale, and vendor lock-in.<p>I know that Kubernetes isn&#x27;t attached to a single vendor, as we can use it without AWS, Google, or other dependencies. But can we be repeating some error from our past broadly using Operators?

1 comment

rektide超过 2 年前
&gt; <i>Like in the past, when we used to store logic inside databases, using triggers and stored procedures. And now we know this kind of architecture can lead to problems related to performance, scale, and vendor lock-in.</i><p>Many people use these database features quite well &amp; suffer no problems. Doing things has risk. We have to keep interpetting _ deciding what risks, pro&#x27;s&#x2F;con&#x27;s there are.<p>It&#x27;s a long read&#x2F;rant, but I recommend Steve Yegge&#x27;s <i>Notes from the Mystery Machine Bus,</i> where he talks about the political alignment of engineers into conservative or progressive positions. He&#x27;s not totally right about his own opinions- turns out static typing has a lot of upsides, or at least, we havent made an IDE that can give us autocomplete as good without it- but the framing, the way of considering how we accept or reject ideas around us is capital.<p>I see a lot of fear in this post. And it seems like an interesting premise. But I&#x27;d need a lot more to go on to start seeing the problem. Autonomic systems have a big risk of going wrong &amp; there being no one in the room who understands, who can dive in &amp; see the operator work: that to me is the chief risk; the de-skilling they enable. Maybe in some ways that mirrors problems stored procedures had. But operators are also capable of having really good observability, of really saying what they&#x27;re doing and why, and that is the perfect counter, is bringing the light of understanding to the darker systems. Where-as the database has rarely been a good debuggable rich-context world.
评论 #34793037 未加载