Moqui Framework 2.0是否仍支持多用途 [英] Does Moqui framework 2.0 Still support Mutli-tenency

查看:227
本文介绍了Moqui Framework 2.0是否仍支持多用途的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在下一个项目中使用Moqui framework 2.0,该项目应该是基于SaaS的模型.多租户(每个客户端都有单独的数据库).请确认它是否仍然支持多租户.

I would like to use the Moqui framework 2.0 for next project which should be SaaS based model.Multi-tenent(Seperate database for each client). Please confirm does it still support Multi-tenency.

这样,我将在下一代Moqui Framework 2.0中开始我的项目实现.

So that i will kick off my project implmentation with Moqui framework 2.0 next genertion Entprise framwork.

先谢谢了. 纳玛斯·乌拉克汉(Nyamath ullakhan)

Thanks in advance. Nyamath ullakhan

推荐答案

在2.0.0中,多实例功能已弃用了Moqui Framework中的旧多租户功能.一般的想法是,不是在单个应用程序服务器实例中运行多个租户,而是提供了一些工具来管理在其自己的容器中运行的多个实例.在这两种方法中,每个租户或实例都使用一个单独的数据库.

The old multi-tenant functionality in Moqui Framework has been deprecated in 2.0.0 by the multi-instance features. The general idea is that instead of running multiple tenants in a single application server instance there are tools to manage multiple instances running in their own containers. In both approaches a separate database is used for each tenant or instance.

有很多原因,LinkedIn的Moqui生态系统小组对此进行了很多讨论.可以位于容器或VM实例中的单独实例的主要好处都与不同组织的更完全隔离有关.不必担心每个实例中使用的代码(甚至模板)也不再存在问题.

There are many reasons for this, and a lot of discussion about it in the Moqui Ecosystem group on LinkedIn. The main benefits of separate instances, which can be in containers or VM instances, are all related to the more complete segregation for different organizations. There are no longer issues with having to be careful about code (even templates) used in each instance.

再也不用为每个租户管理分离的缓存,ElasticSearch索引等复杂的工作了.这涉及数千行代码,并极大地限制了框架的模块化.例如,多租户的复杂性使得使用替代工具进行搜索和其他事情变得更加困难,因为它们都必须对租户敏感.

There is also no longer the staggering complexity of managing segregated caches, ElasticSearch indexes, etc, etc per tenant. This involved thousands of lines of code and dramatically limited the modularity of the framework. For example the multi-tenant complexity made it much more difficult to use alternative tools for searching and other things because they all had to be tenant-aware.

Moqui Framework 2.0.0中的OOTB功能支持使用Docker容器的多个实例.多实例管理是通过一系列服务接口完成的,因此可以集成其他容器或虚拟机基础结构以实现更自动化的管理.不需要自动管理,手动配置也可以,而无需Moqui Framework的这些功能,也可以通过大量其他更通用的用于管理和监视实例的工具来完成.

The OOTB functionality in Moqui Framework 2.0.0 supports multiple instances using Docker containers. The multi-instance management is done through a series of service interfaces so that other container or virtual machine infrastructure can be integrated for more automated management. Automated management isn't required for this either, manual provisioning and such can be done without these features of Moqui Framework or through the huge number of other tools that are more generic for managing and monitoring instances.

在LinkedIn上有一篇关于基于Docker的多实例配置和管理的文章:

There is an article about the Docker-based multi-instance configuration and management on LinkedIn here:

https://www.linkedin.com/pulse/multi-instance-moqui-docker-david-e-jones

这篇关于Moqui Framework 2.0是否仍支持多用途的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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