News for hackers. Stuff that matters.

Ask HN: What is the best approach to build a SaaS Product with Multi-tenancy?

So do you pick

1) Microsoft - ASP - MVC

https://www.appseconnect.com/how-to-design-a-multi-tenant-application-with-asp-net-mvc/

Or using this guys SassKit

http://benfoster.io/blog/saaskit-multi-tenancy-made-easy

A Multi-Tenant (SaaS) Application With ASP.NET MVC, Angularjs, EntityFramework and ASP.NET Boilerplate

https://www.codeproject.com/Articles/1043326/A-Multi-Tenant-SaaS-Application-With-ASP-NET-MVC-A

2) Django

http://django-tenant-schemas.readthedocs.io/en/latest/

3) Any other approaches?

So I would like to know what sort of architectures some startup's have went with, and some of the challenges they hit by picking that approach?

( 1 comment | 2 points | on HN )
Re:Ask HN: What is the best approach to build a SaaS Product... by oblib on Thursday October 19, 2017 @10:54PM (#15513255)
"Multi-tenancy"

That term is new to me but after reading a few descriptions I think that CouchDB 2.0 is designed in a way that may provide those capabilities.

It has built-in authentication and uses "Users" and "Roles" and "Design Documents" that provide controls and methods to create and access data on a specific database.

http://docs.couchdb.org/en/2.1.0/

You might want to look into PouchDB.js as well as the CouchDB Docs.

https://pouchdb.com