9,308 questions
Best practices
0
votes
3
replies
39
views
Implementing ACID with Transactions in Modular Monolitic Backend
I've got a modular monolithic backend in golang. The project it's in the beginning but our plans for the backend is to migrate it to microservices WHEN it's necessary and do it gradually.
Here's how ...
-5
votes
0
answers
29
views
NX Workspace backend setup in monorepo during CICD [closed]
I have a full-stack app setup in a single repository, and to top it off, with frontend being in apps/frontend, and backend being in apps/backend. And to make it even better, the backend is a monorepo. ...
Best practices
0
votes
1
replies
39
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
17
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
49
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
354
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
61
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
64
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 ...
0
votes
0
answers
39
views
FiegnClient vs RestTemplate [duplicate]
How I will get to know when to use OpenFeign client & When to use RestTemplate for microservice synchronous communication? When I have both options available then based on what aspect I need to ...
1
vote
1
answer
69
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
58
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
86
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
104
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
51
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 ...