6 votes

Microservices that needs to change row in shared DB

Am i really left with only option - make app A expose rest API and call the endpoint from app B and C to update the row in DB? If you're doing microservices properly, yes. Don't forget to version the ...
user avatar
  • 9,257
4 votes

Microservices that needs to change row in shared DB

I'd simply use the request-response pattern here: a saves job to database and sends the jobs to the queue b and c process the request and send their result or "finished" message back to a a ...
user avatar
  • 1,894
3 votes
Accepted

Microservices and bounded context - how to handle popular service in the system?

Do the other services need access or do they just need a pointer id to a thing in the coin service? If every service just needs a reference to walletID that's perfectly fine, no need to replicate data ...
user avatar
  • 13.1k
2 votes

What are the best practices in public API vs internal only API being on the same service

You want an API gateway. This gives you a tool that can expose APIs to the public using any url you want and have the functionality where it already existed. The gateway is responsible for auth of ...
user avatar
  • 13.1k
2 votes
Accepted

Are microservices unfit for our domain logic

Nothing here seems fundamentally incompatible with microservices. Sure, you've got lots of business logic but the architecture doesn't affect that. All work times and absence items after the ...
user avatar
2 votes

PDF service: using a REST API in front of queue vs publishing director to queue

If you haven't identified an actual need for REST or any other middle layer then why build it? If it turns out you do need one then add it on. Chances are if you build it now you won't have thought of ...
user avatar
1 vote

What is the computational overhead when running a relational database in several docker services instead of a single instance?

There is almost no computational overhead, other than time used for the process switches (or more precisely: thread switches between threads of different processes). So, of course, it will make a ...
user avatar
  • 1,663
1 vote

Are microservices unfit for our domain logic

You've described multiple business requirements which can be modeled in many architecutre styles. Ask yourself few questions: Does the system need to scale? Does the system features need to have ...
user avatar
  • 61
1 vote
Accepted

Naming Conventions for microservices

Describe to me the role of this service. What is the most accurate summation of its responsibilities? Not just of the things it has implemented today, but also factoring in any future features that it ...
user avatar
  • 37.5k
1 vote

How is scalability and reliability provided to microservices?

In front of your services you will typically have an API gateway, or reverse proxy. Essentially you are routing portions of a URL to the service instances. With a properly configured system, the API ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible