开发多租户SaaS [英] Developing a Multitenant SaaS

查看:448
本文介绍了开发多租户SaaS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个用于农业数据集数据分析的Web应用程序。实际上,我想让



应用程序成为多租户,并且希望在私有云(我们学校)中部署该SaaS应用程序。



我在编程部分有一些基本的疑问。


  1. 应用程序在Hadoop的map / reduce功能?


  2. 其次,选择数据库。由于数据本质上是高度结构性的(如sql)我可以使用一个sql服务器来管理云中的数据吗?在这种情况下,除了IaaS设置和SaaS应用程序,我还需要任何中间件?


  3. 我使用J2EE技术​​进行SaaS开发。而租户的数量将在50以内。哪种方法在数据库方面更好。


  4. 您能告诉我开发多租户SaaS的基本要求是什么?即是否所有的应用程序,平台和数据库被配置为多租户还是只配置数据库部分?



    我是这个技术的新手,我更喜欢只使用开源技术。


请告诉我您的建议,



感谢您的宝贵时间。



尊敬的,



Sangita

解决方案

我需要在Hadoop的map / reduce功能中开发应用程序吗?

map / reduce与SaaS或多租户无关。






选择数据库。由于数据本质上是高度结构性的(如sql)我可以使用一个sql服务器来管理云中的数据吗?在这种情况下,除了IaaS设置和SaaS应用程序,我需要任何中间件吗?



这主要取决于您的数据使用情况。然而,多租户系统的主要方面之一是数据模型扩展。在RDBMS世界中有多个已建立的选项来支持这一点。有关详情,请查看此处



一般来说,NoSQL数据库是首选,因为它们支持更多的非结构化数据结构。






我正在使用J2EE技术​​进行SaaS开发。而租户的数量将在50以内。哪种方法在数据库方面更好。实际上安全性不是这里的一个大问题。



如果安全不是一件大事,那么你可以将所有客户的数据共同放在同一个数据库模式实例。这是最简单的方法,但将意味着更多的dba头痛,如归档/备份等。看看利弊此处






您能告诉我什么是开发多租户SaaS?即是否为多租户配置的所有应用程序,平台和数据库,还是只配置数据库部分?



品牌化(客户特定的UI主题等),工作流,数据模型扩展和访问控制是需要考虑的任何多租户系统的4个主要方面。 (来源)。因此,您选择的任何设计或架构都应该能够解决这些方面。



建议阅读: Force.com多租户架构


I am developing a web application for data analysis on agricultural datasets. Actually I want to make the

application to be multi tenant and I wish to deploy that SaaS application in a private cloud (in our school).

I got a few basic doubt in the programming part.

  1. Do I need to develop the application in the Hadoop's map/reduce functionality?

  2. Secondly,the selection of database. Since the data are highly structural in nature (like sql) can I use a sql server to manage data in cloud? In such do I need any middleware in addition to the IaaS setup and the SaaS application?

  3. I am using J2EE technology for SaaS development. And the number of tenants will be within 50. Which approach is better in tha data base aspect. Actually security is not a big concern here.

  4. Could you please tell me what are the basic requirements to develop a multi-tenant SaaS? ie whether all the application,platform and database to be configured for multi tenancy or else only the database part?

    I am new to this technology and I preferred to use only the open source technologies for the development.

Kindly give me your suggestions which could be highly helpful to proceed in the right direction.

Thank you for your valuable time.

Regards,

Sangita

解决方案

Do I need to develop the application in the Hadoop's map/reduce functionality?

map/reduce has no relation to SaaS or multitenancy


Secondly,the selection of database. Since the data are highly structural in nature (like sql) can I use a sql server to manage data in cloud? In such do I need any middleware in addition to the IaaS setup and the SaaS application?

This mainly depends on your data usage. However, one of the main aspects of multitenant system is the data model extension. There are multiple established options to support this in RDBMS world. Look here for more details.

In general, NoSQL databases are preferred as they support more unstructured data structures.


I am using J2EE technology for SaaS development. And the number of tenants will be within 50. Which approach is better in tha data base aspect. Actually security is not a big concern here.

If security is of not a big deal then you can co-locate the data of all customers in the same singe db schema instance. This is the simplest approach but would mean more dba headaches like archiving/backup etc. Look at the pros and cons here


Could you please tell me what are the basic requirements to develop a multi-tenant SaaS? ie whether all the application,platform and database to be configured for multi tenancy or else only the database part?

Branding (Customer specific UI themes etc), Workflow, data model extensions and access control are 4 main aspects that need to be considered for any multitenant system. (Source). So any design or architecture you choose should be able to address these aspects.

Suggested reading: Force.com multi-tenant architecture

这篇关于开发多租户SaaS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