简体   繁体   English

Cartesi Rollups DApp 模块化

[英]Cartesi Rollups DApp modularity

It's been some time that i have a question in my mind.一段时间以来,我一直在想一个问题。 Is it possible to implement a modularity strategy for complex Cartesi Rollups DApps where we have the main logic program (the one responsible for the input loop) depending on one or more HTTP services running separately?是否有可能为复杂的 Cartesi Rollups DApps 实施模块化策略,其中我们有主要逻辑程序(负责输入循环的程序)取决于一个或多个单独运行的 HTTP 服务? The diagram here illustrates the architecture I have in mind.此处的图表说明了我想到的架构。

建筑学

Yes, this design will definitely work inside the Cartesi Machine .是的,这种设计肯定会在Cartesi Machine中发挥作用。

Remember that your dApp is running on a Linux inside the Cartesi Machine.请记住,您的 dApp 正在 Cartesi 机器内的 Linux 上运行。 ;-) ;-)

That said, you can have these components of your architecture (the HTTP services in your diagram) communicating with each other using whatever protocol that exists in a normal Linux.也就是说,您可以让架构的这些组件(图中的 HTTP 服务)使用正常 Linux 中存在的任何协议相互通信。

Best regards!最好的祝福!

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM