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

Microservices Cross-Service Queries Chain Queries – Get Order with All Details

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

Contents


More Related Answers

  • Microservices Cross-Service Queries
  • Microservices Cross-Service Queries Example Use Case – Get Item with Details

  • Microservices Cross-Service Queries Chain Queries – Get Order with All Details

    0

    There are a few different ways to keep a service’s persistent data private. You do not need to provision a database server for each service. For example, if you are using a relational database then the options are:

    Private-tables-per-service – each service owns a set of tables that must only be accessed by that service

    Schema-per-service – each service has a database schema that’s private to that service

    Database-server-per-service – each service has it’s own database server.

    Private-tables-per-service and schema-per-service have the lowest overhead. Using a schema per service is appealing since it makes ownership clearer. Some high throughput services might need their own database server.

    It is a good idea to create barriers that enforce this modularity. You could, for example, assign a different database user id to each service and use a database access control mechanism such as grants. Without some kind of barrier to enforce encapsulation, developers will always be tempted to bypass a service’s API and access it’s data directly.

    https://stackoverflow.com/questions/29460485/microservices-architecture-cross-service-data-sharing

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    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.