17,185 questions
1
vote
1
answer
93
views
How can I implement consistent typed error propagation in C# without scattering try/catch across layers? [closed]
I have a C# application with multiple layers (controllers, services, domain logic, and background workers). Error handling has become inconsistent because many methods contain their own try/catch ...
Best practices
1
vote
2
replies
59
views
How to write idiomatic Go business logic for CRUD involving multiple tables/models?
I am refactoring my backend where clients can start threads and make replies. I keep a 3-layer architecture with thin handlers that bind and validate, service layer with all business logic, and a repo ...
Best practices
2
votes
1
replies
35
views
UI usage analytics dashboard
I’m creating UI dashboard which I want to measure things like
How many requests are made from the web application from a particular screen along with the organisation location of the user.
There are ...
1
vote
0
answers
38
views
Data Ownership and Transaction Managment in SOA
I'm trying to learn more about Service Oriented Architecture as to me, it seems like a good middle ground between monolithic and micro service applications. Please correct me if I'm wrong but the ...
-1
votes
1
answer
57
views
Is it “standard” to use Keycloak SSO tokens to fetch Google/Microsoft calendar data? [closed]
I’m using Keycloak as my identity provider and I have enabled identity brokering with Google and Microsoft (Azure AD).
My current flow:
User logs in via Google or Microsoft through Keycloak SSO.
In ...
Best practices
0
votes
3
replies
78
views
Should I use the BFF pattern or store access token in memory and a refresh token as an http only cookie? Or scrap jwts and just use sessions
System Overview and Token Handling Question
I work for a company with 2 developers. We are building new systems and currently have the following resources:
An accounting database
A user database
An ...
Best practices
0
votes
1
replies
44
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 — ...
Best practices
0
votes
2
replies
49
views
Best method to manage metrics of prompts that are stored in a git repository
We are building an LLM-based application which takes a lot of user data from various internal sources.
It then sends the data to various prompts which provide the answers needed to fill out forms ...
Best practices
0
votes
0
replies
41
views
Prompt managing storing in git v.s. db
We are building an LLM-based application that takes a lot of user data from various internal sources and sends the data to various prompts which provide the answers needed to fill out forms correctly.
...
Best practices
0
votes
1
replies
64
views
What is the best implementation for probably a simple idea I have?
Here's what I want to do: I want to store files onto my office's computer.
I lack experience in terms of completed solutions. I’ve only built a prototype once via ChatGPT, and I want to ask if this is ...
-3
votes
1
answer
92
views
Should one service call another service or use the repository directly? [closed]
I'm learning Clean Architecture and I can't figure this out.
Imagine this scenario: I have a ServiceA that calls its repository:
public class ServiceA : IServiceA
{
private readonly IRepositoryA ...
Advice
0
votes
0
replies
17
views
Document generation EA Sparx
I made a report package for document generation. At each model document (in the report package) I attached a template. The template contains a fragment. For the fragment we use a SQL query. In the ...
Best practices
0
votes
3
replies
52
views
How should I structure NestJS services when one endpoint needs to update multiple entities (e.g., InvestorProfile and TaxProfile)?
I’m working on a NestJS + TypeORM backend and ran into an architectural question as my codebase evolved.
Initially, I had a simple setup:
InvestorProfileController handles PATCH /investor-profile
...
0
votes
1
answer
94
views
How does the LDA instruction interact with RAM and IR on MU1 architecture? [closed]
I am trying to understand this LDA instruction.
After the fetch instruction, IR holds LDA S.
1 - In the first step, DIN = [IR], IR is supposed to be interpreted as an address (because of the brackets),...
Tooling
0
votes
1
replies
59
views
Dealing with third party rate limits
I have been working on AWS Serverless Lambdas and now having issues with third party rate limits.
Context
A Lambda invocation triggered by an event:
calls a third-party API 4 times,
runs some logic,...