TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Multi-tenancy in software vs. infrastructure for SaaS

17 pointsby slayerjainalmost 5 years ago
What would be the best approach to be multi-tenant for $100k+ customers using your SaaS? (around 500 customers at scale)<p>Should you build your platform to be multi-tenant? or should you just run the whole stack separate for each customer in something like Kubernetes namespace and build an interface to easily create such environments?

5 comments

LiamPaalmost 5 years ago
Recent thread but focus on the db side:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23305111" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23305111</a>
评论 #23825174 未加载
wikibobalmost 5 years ago
If you expect to continue to scale, the multi-tenancy should be in software.<p>One reason is overhead. Each instance of the system will have overhead, and as you scale to more and more customers, that overhead will eat up your profits. If it&#x27;s a well-engineered multi-tenant system, you won&#x27;t have this issue.
评论 #23825264 未加载
bomdoalmost 5 years ago
Both are valid. It depends on the footprint, type of SaaS (e.g. running complex offline-processing vs running heavily customized web-shops), your PII regulations and your ideal customer type and size.<p>It can be easier to have custom subdomains running separate instances, since this will limit how outages&#x2F;upgrades&#x2F;security affect customers. You also can intentionally keep a customer on an old version, which can be a bug or a feature.<p>But it can also be easier to have tenants, since you can update all users at the same time and you will pay less overall for infrastructure.<p>Having done both, I personally prefer tenants since it&#x27;s easier to write, support and scale. But if you&#x27;re B2B, you should carefully investigate the other option.
评论 #23821521 未加载
verdvermalmost 5 years ago
You will need both. Cloud is for on boarding, enterprise is on prem. So build your cloud where ever and how ever, don&#x27;t expect it to make money, prepare to deploy in all major clouds, and then take in the EE dollars.<p>Kubernetes is a great choice here.
评论 #23824149 未加载
taf2almost 5 years ago
Is that 100k monthly or annually? Also how much data is that for each customer ?
评论 #23824122 未加载