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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Multi-tenant vs. Multi-instance architecture

3 点作者 samrohn778将近 7 年前
What are the pros and cons? More interested to know about the multi-instance approach. Given a chance to decide, what all criteria you will use to evaluate them for a Saas product.

1 comment

ryanchants将近 7 年前
Multi-tenant is almost always my preference. Data can still be segregated per-client at that database level. Multi-tenancy with a solid session caching layer will allow you to horizontally scale as needed.<p>Multi-instance will require setting up new servers per client. Potentially increasing cognitive overhead of which servers are handling what. Definitely increasing costs, as each server will have idle CPU cycles that could have been used to serve up a smaller clients.