Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

The Shared Database Anti-Pattern - Pros and Cons

Pragya Keshap answered on February 3, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • The Shared Database anti-pattern
  • Polyglot Persistence, Database-per-Service Pattern, Shared Database Anti-pattern
  • What is the Shared Database principle ? (Anti-Pattern for microservices)
  • The Shared Database Anti-Pattern and Polyglot Persistence

  • The Shared Database Anti-Pattern - Pros and Cons

    0

    Benefits

    ▪ Transaction management, that we don't need to span the

    transactions over the microservices.

    ▪ Decrease duplicate data. Since data is fully constrained, we

    can easily execute complicated queries with joins.

    ▪ Able to follow ACID. Consistency of data and state easily

    manage when process fails.

    Drawbacks

    ▪ Microservices with shared databases can’t easily scale.

    ▪ Shared database will become a single point of failure.

    ▪ Microservices won’t be independent in terms of

    development and deployment.

    https://microservices.io/patterns/data/shared-database.html

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: cons whatever
    Link to this answer
    Share Copy Link
    Contributed on Feb 03 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.