Stack Exchange Network

Stack Exchange network consists of 175 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 [microservices]

Microservices are small, independent processes that communicate with each other to form complex applications which utilize language-agnostic APIs. These services are small building blocks, highly decoupled and focused on doing a small task, facilitating a modular approach to system-building.

2
votes
1answer
337 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 ...
3
votes
0answers
335 views

Microservices and Modular based front end

I'm a software developer, and the kind of developer we call "front end developer". I'm working on stuff like Angular JS, Angular 2 and others. I wanted to know how we can organize our front end code ...
9
votes
5answers
665 views

Microservices: MonolithFirst?

I've been researching microservice architectures trying to get a high level overview of all the pros and cons, whens and whys, etc. A lot of the information I'm reading/watching is coming from ...
0
votes
0answers
247 views

Interoperability, logic between microservices

I have a question about interoperability and communication between microservices. Let's say we have two microservices. First microservice calculates travel times of some routes. Second microservices ...
0
votes
2answers
350 views

Microservices architecture boundaries

I would like to implement gambling website with the following possibilities: as a player I would like to get list of games As a player I would like to like games As a player I would like to see ...
-1
votes
1answer
643 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
1answer
71 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 ...
23
votes
4answers
3k 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: ...
3
votes
2answers
683 views

Microservices with OOP and Functional Programming [closed]

After reading and using different concepts(right or wrong) questions related to modularity have appeared. I want to implement the microservice architecture in my projects the right way. As from ...
8
votes
3answers
4k views

Microservices without data duplication

I’m finding it hard to avoid data duplication or a shared database for even the simplest microservices design, which makes me think I’m missing something. Here’s a basic example of the problem I’m ...
0
votes
0answers
94 views

How do I not lose the “reactive” nature of my services, simply because one of the services isn't reactive?

I've lately been very interested in reactive microservice design with streaming and event-driven architectures. When one writes (i.e., manages) services, this paradigm works extremely well by simply ...
-3
votes
1answer
126 views

Microservices architecture for survey

Is a microservices architecture a good approach for developing a survey application with the following features: survey creation online or offline data collecting Reporting
1
vote
0answers
368 views

Create account flow in microservices architecture with different services for account and auth

I'm developing an application based on microservices architecture. Currently my goal is to implement 'Create user' flow. But I'm not sure quite sure what is the right way to do it. My problem is as ...
0
votes
0answers
64 views

How do you integrate microservices that are distributed across domains and platforms?

