Shared Database vs. Messaging Architecture

后端 未结 3 604
忘掉有多难
忘掉有多难 2020-12-23 19:10

I was down the pub with a friend of mine yesterday and we started discussing the architecture in use at the company he works at. The conversation basically surrounded the pr

3条回答
  •  抹茶落季
    2020-12-23 19:43

    Here is one con of a shared database-architecture, which is enough to avoid it:

    Tight coupling - If one application requires changes to the master database tables - the other applications will need re-testing and possibly changing to accommodate those changes.

    Shared database architectures end up avoiding serious changes to the schema. The master database and associated applications tend to stagnate, resulting in a company that can't offer innovative new products.

    This MSDN article, one of many, explains how loosely coupled services can help with the scenario above. Loosely coupled systems can innovate and change without the rest of the company having to change at the same time - leading to a company that can respond well to customer demands.

提交回复
热议问题