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

Implementing a text adventure using a deque filled in by procedures

It seems like a bad design. The rooms will need state All rooms are going to share some functions, say "turn on light" There will be actions to take independent of the room. "fight ...
user avatar
  • 64.6k
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
2 votes

Should domain know about exceptions thrown from outer layer?

If you‘re using concentric architecture models such as hexagonal architecture, onion architecture or clean architecture, the inner cores (e.g model) should not depend on outer cores. However, ...
user avatar
  • 67.8k
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
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

Is this the right mechanism for 2 way heartbeat?

Leveraging work I did with a custom UDP interface, there's a few properties regarding liveness checking you need to keep in mind: Timeout means the other system is unreachable Active refusal means it'...
user avatar
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

Is it OK to create an Entity Framework DataContext object and dispose it in a using block in each of my CRUD methods?

You probably don't need to, but that doesnt mean you should never. There is a lot of advice, around the internet, and in the top rated post on this page, telling you that you "Must Not" ...
user avatar

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