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.

learn more… | top users | synonyms

0
votes
2answers
46 views

Microservice Database Per Service Pattern

I'm trying to understand the database per service pattern in microservices architecture. Say we have a restaurant reservation application composed of the following microservices: User Search ...
1
vote
1answer
58 views

What is a set of robust deployment/installation techniques for service-oriented design?

I can't for the life of me find any reasonable guides or recommendations on how to properly install or deploy applications made of multiple processes. Some considerations: Multiple machines Multiple ...
1
vote
2answers
210 views

How to manage dependencies for microservices?

We are in the process of slowly splitting out a monolithic application to smaller services and one of the debates we are having is how to manage dependencies. The challenge we have is that service A ...
1
vote
1answer
80 views

Decoupling microservices with gRPC

I'm setting up a microservices architecture, and am confused about how gRPC can loosely-couple services (compared to a pub-sub message service like Kafka). Doesn't the request go directly to the ...
0
votes
0answers
30 views

How To Design The Layers in Azure Service Fabric

I have been assigned to think of a layered microservices architecture for Azure Service Fabric. But my experience mostly been on monolithic architectures I can't come up with a specific solution. ...
9
votes
3answers
338 views

In a loosely coupled microservices architecture, how do you keep track of your dependencies?

A popular high level architecture choice in modern program is a REST-based microservices system. This has several advantages such as loose coupling, easy re-use, limited restriction on technologies ...
1
vote
1answer
111 views

Is it a microservice if the services pull data from the same database/file storage?

My company wants to do microservices and has created an outline of their plan (see below) (focused on dealing with files). I am not sure this is really microservices since I thought each microservice ...
1
vote
2answers
126 views

Microservices, browsers and HTTP requests

In the old days we used to create a single .gif file for the entire application to avoid too many trips from the browser to the server. Similarly, we used to combine different types of information in ...
2
votes
4answers
214 views

Reports in microservice architecture

SITUATION Let's assume we want to generate an excel report with the data from microservice A and present it in microservice B. We can obtain the data with some scheduled task or so. POSSIBLE ...
4
votes
1answer
111 views

Is it a good idea to manage a group of repo microservices as submodules of a master repo?

At the moment of writing I have let's say 4 micro services interoperating in order to build a bigger system. Every microservice has its own repo. What I'm thinking is that it would be useful to have ...
0
votes
2answers
116 views

Microservice at a frontend level

I m a software developer, and the kind of developer we call "front end developper". I m working on stuff like Angular, React, Vuejs and many others. This way, I wanted to know how we can organize our ...
1
vote
2answers
81 views

Is it bad design to share a class between an agent in a system and a frontend website

I have a complex system which I have done a pretty good job at separating concerns with microservices. All data is passed around through queues, and the result of the system are messages to update a ...
4
votes
6answers
427 views

Should services talk directly to each other in a microservice architecture?

I have a number of web services that form a web application. Clients can access these services through REST APIs calls. Should these services be able to talk directly to each other? If so wouldn't ...
1
vote
3answers
209 views

Durable messaging over HTTP

I need to send messages from a Windows Service to a Azure Service Fabric Stateful service. The network connection is not very reliable, and there must not be lost data. I was hoping I could use ...
92
votes
5answers
9k views

How does shifting to microservices create a run-time problem?

The following commentator writes: Microservices shift your organizational dysfunction from a compile time problem to a run time problem. This commentator expands on the issue saying: Feature ...
18
votes
3answers
694 views

What is the difference between Actor model and Microservices?

