All Questions
Tagged with asynchronous-programming architecture
11 questions
0
votes
1
answer
109
views
How are asynchoronous problems handled with imperative programming?
Context
To level set, I've been working with OOP and FP for my whole career, so my experience with the imperative paradigm is limited. The team I joined is made up of very senior (20+ years xp) ...
3
votes
3
answers
6k
views
Synchronous vs Asynchronous Event Driven Architecture
I have been searching extensively about the difference between synchronous and asynchronous patterns and how this relates to event driven architecture. On its face it is quite obvious, I simply ...
2
votes
3
answers
2k
views
How can message queues improve scalability?
I have read in a DDD book that using message queues between communicating services can make the whole architecture more scalable, amazon's documentation mentions that queues provide granular ...
3
votes
1
answer
383
views
How to design asynchronous communication in microservices?
Intro
Hey, my question is kind of hard to explain so I apologize in advance.
Question
I'm trying to implement microservices for our ecommerce and I'm having issues on how to respond to a request when ...
0
votes
1
answer
263
views
Should repositories always return Rx Single or Observable?
Let' assume we have an IFiltersRepository repository that provides data about a list of "filters" that are used on the search screen of an app (filter by color, by price etc).
The repository has the ...
1
vote
2
answers
424
views
Acceptable to use synchronous call to another microservice for time-sensitve state change?
Say there are two microservices (example is simplified)
PickupRequestService: lists pick-up requests of passengers
DriverService: drivers use to accept pickup requests
On a completely decoupled ...
0
votes
1
answer
2k
views
How to avoid synchronous communication between microservices
Let's say we're talking about a webshop.
Microservice 1: Manages products and their prices
Microservice 2: Responsible for payment and checkout.
If a user wants to pay for a product, the payment ...
0
votes
2
answers
4k
views
When to check if the user is logged in?
I have an app with an optional login where some functionality requires the user to login.
When checking if the user is logged in I use a framework that runs an async function that requests an access ...
3
votes
1
answer
189
views
What is a good design approach in .NET for performing a series of checks in background process?
I have a flight planning system in .NET/SQL Server which needs to perform several validation checks. This needs to work on both a windows and a web client. Currently the checks run synchronously but ...
7
votes
1
answer
2k
views
How can we calculate Big-O complexity in Functional & Reactive Programming
I started learning functional programming, I am trying to compare between different algorithms that are written in an imperative, functional , parallel programming and using Collections and Lambda ...
5
votes
3
answers
4k
views
Which layer does async code belong?
I am developing an application that consumes data from an external service. The application is being implemented following a typical layered architecture with UI, Presentation, Domain and Data layers....