简体   繁体   English

与 Cloudhub 相比,MuleSoft RTF 架构和对内核的理解

[英]MuleSoft RTF Architecture and understanding of Cores compared to Cloudhub

Hi we are planning to migrate to Mule4 from Mule3 and I've few questions related to sizing of cores compared to Cloudhub vs RTF.嗨,我们计划从 Mule3 迁移到 Mule4,与 Cloudhub 与 RTF 相比,我对内核大小的问题很少。

Currently we installed Mule Runtimes on AWS(on-premise).目前我们在 AWS(本地)上安装了 Mule Runtimes。 2 VM Machines of 2 Cores each. 2 台 VM 机器,每台 2 核。 so that is 4 Cores subscription.所以这是 4 Cores 订阅。 Clustered them as ServerGroup.将它们集群为 ServerGroup。 Deployed 40 applications on both.在两者上部署了 40 个应用程序。

Question 1) So My understanding is we are using 2 cores to maintain 40 applications and other 2 cores for high availability.问题 1)所以我的理解是我们使用 2 个内核来维护 40 个应用程序,而其他 2 个内核来实现高可用性。 Let me know if this is correct and If the same 40 apps have to be moved to Cloudhub with HA do i need 8Cores?让我知道这是否正确,如果相同的 40 个应用程序必须通过 HA 移动到 Cloudhub,我需要 8Cores 吗?

coming to RTF, i guess we need to have 3 controller and 3 worker nodes.来到 RTF,我想我们需要 3 个 controller 和 3 个工作节点。 suppose if i take AWS VM Machine of 3 Core capacity.假设如果我采用 3 核容量的 AWS VM Machine。 It will be 3X3 = 9 cores using and I can deploy the same 40 applications on those 3 VM machines.它将使用 3X3 = 9 个内核,我可以在这 3 台 VM 机器上部署相同的 40 个应用程序。 (it could be more than 40 apps as well ).This is with high availability (它也可以是 40 多个应用程序)。这是具有高可用性的

When it comes to cloudhub if i need to deploy 40 apps with high availability (each app deployed on 2 cores) it would take 8Cores.对于 cloudhub,如果我需要部署 40 个具有高可用性的应用程序(每个应用程序部署在 2 个核心上),则需要 8 个核心。 and I cannot deploy not single application more than 40.而且我不能部署不超过 40 个的单个应用程序。

Question 2) RTF though i have 4 core VM machine i can deploy 50 or 60 apps.问题 2) RTF 虽然我有 4 核 VM 机器,但我可以部署 50 或 60 个应用程序。 but for cloudhub if i take 4core subscription i cannot deploy more than 40 apps.但是对于 cloudhub,如果我订阅 4core,我不能部署超过 40 个应用程序。 Is this correct?这个对吗?

yes, you're right.你是对的。 Currently (Dec 2021), the minimum allocation of vCores when deploying applications to Cloudhub is 0.1 of a vCore, so to your 1st question, yes, correct, you would strictly need 8 vCores, assuming 2 workers per application for a "somewhat" high-availability.目前(2021 年 12 月),将应用程序部署到 Cloudhub 时 vCore 的最小分配是 vCore 的 0.1,所以对于您的第一个问题,是的,正确的,您将严格需要 8 个 vCore,假设每个应用程序有 2 个工作人员用于“有点”高-可用性。 A true end-to-end high-availability would more likely need 3 workers, so that if one dies, you would still have HA within the other 2.真正的端到端高可用性更可能需要 3 名工作人员,因此,如果一个工作人员死了,另外 2 个工作人员中仍然有 HA。

To the second question, when you deploy in RTF and even Mule runtime directly to say a VM or a container, you have more flexibility in terms of how much of a vCore portion you need to allocate for your applications.对于第二个问题,当您直接在 RTF 甚至 Mule 运行时部署虚拟机或容器时,您在需要为应用程序分配多少 vCore 部分方面具有更大的灵活性。 Your MuleSoft account manager would be able to articulate with you as to how much that would mean.您的 MuleSoft 客户经理将能够与您阐明这意味着多少。

Last but not least, you could also think of different deployment models and cost-savings approaches, which depending on your scenario could mean using say service mesh, so you drastically reduce the number of vCores you use and also you can come with a strategy of grouping endpoints/resources of different applications in a single one.最后但并非最不重要的一点是,您还可以考虑不同的部署模型和成本节约方法,这取决于您的场景可能意味着使用服务网格,因此您可以大幅减少使用的 vCore 数量,并且您可以采用以下策略将不同应用程序的端点/资源分组在一个中。 Example: if you have 2 different applications, both related to customer data or somehow the same domain, you could group them together.示例:如果您有 2 个不同的应用程序,它们都与客户数据相关或同一个域,您可以将它们组合在一起。

Ed.埃德。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 获取 Mulesoft Cloudhub 环境的名称 - Get name of Mulesoft Cloudhub environment Mulesoft - cloudhub 运行时更新问题 - HTTP 连接器 - Mulesoft - cloudhub runtime update issues - HTTP connector Mulesoft - 在正在运行的应用程序中检索 Cloudhub versionID - Mulesoft - retrieve the Cloudhub versionID within a running application 我们可以在 Mulesoft 中为 cloudhub 应用程序创建域项目吗? 如果不是,为什么? - Can we create domain project for cloudhub applications in Mulesoft? if not, why? 如何从 python 授权自己使用 mulesoft/cloudhub 帐户? - How to Authorize myself to mulesoft/cloudhub account from python? Mulesoft - Cloudhub 部署错误:部署配置无效,:未定义部署配置 - Mulesoft - Cloudhub deployment error: Deployment configuration is not valid, : No deployment configuration was defined 无法从 Mulesoft Cloudhub 在 FTP 中写入文件 - couldn't able to write a File in FTP from Mulesoft Cloudhub Mulesoft Maven 部署到 RTF 401 未经授权 - Mulesoft Maven Deploy To RTF 401 Unauthorized 使用 MuleSoft RTF EKS 访问 AWS 数据库 - Access AWS DB using MuleSoft RTF EKS Mulesoft Maven 配置错误。 无法从终端部署到 Cloudhub - Mulesoft Maven configuration error. Can't depoloy to Cloudhub from terminal
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM