Replies: 4 comments 3 replies
-
A single binary approach does not necessarily lead to monolithic architecture. If the architecture has separated boundaries/interfaces between modules/components, it can be run both as a single binary or as a set of binaries via RPC. Well-designed micro-service architecture can be a single binary or multiple of them independently of web2 or web3 context.
Same here. The modular software architecture provides proper defaults while giving developers the ability to choose non-default components depending on their needs or even custom implementations. However, when we talk about CosmosSDK and Rollkit we don't have(yet?) the described architecture and it might make sense to run Cosmos App and Rollkit separately. |
Beta Was this translation helpful? Give feedback.
-
I would say that Rollup teams should not rely on vanilla running binaries within a host machine and opt for proper containerisation & orchestration tool. A single binary design is much better UX for vanilla and really fast. However, we need to think of long-term deployment + running (testnets are a good example) processes. imho, from dev UX wise, running separately can point rollup devs to focus more on their rollup |
Beta Was this translation helpful? Give feedback.
-
From a rollup framework perspective, I think it will be hard to maintain a single binary. The idea of rollkit being that you can plug and play various execution layers, settlement layers, DA layers, etc, trying to build a single binary for that feels like there will be lots of headaches around maintaining build tooling. I think we should stick with multiple binaries for now for rollkit until we have several examples of different chains to understand the implications of trying to build a single binary. Note that this is separate from the discussion of single vs multiple binaries for celestia node and app. |
Beta Was this translation helpful? Give feedback.
-
If we want to use rust applications that connect through ABCI then we need to have 2 separate binaries.
Both talk through a port with each other. |
Beta Was this translation helpful? Give feedback.
-
In this discussion, we explore the pros and cons of two approaches for building and running a rollup using Cosmos SDK: the single binary approach and the separate binaries approach. This discussion aims to gather feedback, opinions, and additional pros and cons without making an initial judgment on either approach.
In the single binary approach, the Rollkit and Cosmos SDK components are integrated into one executable, providing an all-in-one solution. In the separate binaries approach, the Rollkit and Cosmos SDK components are built and run as separate executables, adhering to a microservices design. This discussion aims to compare the pros and cons of both approaches for Rollups using Cosmos SDK.
Single Binary Approach
Pros
Cons
Separate Binaries Approach
Pros
Cons
Please share your thoughts and opinions on these two approaches and their corresponding pros and cons. Feel free to comment on this discussion if you have any additional pros or cons. We want to ensure that we comprehensively understand the trade-offs involved in each approach before making a decision.
Beta Was this translation helpful? Give feedback.
All reactions