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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How to prevent internal users from overloading shared data stores?

1 点作者 staccatomeasure大约 3 年前
Imagine you have a database or service that multiple teams leverage for their service. Sometimes, those users release code that adds or accesses data in a new way that causes issues for the infrastructure and all other tenants. How would you prevent this? How do you manage shared infrastructure in a many-team environment?

2 条评论

zaphar大约 3 年前
If you can afford to invest in building/buying it then add rate limiting. With that in place the only person they can hurt are themselves when they go over the limits. It requires engineering and negotiation with other teams to roll out though so your success at implementing this can vary depending on the organization.
viraptor大约 3 年前
Per-tenant rate/resource limits. There's no magic solution here really. You need to implement the limits either at the data store side if possible, add a limits-aware proxy if not, or enforce that all clients respect some shared limits system.