Service Data Replication (Erl)
How can service autonomy be preserved when services require access to shared data sources?
Service logic can be deployed in isolation to increase service autonomy, but services continue to lose autonomy when requiring access to shared data sources.
Services can have their own dedicated databases with replication to shared data sources.
An additional database needs to be provided for the service and one or more replication channels need to be enabled between it and the shared data sources.
This pattern results in additional infrastructure cost and demands, and an excess of replication channels can be difficult to manage.
By providing each service its own replicated database, autonomy is increased and the strain on the shared central database is also reduced.