Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [soa]

Questions about service-oriented architecture, or designing software as a collection of services.

0
votes
0answers
56 views

Is it better to have a single endpoint performing 5 services or have 5 services with 5 separate endpoints

I have a performance and design related question. Currently, I have a system which has about 5 core endpoints, for example, endpoint A, endpoint B all the way to endpoint E, now for each endpoint ...
1
vote
0answers
31 views

How should propagation of service abuse information work within a microservice architecture?

At the moment, I'm working on a product that's being broken down from a monolith to a bunch of microservices, and it seems to be going well enough. However, if a user is abusing the service somehow, ...
0
votes
0answers
28 views

Rely only on status or provide response explicitly? - SOA -

I am developing a set of SOA services where the backends (mainly stored procedures in the DB) sometimes return only status code as response (ex: an operation to cancel a ticket, the SP for this ...
1
vote
3answers
163 views

How to integrate different “microservices” into a transaction?

We're building a new web-based industrial application and one of the questions that are hammering our heads for the last few days is about the integration between different "microservices" on this ...
1
vote
0answers
33 views

Message Broker in Client-Server-Applications

I'm currently planning an architecture for a system that should consist of multiple microservices. We definitely want to make use of a message broker (probably RabbitMQ). A simplified diagram of my ...
0
votes
2answers
47 views

Microservice /Soa : how to fire notification depending on the caller?

I have this two use cases in a user registration process : Case 1 : the user register an account online and the system should send him an email notification in order to confirm that his account has ...
0
votes
1answer
111 views

In MVC + SOA Architecture, What is the Rationale for Placing Business Logic in Models?

When writing web applications I place business logic in controllers. This has worked well for my small App Dev team- our applications run reliably, perform well, and the code is easy to maintain. ...
0
votes
1answer
91 views

Point-to-Point integration vs ESB

We have a system which has been in development for 10+ years and still continues. It is built as an SOA and use SOAP. We have a new client, internally within our company, who wants to integrate with ...
1
vote
1answer
90 views

Is ESB an architectural pattern or it is a solution?

So I'll take the context of Red Hat FUSE as an example because this is what I know. I know that Apache Camel which is the library on which is based FUSE doesn't consider itself an ESB (http://camel....
1
vote
2answers
413 views

Putting it all together - DDD, CQRS, Web API

I need some expert guidance. I'm trying to learn the concepts as well as implement them, and it's possible I might be over-engineering some. But that's OK, because I am wanting to learn and gain ...
2
votes
1answer
225 views

Modeling request/response in domain driven design

Say I have a class of User and that user has an Id & Name, in request response modeling, I would make a request with Name on it and a response with Id and Name, thereby my domain model would be ...
1
vote
1answer
67 views

Is there a place for connection string in SOA's desktop clients?

In the SOA architecture, with many services that implements data persistence as well as basic logic - is there even a place for connection strings in client Desktop applications? Or should everything ...
2
votes
1answer
320 views

WCF ChannelFactory vs auto-generated Service References in enterprise?

I'm aware that there was a lot of discussion about that topic, but I'm still confused what's better for the enterpise SOA envoronment. Basically, it's a SOA system with a few of WCF web services and a ...
0
votes
1answer
69 views

How to handle pull requests merges in a service oriented environment that touch several repositories?

So we have a microservices architecture. Quite often we release features that require changes in several repos simultaneously. What approaches are best for handling this? Ex. Pull Request 1 from ...
0
votes
0answers
182 views

Reusing existing canonical data model for REST services

I work in an enterprise where is slow transition from SOAP & SOA to Microservices&Rest like architecture. For specific business domains there are well established canonical data models which ...
1
vote
2answers
287 views

RabbitMQ as backbone for services written in different languages

I'm seeking advice from people using RabbitMQ to connect services written in different languages. Currently my organization is using RabbitMQ exclusively with C# and it's all working quite well. In ...
0
votes
2answers
85 views

From a mobile application client to API/microservices

Let's say I have a mobile client for answering questions and then purchasing a widget. For example, I might have 10 screens from my UI with about 8 questions per screen. Imagine there is a screen ...
1
vote
1answer
74 views

Is a outlook type calendar/scheduling service a microservice?

Our company is in the early stages of starting to use microservices. One question that came up the other day was 'is scheduling/calendar a micro service'? We have so many monolithic apps that have ...
1
vote
4answers
206 views

Use OOP approach for organize the business rules instead of SOA in a small project. Excluding DDD, is there some strategy to do this?

I was talking with a friend another day about OOP in small projects. In the most of projects that me and him worked the SOA was the rule. Per example, imagine a Order in a SOA application. The ...
0
votes
1answer
623 views

RMI/CORBA vs Web service

As mentioned in wiki, A service-oriented architecture (SOA) is a style of software design where services are provided to the other components by application components, through a communication ...
1
vote
1answer
352 views

Contract decoupling on microservices

I am not trying to launch a Microservices vs SOA debate but I find hard to understand the following statement: "Microservices architecture does not support contract decoupling, whereas contract ...
2
votes
2answers
751 views

Verifying Access Token in Each Service of a Microservice Architecture

I'm working on a application which is implemented using microservice architecture. There is an authentication service (A) which uses jwt standard, and there are other services in the application like ...
9
votes
2answers
1k views

What is really different between SOA and Microservices

Disclaimer I hope I am not stepping on anyone's toes or offending either concepts' enthusiasts Background I have been looking for real differences between Service Oriented Architecture and ...
-4
votes
1answer
58 views

Joining web services entity

Let's assume I have access to two rest endpoints, /persons and /products. If I need to retrieve 100K persons with their respective products, what is the best way to do that? How can I join them ...
6
votes
4answers
234 views

What are the implementations of SOA other than web services? [closed]

Service-oriented architecture (SOA) is a style of software design where services are provided to the other components by application components, through a communication protocol over a network. Web ...
6
votes
3answers
1k views

Breaking up a monolith into SOA, and breaking referential integrity

When breaking up a large monolithic application with a monolithic RDBMS into a service-oriented architecture with many databases, how do you deal with the breaking of data integrity? I have a large ...
3
votes
3answers
2k views

Best practice to reduce calls in microservice architecture

I have multiple artifacts (applications) deployed on different hosts (let's call them A, B, and C for simplicity) and I am currently looking for some kind of integration pattern, because I need to ...
18
votes
1answer
4k views

SOA/Microservices: How to handle authorization in inter-services communications?

Foreground We are moving from a monolithic platform to a more Service Oriented Architecture. We are applying very basic DDD principles and splitting our domain across different bounded contexts. Each ...
-1
votes
2answers
71 views

Sharing logic among services

I was talking with my boss recently about composing services from other services (in a Service-Oriented Architecture, if you haven't already guessed). We disagreed on some architectural principles ...
0
votes
1answer
112 views

What is the added value of Service Discovery in SOA for this project?

We are retrofitting an architecture on a fragmented landscape of about 9 software products. These products are all related to a social/community platform. These software products, consisting of ...
8
votes
2answers
1k views

Microservices & Canonical model

When I was reading about microservices on this site, I came across the below statement. What is meant by a canonical schema? Isn't it same as domain model? The Microservices Architecture pattern ...
16
votes
6answers
2k views

Autonomous Microservices, event queues and service discovery

I've been reading a lot about micro-services lately, and here are some of the conclusions I got so far (please correct me if I'm wrong at any point). Micro-services architecture goes well with domain ...
3
votes
1answer
551 views

Should I have a single Microservice Instance when there are several versions of the same database

We have 25 instances of the same database facilitating different production plants in our organization. Basically, location X uses it's own copy of the database, location Y uses it's own copy, etc. ...
1
vote
2answers
227 views

monolith vs microservices for app idea

I have decided to start building a SAAS app. I wish to keep hosting costs low initially, whilst still providing a good user experience. Here are the components that will make up my app: Front End ...
1
vote
1answer
1k views

Do you put business logic in your service implementation ? <comment on my design>

Today at work a colleague was looking at a piece of module I had written a month ago as a reference implementation. I had written a WCF service which a Windows service was consuming. I have a single ...
1
vote
0answers
299 views

Back end based on Microservices - concept

I plan to build a back end based on microservices. The following picture presents my current idea: Two important features are: uploading large text and/or video files stream video - display user in ...
0
votes
1answer
378 views

Looking for pros/cons on using OWIN vs. a simple hand-rolled token based auth

We are wanting to implement an API to be used internally and externally and add it to our solutions. Some environment notes: We are currently using VS2013, .Net 4.5, EF5, SQL2008, MVC4, C#, and asp....
4
votes
1answer
313 views

What's the purpose of having services in containers?

I've been very interested in Service Oriented Architecture, and Microservices. Many resources talk about having services in containers. To me, one of the big benefits of seperating an application ...
0
votes
0answers
450 views

Should/can a web crawler be a separate microservice?

I've never built anything using microservices and all the articles I can find are not very practical. I'm building a web application that relies on a web crawler to scrape data into a database, a ...
7
votes
4answers
3k views

Microservices architecture and bounded contexts

In the past few days I've been reading some things about microservices architecture. I didn't get the whole point yet, since I'm just starting with this, but there's one point which caught my ...
7
votes
2answers
833 views

How do you organize API endpoint contracts

Where trying to improve the "confidence" we have in our inter-service communication. Background: "Contracts" has been a matter of sharing a piece of code that defines an interface to implement, but ...
7
votes
2answers
12k views

Webservices vs Microservices [closed]

In our org , we have soap & rest based services that have focused set of responsibilities. For instance , there is customer service for managing customer info , account service for managing ...
2
votes
2answers
3k views

Distributed transactions with Kafka

I need to implement a transaction that spans over loosely coupled (SOA+MOM) components. When a particular event is received, FOO and BAR need to do a transactional operation: that is, both the ...
2
votes
2answers
498 views

Why doing everything with one software project is wrong? [closed]

I am newly employed by a company. After a couple of weeks, I have heard lots of time that there is a huge project which most of the programmers are working on it. They call it something like Managing ...
4
votes
4answers
3k views

How to share data between web applications?

I have two web applications, say Application_1 and Application_2. Application_2 has a database table named table_2, which changes infrequently, and needs to be accessed by Application_1. Does it ...
72
votes
7answers
47k views

What is the most accepted transaction strategy for microservices

One of the major issues that I have seen occur in a system with microservices is the way transactions work when they span over different services. Within our own architecture, we have been using ...
0
votes
0answers
55 views

Resource manager for restful service

I was just brought onto a project with a service oriented architecture. There is a central WCF "profile service" that all projects call to get information on users etc. That central profile service ...
1
vote
2answers
2k views

How to decompose Monolithic applications into Microservices with interdependent functional modules?

I work with a large monolithic web application that has between 12-24 functional modules and these are all maintained inside a single war project structure. While the code itself is already segmented ...
6
votes
1answer
158 views

Service repository and discovery without WSDL

I'm in the very early stages of moving a development team away from large monolithic app development to an SOA approach. One of the things that caught my eye in this article about SOA: Stevey's ...
2
votes
1answer
747 views

Where to keep persistent services in MVVM architecture?

In an MVVM application I need to use some services that are persistent, e.g. network services like P2P and WCF where the main "engine" or server endpoint must remain up and running during the lifetime ...