Single sign-on application architecture and design The topic in this article is to integrate the single sign-on web architecture and replace the current design of multiple sites for corporate employees. Employees currently wanting to access company-related information need to access approximately 8 different websites and maintain a different user name and password record for each site. This article outlines the full integration of the new Web-based portal and the details of the design required for user functionality.
Traditional Web applications use multi-tenant architecture. In other words, all users share one database instance and one application instance. Although this can be used with Kubernetes, we recommend that you consider implementing a multi-instance architecture to take advantage of the functionality of Kubernetes and containerized applications. Security - When using a single database, all the data is gathered. If a security violation occurs, this can be a big problem. If a single account is compromised, all of the customer's data may be vulnerable. In a multi-instance architecture, only one customer's data may be at risk.
There are several ways to develop Web applications to meet different needs. In some cases, a separate application instance is installed for each customer in a configuration called Single Tenant. In a multi-tenant application, a single software instance and its supporting infrastructure serve multiple users in a multi-tenant architecture. Here, each customer or tenant shares a single database with the software application. In a multi-tenant architecture, applications are designed to separate configuration and data so that each tenant reliably uses a custom virtual application instance. When data in the database is marked as belonging to a user or another user, the software is smart enough to recognize who the data belongs to.
Multi-tenancy is a term that is often misunderstood and misused. Multi-tenancy is an architectural approach that allows a single instance of an application to be shared between multiple organizations or users (also known as tenants) and applied only to SaaS. The central principle here is that it is a single instance of a shared application. Therefore, multi - instance architecture is different from multi - tenant architecture. Those not properly designed are not ideal, but in most cases there is no advantage for multi tenants that are not properly designed. This is because multitenancy that is not properly designed may affect the core function of reducing operational costs by automating others. Developing software applications as multi-tenant services using Rails is more than simply designing the database layer.