Modern webapps have multiple microservices that may be on multiple domains (e.g. subdomains) and providers (e.g. both AWS and Google Cloud; or Google Container Engine Google App Engine within the ...
0
votes
3answers
176 views

Root Cause Analysis in Microservices Environment

This question is a result of an internal debate involving R&D, DevOps and Automation departments of the company I work for. Here's the nutshell of the debate: automation: We need SSH access to ...
3
votes
2answers
429 views

CQRS async query from command handler

In a CQRS/async microservices context, I have a command handler e.g. SendOrderConfirmationEmailCommandHandler implemented in a communications service. This depends on information from the orders ...
1
vote
2answers
578 views

Architecture for Queuing based technology in a Micro-Service, Multi-Tenant Environment

Hopefully the title is not painfully obscure, but as it indicates, I'm really looking for advice on my architecture proposal, as the current architecture is subject to concurrency issues, performance ...
1
vote
1answer
175 views

In microservices architecture, is it reasonable that service which emits event also listens to it?

We have a complex app which built by using multiple microservices. At a runtime, one of the microservices emits an event to initialize some maintenance process in another microservices, it's ok. But ...
0
votes
0answers
210 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
128 views

Comparing approaches of mapping data objects

Update: I added some diagrams to help understanding I had a discussion with a colleague about two different approaches in mapping data objects. I'd like to get your opinion on pros and cons between ...
6
votes
1answer
2k views

Microservice Architecture - using Auth Server as a User Resource server

I'm designing an application based on microservices architecture, In this application I will need Auth microservice, Also I will need to store some extra User information such as, perhaps, multiple ...
0
votes
1answer
209 views

Architecture / Structure / Design of 1 Microservice

To start off I'm familiar with what microservices are, how they communicate with each other, the general flow etc. Now, I'm used on working with standard 3 Layer application for my backends( API - BL ...
-1
votes
1answer
250 views

Calculation Microservice

i'm new to the whole Microservice architecture so pardon my unstructured questions: Context: The business needs customers to be able to select commodities, calculate the cost of these commodities ...
16
votes
3answers
5k views

Ways to share DTO across microservices?

My scenario is as follows. I am designing a system designed to receive data from various types of sensors, and convert and then persist it to be used by various front-end and analytics services later....
6
votes
5answers
372 views

Message validation in async messaging-based services

I'm looking for information on the best approach to message validation in asynchronous-messaging-based services (i.e. services that pull messages from some sort of message queue or broker, rather than ...
2
votes
3answers
775 views

Who owns the Orders in a consumer-provider marketplace like platform?

We are developing an application where providers can offer their products and consumers can buy them (sort of marketplace). We try to apply DDD concepts into our model design and the implementation ...
4
votes
1answer
272 views

Routing all SQL queries through a single micro-service

I currently have a website, made of about 20 micro-services and a (still too large) main monolithic web application. The monolith and multiple micro-services each run queries to the same database, ...
0
votes
2answers
87 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 ...
3
votes
1answer
757 views

Managing Database Access for MicroServices

We currently have a work stream where we are splitting out a Monolith into microservices and there has been a debate as to how we will access and persist data. To give you a good idea of how most of ...
2
votes
0answers
47 views

I need a web frontend for managing some data. Should I add it to an existing microservice or create a new one?

I work in a company that uses microservices. We have one particular service (let's call it Cart Service for example purposes) that manages some logic (storing carts, allowing other services to add and ...
4
votes
4answers
495 views

Scoping of Correlation IDs in microservices

We have a microservice that reads in large data files, each row containing information about Accounts. For each record found, it will then go off and do other "stuff" and that stuff is distributed ...
0
votes
1answer
173 views

Microservice depending on another, gracefully handling failure of one of them [duplicate]

We're starting to work on microservices to rebuild our legacy application, piece by piece. We started by building a register module which is responsible for the whole register process. To simplify, ...
0
votes
1answer
81 views

Microservices - External access tokens stored in identity service, calendar service, or both?

I'm creating an application which, so far, has an identity service(using identityserver4), a front end, and a calendar service. The user logs in via third party(say, google) and grants permissions to ...
1
vote
2answers
523 views

Does an event-driven architecture require that each actor owns his data?

We had a discussion over this topic at the work not long ago. We have the following situation: A legacy database which is currently the base for the main operational application in our company. A ...
1
vote
1answer
79 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 ...
0
votes
1answer
243 views

X.509 authentication for microservices with JavaEE [closed]

I am trying to design an app that is based on microservice architecture. Backend is written in JavaEE (micro profile, not Spring Boot), while for front-end I would use Angular5. Now I am wondering ...
6
votes
1answer
593 views

Is mocking microservices a thing?

I'm trying to get my head around a the development workflow for working with microservices and docker multicontainer applications. The thing that I'm particularly trying to solve - is getting a good ...
2
votes
1answer
299 views

CQRS, microservices and delta replication

We have a micro-service that has a Domain Model and have an analytical service for the domain which has its own Query Model. The domain model and the query model are stored in separate persistencies. ...
7
votes
2answers
366 views

Maintaining and documenting API endpoints of many applications in a microservice architecture

I think one of the biggest pain points in working with microservices is making sure that the APIs are well-documented and APIs do not change their behavior without affecting downstream applications. ...
2
votes
2answers
156 views

Does a framework like the Spring Framework fall under the Data Centric Architecture?

With all the talk of Microservices with Domain Driven Design, I have been looking at two architectures, the Database-Centric Architecture and the Domain-Centric Architecture (Not to be confused with ...
1
vote
1answer
103 views

Microservice Communication: Enforce RPC?

I have the opinion that each method in a service should only do one small step of a larger task, delegate a result to the successive step/method and terminate. No matter if this next method lives in ...
3
votes
1answer
286 views

microservices methods granularity

I'm building an Mvc application with microservices that retrieve information from the database. I have a question related the microservices. I want an entity from database with some property in a ...
2
votes
0answers
299 views

Distributed transactions and recovery with stateless microservices

I suppose I have the following use case: I want a synchronous service if possible (in case of machine crash I want to finish it in background, by some other node) I want to save something in my ...
6
votes
2answers
2k views

Handling error messages from others services in Micro Service Architecture

Our company runs applications on a Micro Service architecture that includes thousands of services. I am working on a backend application "X" that talks to 50+ services. Frontend services call my ...
0
votes
2answers
891 views

Should I duplicate model and database of master data across services in microservice

We are a fintech startup that trying to re-build monolith php to microservice. As typical web app, we use to manage master data in admin page. How do i distribute this master data through microservice?...
3
votes
1answer
358 views

What can be the design of a distributed high available trade exchange?

I am working on design of a financial xchange system and especially the order-matching part. I couldn't find a clear/complete design article especially for scalable/high available order-maching ...
3
votes
1answer
214 views

Disintegrating monolithic application with Micro services vs ESB approach?

I have only theoretical knowledge about ESB. Use case:- I have ecommerce like application where I can receive orders from multiple sources in different formats . Once application is submitted I ...
3
votes
1answer
262 views

Miroservices default value for Fallback scenarios

Default values are often suggested to be part of failover mechanism for microservices. At a high level, for any services (say microservices here) the nature of the operation can be broadly classified ...
4
votes
2answers
612 views

Which is the best option to exchange large amount of data in a micro-service architecture?

Application I am working on requires text contents to be extracted from various proprietary document formats like Microsoft word documents (doc, ppt, xls ), pdf and etc. I am planning to implement a ...
1
vote
1answer
250 views

Responsibility of message template for OTP microservice

We want to design a solution for generation and validation of OTP(One Time Password) process. We decided to create OTP process as a separate micro service. Since OTP need to be communicated to users ...