Both seem like parallel MPI communicating network of processes. I identify actors with services. Are actors more dynamic (you can create them and kill as breathing whereas service network is more ...
4
votes
2answers
187 views

Code Design : microservice - Services Losing Single responsibility Principle

I am trying to implement Microservice to understand the architecture and how communication works. Many articles state that Services should follow the Single Reponsibility Principle, but it's kinda ...
4
votes
2answers
134 views

How to decide whether to adopt a micro services approach

TL;DR - What criteria should you use to decide whether to 'do micro services'? I lead a team of developers and one of them insists that we adopt a micro services approach to architecture. I was ...
1
vote
0answers
99 views

Designing large nanoservice architecture with AWS Lambdas

I'm moving from a coupled architecture to a decoupled architecture using microservices with AWS Lambda. Here is my current architecture: Each API Gateway route is linked to a specific Lambda, each ...
7
votes
1answer
166 views

How do you design your software that updates several microservices, if one of them fails?

Is there a design pattern or practice I can use to help with services that are either down or go down, while others are stable? What if I have three microservices, and two of them are good, and one ...
9
votes
2answers
533 views

Sharing DTO objects between microservices

TL;DR - Is it ok to share a POJO library between services? Generally we like to keep the sharing between services strictly limited to none if possible. There has been some debate whether or not the ...
6
votes
1answer
123 views

Handling events and incoming Web API calls simultaneously

I'm working on a project where I got an architecture with multiple "Microservices" communicating with each other by using an event bus (RabbitMQ). I got an Web API-project set up for each service so ...
2
votes
1answer
186 views

Message driven architecture and horizontal scaling

During working on a pet project in microservice event driven architecture, I've faced a problem of delivering responses to a client. Each microservice (API Gateway etc) has many replicas and has it's ...
8
votes
2answers
125 views

Microservices - compensate service failure with queue

We are using some sort of microservices approach in our app (although it is not really consequently adhered to). When a service is down or throwing an exception, the approach is to put it into a ...
5
votes
1answer
155 views

What is a canonical schema in a context of microservices architecture?

A recent question mentioned the term canonical schema in a context of microservices architecture. After reading the Wikipedia article, as well as one of the answers to the question, I still don't ...
8
votes
1answer
165 views

What to do with the “frontend” in a microservices based environment?

We have recently begun to split our monolithic web app up into microservices, slowly slicing functionality off and rewriting into individual microservices. All is going well except we are unsure of ...
0
votes
0answers
75 views

Migrating from monolith to microservices reusing data layer

We are basically in process of moving from monolith system to microservices and we avoided migrating monolith system all at once, or as they call it a "big bang" https://www.nginx.com/blog/...
7
votes
2answers
276 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 ...
6
votes
4answers
240 views

Is there a better way to break Java services down into containers

I'd like to decompose a number of Java REST services (WAR files) into individual container-ised "MicroServices" - so that I can scale services ondemand, insulate the applications, have loose couplings,...
2
votes
1answer
41 views

Aggregated Notification Microservice

The Problem We are currently architecting our new Notification Microservice but having trouble with how to handle aggregated emails. What we need to do is instead of sending one email every action ...
4
votes
1answer
74 views

How to Implement Service Discovery for External Docker Swarm Clients

I have a question regarding a specific case with our product. Let's say I have two services; Service A and Service B. (The number of services varies from an installation to installation). They are ...
6
votes
2answers
141 views

What is a good reason for separating intelligence and dao layers in a microservice?

I am having a long-term debate with my architect about architecture choices. The entreprise where I work in is migrating from a monolithic architecture to a microservices one. The debate is located ...
0
votes
2answers
327 views

Notifications in a microservice architecture: In Application Logic vs. Database Triggers

Context Our group builds and is responsible for maintaining multiple apps for a larger institution. We are in the process of breaking up our monoliths into reusable microservices (hooray!). When we ...
2
votes
1answer
261 views

API Gateway security (for microservice architecture)

we have started with microservices recently, but we have some problems with implementing the Security layer. The idea is that the request comes to Gateway, the Gateway looks to authorization header, ...
6
votes
2answers
269 views

How to scale microservices in DDD world?

I am interested what would be the ideal way to scale Microservices in DDD world? In case of the following scenario, where Sales context is hosted as a microservice on a different host then Support ...
2
votes
2answers
1k 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' ...
7
votes
2answers
555 views

How to consume external RESTful API with Symfony?

We are building a Microservice architecture for our projects, with mostly front-end Symfony applications interacting with back-end RESTful APIs. The problem is this approach is breaking the Symfony ...
0
votes
0answers
18 views

Metrics Collector at Microservices

I am developing an application which is based on microservices architecture with Spring Boot. Beside my application jar I have a dashboard application jar too. I want to show some metrics at both my ...
6
votes
2answers
242 views

Adding microservices to a monolithic architecture?

Does it make sense to add microservices to a monolithic architecture? E.g. if the monolithic system is old and is seen as too big, can it slowly be turned into a microservice based architecture? ...
13
votes
5answers
660 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
146 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
147 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 ...
4
votes
2answers
392 views

Setting up development environment in micro-services architecture

We are moving towards developing a web app in a micro-services architecture. We thought about running the services behind a API gateway that will handle authentication and will proxy the requests to ...
3
votes
1answer
87 views

How to recognize consumers in AMQP architecture

I'm doing an project where I'm using a microservice architecture. All the services within this architecture communicate with each other using an AMQP broker (RabbitMQ). When something happens in a ...
0
votes
0answers
103 views

Two processes in a single docker container or two services connecting to the same db?

I recently started moving a monolithic application to microservices architecture using docker containers. The general idea of the app is: scraping data -> format the data -> save the data to MySQL -...
9
votes
3answers
726 views

How to fit a rules engine in a microservice architecture?

... when it requires lots of input data? Current situation We are implementing (and now maintaining) an online shopping web application in a microservice architecture. One of the requirements is ...
8
votes
4answers
155 views

Handling changes in a event-driven microservice architecture

I'm doing an research-project where I'm researching the options to handle changes in an event-driven microservice architecture. So, let's say we got an application where we got four different ...
3
votes
1answer
245 views

Which approach should I use to split a monolithic application into several microservices?

We have a huge project that desperately needs to be broken apart into multiple databases and applications. I can think of 2 possible approaches to this problem: Use a REST endpoint on each service to ...
1
vote
0answers
76 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 ...
2
votes
1answer
138 views

Advantages and disadvantages of building web app purely with microservices and hybrid with web framework

Definition: Purely microservice: Not using any web framework such as Spring, Laravel, Zend, Django. Web app is a single page app loading data via Ajax calls to web services Hybrid: The web framework ...