Skip to main content

New answers tagged

0 votes

Spring/Java multiple shared modules for different databases

What you are saying can be done, from a technical perspective. However, I would urge you to consider why you are decoupling your micro services when there is so much shared logic (as you mentioned) ...
anon_user123456's user avatar
-1 votes

How to tackle synchronizing large amounts of data across services in an efficient way?

We are looking to change this since microservices shouldn't read from each other's databases I feel like you've misinterpreted this advice. It is true that one service shouldn't directly access ...
Flater's user avatar
  • 52.7k
0 votes

How to tackle synchronizing large amounts of data across services in an efficient way?

background Having multiple micro-services query a central Source of Truth database is not a problem. They must not write to it, although reading is fine. It is essential that a service should be able ...
J_H's user avatar
  • 7,600
0 votes

How to tackle synchronizing large amounts of data across services in an efficient way?

do not require us to "cut against the grain" of microservices? The grain of microservices is one microservice per independent development team in your organisation. An independent ...
Steve's user avatar
  • 9,272
1 vote

Subscribing to a range of topics per instance of a service

This setup does not sound like it is well architected. each game is published on a different topic Consider revisiting that design decision. But let's go with premise. Introduce the notion of a ...
J_H's user avatar
  • 7,600
-2 votes

Subscribing to a range of topics per instance of a service

Make each set of games resulting data a different API Endpoint. example endpoints: api/westcoast/gamedata vs api/eastcoast/gamedata. Use a proxy to consume the endpoint from the appropriate server ...
Mike Steele's user avatar
1 vote

How to maintain dependencies shared among microservices?

Put all your code - services+libraries - in a monorepo You've hit the classical problems with micro services. A better way would be to manage your project as a monorepo - a single repo, but managed ...
Jonathan's user avatar
  • 519
2 votes

How to maintain dependencies shared among microservices?

I think there are two main ways to think about this and how to deal with it. One is that when you have a shared library in your code base, you need to really think about managing it the way an open-...
JimmyJames's user avatar
  • 27.8k
4 votes

How to maintain dependencies shared among microservices?

TL;DR: Change the signature and don't upgrade until ready. I am, actually, in a similar situation at work, and it's an architecture I chose. In order to protect IP, our codebases are organized in the ...
Matthieu M.'s user avatar
  • 15.1k
8 votes

How to maintain dependencies shared among microservices?

There really is no easy way to resolve this. The microservices are coupled at a much deeper layer than they should be. Reducing the maintenance cost means properly decoupling these things so that ...
Greg Burghardt's user avatar
29 votes

How to maintain dependencies shared among microservices?

Combine the dependency and the cluster of micro-services into one monolith. Adopting microservices should be about enabling independent development and deployment of individual parts, reducing ...
bdsl's user avatar
  • 3,766
18 votes

How to maintain dependencies shared among microservices?

Exported methods should be part of a stable API, which means that you never change the signature of a method once it is published, unless you create a new major version of the library. If you use the ...
Hans-Martin Mosner's user avatar
9 votes

Problem with data consistency in Microservice architecture(2pc transaction) when external dependency envolved

I don't believe you will find a purely technical solution to this. You will need to keep track of which calls to external APIs have succeeded, and then build logic to repeat the workflow, but skip the ...
Greg Burghardt's user avatar

Top 50 recent answers are included