9,303 questions
Best practices
0
votes
6
replies
64
views
Implementing ACID with Transactions in Modular Monolitic Backend
Edit 03/12/2025
I ended up using the ctx *fiber.Ctx as a solution.
My handlers, usecases, orchestrators and repositories receives my request context. In my orchestrator I create my unified transaction ...
Best practices
0
votes
1
replies
42
views
How to integrate a new authentication microservice (v2) with a legacy monolithic system (v1)?
We currently have a new microservice that handles authentication, authorization (RBAC), and KYC as part of our v2 architecture.
We also have an older legacy system (v1) which is fully monolithic — ...
0
votes
0
answers
18
views
Support Multiple JSON Ocelot API Gateway
I have multiple microservices, and I am trying to merge them using Ocelot API Gateways. I have created different JSON files for each microservice and I'm adding them using the code below. However, it'...
1
vote
1
answer
51
views
How do I redesign a broken multi-service system where the entry point and child services are out of sync?
I recently joined a startup that has a pretty messy backend setup, and I’ve been assigned to sort it out.
Here’s the situation:
There’s one main entry point (a federation/onboarding service) that’s ...
Advice
6
votes
7
replies
358
views
What are the kinds of practical difficulties you've run into when implementing Microfrontends?
Our current codebase exists as a monolithic .NET application. The many years of legacy has made it difficult for our engineers to make changes and we're looking to Strangler Fig our way out of a Big ...
0
votes
0
answers
62
views
500 “Internal Server Error” when using TCP communication between NestJS microservices (Turborepo / Monorepo)
I’m building a monorepo using Turborepo and NestJS, following a microservices architecture with TCP communication between services.
Here’s my folder structure:
apps/
├── api-gateway/
│ ├── src/
...
0
votes
1
answer
78
views
Should I store Stripe Subscription details in local DB or query Stripes API to determine if a user is subscribed?
I have the following requirement.
A website (lets call it Website A) where I sell subscription plans for my SaaS
Payments are handled with Stripe
I am using an authentication service (Auth0) so users ...
1
vote
1
answer
74
views
How can I scale Cassandra across multiple regions (continents,countries) so that clients always connect to the nearest node?
I'm building an application using a CQRS design using Spring Boot Microservices.
For the read side, I plan to use Apache Cassandra because of its strong focus on high availability (basically 100% ...
0
votes
0
answers
59
views
Django Testing in microservices with more than 1 db running
I would like to ask about a certain topic that is tough one. Im working in a project that has microservices architecture with more than 1 databases running every time. in django, how can I perform ...
1
vote
1
answer
87
views
Microservices transactions with saga orchestrator
I'm trying to build microservices application. I want to make auth/register/login gateway service checks every request and modify headers to pass through to internal services and user profile service.
...
1
vote
2
answers
111
views
How to separate a pure domain object from its JPA implementation in a microservice architecture?
I’m refactoring a microservice and I need to move one of my domain objects into an external shared dependency (library).
Currently, this domain object is annotated with JPA (@Entity, @Id, etc.).
...
0
votes
0
answers
52
views
UML use case in a microservices system — should internal services appear as actors?
I’m implementing a streaming platform for my capstone project with a microservices architecture (Auth, Registration/Identity, Catalog, Search, Playback/Streaming, Payment, Subscription/Entitlement, ...
0
votes
0
answers
46
views
Redirect issue with Identity Provider hosted in Docker
TLDR:Dockerised app redirects me to docker network URL instead of localhost.
Objective: Redirect user to identity provider (localhost:6067) while communicating with it at (mcro.identity) from Razor ...
-1
votes
1
answer
114
views
BFF to microservice: client credentials or token-forwarding [closed]
I currently have an admin console that is served a BFF layer and 2 REST microservices - product microservice and user microservice. The user microservice stores information on login users as well as ...
0
votes
1
answer
51
views
CQRS EDA Microservices - event consumption from other bounded contexts
In a system consisting of many CQRS (Command API + Query API) microservices (bounded contexts) that communicate via events on an event bus. Which API (Command or Query) should consume the events from ...