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

Is it a good idea for Microservices to share a common database?

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

Contents


More Related Answers

  • What are the best practices to design Microservices?
  • Name some famous companies that use Microservice architecture.
  • In what kind of application we should use microservices?
  • How do microservices relate to the business
  • Which of the following technologies are commonly used to implement microservices?
  • How to choose a database for MIcroservices
  • Microservices Data Management - Choosing Right Database
  • How to Choose a Database for Microservices ? (Question Set) - 2
  • How to handle service communication and data sharing in a Microservices architecture?
  • what is the advantage of one microservice per database
  • We can Design our Ordering microservices databases

  • Is it a good idea for Microservices to share a common database?

    0

    NO

    Sharing a common database between multiple Microservices

    increases coupling between them. One service can start accessing

    data tables of another service. This can defeat the purpose of

    bounded context. So it is not a good idea to share a common

    database between Microservices

    file:///C:/Users/66988/Downloads/Top%201000%20Java%20Interview%20Questions_%20Includes%20Spring,%20Hibernate,%20Microservices,%20GIT,%20Maven,%20JSP,%20AWS,%20Cloud%20Computing%20(%20PDFDrive%20).pdf

    Popularity 2/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 09 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.