☁️ Cloud

SaaS

Software as a Service

Software as a service. Subscription-based. Slack, Notion, Salesforce.

📖 Detailed Explanation

SaaS (Software as a Service) is a cloud service model that delivers software over the internet. Users use applications with just a web browser, without installation or maintenance, and pay on a subscription basis. It is the top layer of cloud services, built on top of IaaS and PaaS.

SaaS was popularized in 1999 when Salesforce delivered CRM over the web. The global SaaS market is currently worth $200 billion annually, and most enterprise software is shifting to SaaS. Representative examples include Slack, Notion, Google Workspace, Microsoft 365, and Zoom.

A key characteristic of SaaS is multi-tenancy. Multiple customers share the same infrastructure and codebase, but their data is logically isolated. This achieves economies of scale and allows updates to be deployed to all users immediately.

Key metrics for a SaaS business include MRR (monthly recurring revenue), ARR (annual recurring revenue), churn rate, LTV (customer lifetime value), and CAC (customer acquisition cost). A successful SaaS has an LTV/CAC ratio of 3 or higher and a net revenue retention (NRR) above 100%.

💻 Code Example

# Multi-tenant SaaS 아키텍처 예시 (Django)
from django.db import models

class Tenant(models.Model):
    """테넌트 (고객사)"""
    name = models.CharField(max_length=100)
    subdomain = models.CharField(max_length=50, unique=True)
    plan = models.CharField(max_length=20, choices=[
        ('free', 'Free'),
        ('starter', 'Starter'),
        ('pro', 'Professional'),
        ('enterprise', 'Enterprise')
    ])
    created_at = models.DateTimeField(auto_now_add=True)

class TenantAwareModel(models.Model):
    """테넌트 종속 모델 베이스"""
    tenant = models.ForeignKey(Tenant, on_delete=models.CASCADE)

    class Meta:
        abstract = True

class Project(TenantAwareModel):
    """프로젝트 - 테넌트별 격리"""
    name = models.CharField(max_length=200)
    owner = models.ForeignKey('User', on_delete=models.CASCADE)

# 미들웨어 - 요청마다 테넌트 식별
class TenantMiddleware:
    def __init__(self, get_response):
        self.get_response = get_response

    def __call__(self, request):
        # 서브도메인에서 테넌트 추출
        # acme.myapp.com -> acme
        subdomain = request.get_host().split('.')[0]
        request.tenant = Tenant.objects.filter(
            subdomain=subdomain
        ).first()

        return self.get_response(request)

# 뷰에서 자동 필터링
class ProjectViewSet(viewsets.ModelViewSet):
    def get_queryset(self):
        # 현재 테넌트의 데이터만 조회
        return Project.objects.filter(
            tenant=self.request.tenant
        )

🗣️ Say It Like This in Practice

💬 In a Tech Stack Discussion
"Since this is a SaaS product, multi-tenancy design is important. Start with a Shared Database + Row-level Security, and add a Database per Tenant option when enterprise customers come along. We'll handle subscription billing with Stripe and manage per-plan feature limits with Feature Flags."
💬 In a Business Meeting
"Our MRR is currently $50K and monthly churn is 3%. The LTV/CAC ratio is around 4, which is healthy. If we raise the annual billing conversion rate, churn drops and cash flow improves. With an NRR of 110%, we can grow on upgrades from existing customers alone."
💬 In an Interview
"Let me explain the difference between IaaS, PaaS, and SaaS. IaaS provides only infrastructure and you manage the rest yourself, PaaS provides the platform too so you just deploy code, and with SaaS you use finished software. AWS EC2 is IaaS, Heroku is PaaS, and Salesforce is SaaS."

Take a mock interview on this topic → WIA SOOM AI Interview · Start for free

⚠️ Common Mistakes & Cautions

❌
Tenant data isolation failure

In multi-tenancy, if you forget the tenant filter in a query, other customers' data is exposed. Apply a default filter at the ORM level, and conduct regular security audits and penetration tests.

❌
Underestimating vendor lock-in

If you store business-critical data in SaaS, leaving is difficult. Check whether there is a data export feature and whether it can be automated through an API. Critical data needs a backup strategy.

✅
Considerations when building SaaS

Design pricing policy (Free/Starter/Pro/Enterprise), tenant isolation level, data retention/deletion policy, GDPR/privacy regulation compliance, and SOC 2 certification early on. SSO (Single Sign-On) and SCIM provisioning are essential enterprise features.

🔗 Related Terms

📚 Learn More