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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Why Unleash loves private instances

2 点作者 ivarconr大约 2 年前
I am the CTO of Unleash. I built Unleash as a side hobby. I didn’t anticipate that Unleash would grow into the company it is today.<p>Our first paid customer requested that we host them, I looked at it as a one-time thing. It made a lot of sense to just set them up in a private instance. It wasn’t a one-time thing. Or a three-time thing, for that matter. Unleash kept growing its cloud offering, and each new customer was given a single tenant private instance.<p>Eventually we had a lot of customers that we managed manually, and it was at that point we had to decide whether to move on to a multi-tenant solution that could support all customers in a single application.<p>The main benefit of private instances is obviously security, but it’s also about flexibility and privacy. If you tell us to host your instance in the US, we can. We’ll host it in our US cluster and it won’t be in Europe.<p>In other words, private instances allowed Unleash to offer true data residency. I knew that a multi-tenant hosted solution would be more limiting. With multi-tenant, you don’t know where the data goes. You don’t know where it’s housed.<p>Privacy is in fact a huge benefit. Unleash’s approach to building private instances plays a huge part in it.<p>We didn’t build single tenancy into the software itself, but in the infra layer instead. It basically means we can run separate instances of Unleash with unique configurations per customer.”<p>Unleash customers also benefit from how we use Kubernetes to run applications in Docker containers: We use a separate namespace for each customer. This means a single customer can never access another customer’s data.<p>Every customer has their own database. It’s not technically possible to access the secrets of another customer. Kubernetes brings with it a number of security features.<p>The industry trusts Kubernetes. We do too. It’s the de facto standard of how you run applications today. With Kubernetes, it’s pretty much impossible to break out of a container.<p>Unleash also discovered a unique scalability that comes with private instances.<p>If a customer uses beyond their committed resources, we can add resource limits or increase capacity at the customer level. We don’t have to apply it to the whole platform.<p>What this means is that, as a customer hosted by Unleash, you can trust that another customer’s usage won’t affect your own.<p>We’re able to measure the performance–and in general, the SLI– per customer. We have objectives per customer, not across customers. So we can figure out pretty quickly why a single customer might have a lower quality experience.<p>In the end, for me, it’s all about simplicity.<p>I really love what you can unlock by thinking in simple terms. For the customer, it’s just an app. It’s not rocket science.<p>Simplicity is something that tends to resonate with developers, who habitually work with very complex systems. As a developer, I am familiar with this mindset.<p>We’re very good at making stuff complex, and making microservices on huge platforms where everything needs to be perfect. And we can be proud of complex systems that nobody understands.<p>Private instances are a way to solve that inclination. This is especially true with how Unleash has moved tenancy to the infra layer. In other words, by using an infra layer for our private instances, aspects of Unleash like security, performance, privacy, and hosting flexibility remain baked in the Unleash infrastructure.<p>This means we don’t have to reconsider those needs for every change we make to Unleash’s core application.<p>As a result, the Unleash experience not only is a lot less complex, but can easily adjust to whatever a user needs. What we’ve managed to do is make something simple, scalable.

1 comment

ivarconr大约 2 年前
If we had started Unleash just a few years earlier, we would not have been able to scale private instances like we have.<p>This is because platforms like Kubernetes empowers Unleash to efficiently sandbox customers. And as managed Kubernetes matures, this sandboxing becomes easier and easier to run.<p>This significantly brought down the cost of choosing single tenant private instances over multi-tenant solutions. It changed the calculus, especially when you bring in all the benefits of single tenancy.<p>In this way, single tenant private instances have shifted from an outdated way of doing things, to the future.<p>Ten years ago it would have been nonsensical to choose single tenant. It would have been seen as a step backwards. A focus on private instances is not for everybody, particularly for B2C companies.<p>While we can do more today, there is obviously a cap on how many customers we can do this with. We’re nowhere near that limit, and newer technologies could make this even more scalable over time. But for a B2C company with millions of tenants, private instances probably wouldn’t make sense just yet.