All Questions
Tagged with architecture api-design
76
questions
1
vote
1
answer
479
views
B2B vs B2C services - are differences purely relates to business process and flow OR are there differences also in technical architecture?
I have some B2B services already exposed to customers who manufacture products and ships to end consumer.
These B2B services are implemented using asp.net web API and is performant enough to handle ...
10
votes
2
answers
4k
views
Alert System Architecture
I would like to create a system which handles alert messages from various programs and can process those alerts to down-wind consumers via email. This would all be contained over one internal network. ...
32
votes
4
answers
12k
views
Microservices and data storage
I'm considering moving a monolithic REST API to a microservice architecture, and I'm getting a bit confused about data storage.
As I see it, some of the benefits of microservices would be:
...
0
votes
1
answer
110
views
Where should I generate response for api?
I have multiple Models(Models in MVC), These models are injected into repositories and repositories are injected into Controllers. I need to create an api for several endpoints. The responses for ...
1
vote
3
answers
648
views
RESTful one or many
What's a good way to design a RESTful URL pattern to get one and many results by ID ?
One (Response: single item)
/invoices?id=a/b
Many (Response: array of items)
/invoices?id=a/b&id=bar
The ...
0
votes
0
answers
591
views
Rules Engine (Approach/Pattern/Framework) for applying filter queries to data
I've inherited a somewhat complicated data-model in a SQL Database that I'll soon have an opportunity (read: nececssity) to overhaul. The data-model represents a Product catalog. So there's a table of ...
2
votes
1
answer
95
views
Streaming data from closed system to the cloud - proper approach to architecture
I have been asked to come up with a design for streaming data to the cloud. I have a closed system on a local server. I need to stream recently registered customers or updated customer records on the ...
4
votes
2
answers
1k
views
Alternative to synchronous REST communication betweeen microservices
I know synchronous communication between services is an anti-pattern, so I'm searching for a good solution for my use-case.
I have this two services:
Location Service that manages users location
...
0
votes
2
answers
98
views
Using typeless maps on api boundaries
What do you think about passing typeless maps to APIs (packages, systems, adapters) outer to Core Domain as in 1st Way below?
Strongly-typed objects are inside Domain API, and business rules are ...
1
vote
1
answer
2k
views
What is the way to make an internal API
I have a Symfony project.
I want to make this project API based, but also with a Web UI.
So, I have 2 Bundles, ApplicationBundle and WebUiBundle.
In Application Bundle, I have application, domain ...
3
votes
4
answers
5k
views
Should the admin application consume the API, or should it access the DB directly?
I will be developing a mobile app, which will mainly act as a client. There will be an API on the cloud that these mobile clients will interact with, and there will also be a web application for ...
5
votes
1
answer
1k
views
How to design a repository pattern that can handle per-use-case relational data loading?
We're designing a major refactor in my company system's codebase. One of the refactor points, is the (actual) definition of the business logic/domain model. Right now, every repository in the codebase ...
0
votes
1
answer
114
views
Why use an intermediate API in this Azure App Service setup?
I was checking out the App Service on Azure and in one of the tutorials two API apps are created, one for data and one to be accessed by external apps.
It's not clear to me from the tutorial what ...
4
votes
2
answers
855
views
Where should HTTP calls resides in a layered architecture?
I have a client which depends on data fetching from two different domains.
Client fetches the data from Domain "A"'s API layer and Domain "A"'s Data Depends on Domain "B"
There is an implementation ...
58
votes
3
answers
45k
views
Should Microservices talk to each other?
I'm designing an application using Micro-Services and I'm unsure on the best mechanism to use to collect data from multiple services.
I believe there are two options:
Integrate an 'inter-service' ...