Multiple Cosmos-Sdk Apps (possibly dynamically loaded) in a single server?


#1

Hi, I’m wondering if there are plans to support multiple Cosmos-Sdk applications in the same server (e.g. basecoind and emitd apps could both exist in some “multiappd”), and also support for runtime loading of apps (plugin mechanism) to avoid the need to re-deploy the server binary across a network when adding a new app.

Thanks.


#2

There are no plans to do this prelaunch. Its an interesting idea that could be investigated closer to when we start working on IBC. (Which will be soon after launch)

I think it may make more sense to allow dynamicly adding more binaries to it though, as you don’t want to know all the apps you eventually may use at install time. e.g. “multiappd add new_app_name path_to_new_app_binary”


#3

Thanks. I guess I was thinking about both things: 1) ability to host multiple apps in a server then 2) ability to do that with late/runtime binding (which I called dynamically loaded above) so you don’t need to build a new binary for every added app. My use case probably only requires a fixed set of 3-5 applications so I can live without #2 (but it would be nice to have for sure).