appnetcomm-language / ancl-spec

Application Network Communication Language Spec
0 stars 0 forks source link

Allow multiple mappings in Connections #1

Open cmceniry opened 7 years ago

cmceniry commented 7 years ago

Use case: Allowing for an active-active-...-active setup. An application may use multiple backends. Each backend is functionally equivalent (e.g. replicated data), but are defined by separate contexts (separate clusters).

Proposal: Make Connection.With an array

ingress: AppContext::AppModel::DBServer::AbstractService
with:
- DBCluster1Context::DBModel::DBServer::Service
- DBCluster2Context::DBModel::DBServer::Service
...
cmceniry commented 7 years ago

Same should be for egress as well.