LazyGuard
LazyGuard
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
documents are physical documents
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
yeah but then there is a ris that you put the wrong label on the wrong document
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
you mean instead of printing document per document, we print for 10 documents at once or something like this ?
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
all those calls needs to be done before the user could move to another document
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
So the flow will be like this : BFF --> A : have the classification. Note that A needs also to call service C to get some information BFF --> B, endpoint 1 : generating the tracing-id BFF --> B endpoint 2: printing I fear it's a lot
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
I am not sure how i can use those jobs in general in my endpoint
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
I am not sure I understand this
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
The point is that, what if a user looses the first printed label, he or she may want to re-print. If generating the tracing number and printing it is aggregted in a single endpoint, how we will manage a second print ?
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
but for option 2. It depends. It can be : User -> BFF -> A, BFF -> B, BFF -> Printing (the printing is done implicitly when BFF calls B, B generates and prints. A single call ) Or User -> BFF -> A, BFF -> B, BFF (generating the tracing number) -> B, BFF (printing)
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
that's right !
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
For the point 2. Unfortanetly, it's a organization decision. Architectures decided to do microservices :/ So I am trying to find tricks to improve performance and reduce failures that will block the whole users' worflow
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
For the point 1., no it's not possible. Users have dozens of documents to treat every day. A user cannot move to the next document unless the label with the tracing number is printed.
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
how to optimize for performance with all those calls ?
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
Or will it be a single endpoint responsible for both generating the tracing number and printing the label?
35 replies
CC#
Created by LazyGuard on 3/9/2025 in #help
Optimizing Performance vs. Domain Separation: How to Choose between Two Alternatives
Right now, this is how it’s being done, but assuming we move it, we’ll then have a tracing-number resource with a POST endpoint to generate one, and a separate endpoint to print it. Does that sound correct?
35 replies
CC#
Created by LazyGuard on 12/13/2024 in #help
Which Architecture to Choose?
@reacher I see, that's waht I am saying. Here the main aim is to desynchronize POST requests and procesing needed for each request. The desynchronization can be perfectly done using an in-process tool, no need for kafka whatsoever. The lead dev is not convinced :/
52 replies
CC#
Created by LazyGuard on 12/13/2024 in #help
Which Architecture to Choose?
@reacher will having kafka solve any performance issues here ? If the requests frequency becomes higher for example
52 replies
CC#
Created by LazyGuard on 12/13/2024 in #help
Which Architecture to Choose?
@reacher 🫠 : : : : : : : 🔮🔮 In what cases would kafka make more sense according to you ?
52 replies
CC#
Created by LazyGuard on 12/13/2024 in #help
Which Architecture to Choose?
@Pobiega I am a little bit confused because as far as I know Quartz is not a pub-sub system
52 replies
CC#
Created by LazyGuard on 12/13/2024 in #help
Which Architecture to Choose?
@reacher 🫠 : : : : : : : 🔮🔮 just for my understanding, why did you say that kafka has no place here, what are the arguments behind ?
52 replies