Questions tagged [microservices]

An architectural approach to developing a single application as a suite of small individually deployable services.

The microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare mininum of centralized management of these services, which may be written in different programming languages and use different data storage technologies.

Microservices Definition by Lewis/Fowler

Properties:

  • The services are easy to replace.
  • Services are organized around capabilities, e.g. user interface front-end, recommendation, logistics, billing, etc.
  • Services can be implemented using different programming languages, databases, hardware and software environment, depending on what fits best.
  • Architectures are symmetrical rather than hierarchical (producer/consumer).

Philosophy:

  • The services are small - fine-grained to perform a single function.
  • The organization culture should embrace automation of deployment and
    testing. This eases the burden on management and operations.
  • The culture and design principles should embrace failure and faults, similar to anti-fragile systems.
  • The services are elastic, resilient, composable, minimal, and complete.

Books:

Besides there are thousands of books that speak about microservices focused on some language like Python or Java or some platforms like Azure or AWS easily to find.

Articles

The following is an great article series from the NGINX Blog.

Sites

9062 questions
3
votes
2 answers

jhipster 3 Migrate from monolithic to microservices

Currently I've a JHipster 3.3 monolithic application and I would like to migrate to microservices architecture. I've already created the registry, the gateway and the uaa service. Now I need to migrate the core business of my application into a…
ValerioZ
  • 31
  • 3
3
votes
1 answer

SOA versus NuGet Packages

I'm interested in a services-based architecture, loosely based on the concept of microservices. Our management is of the view that this is in place, as we are building Nuget Packages. I feel there is a different, but can't quite articulate... What…
SJDoodle
  • 351
  • 3
  • 11
3
votes
0 answers

Combining/Integrating Swagger & Slate with Spring Microservices

I have a set of dockerized microservices (spring boot with jersey application) deployed on EC2 instances. Each service exposes rest apis which i need to create a spec for. As a first step, i have included swagger-core in all the spring boot apps…
Bharath
  • 1,787
  • 1
  • 20
  • 37
3
votes
1 answer

Multiple FabricTransportServiceRemotingListeners in a Single Service

I'd like to be able to expose multiple FabricTransportServiceRemotingListeners from a single Stateless service inside my cluster. I've attempted to register the listeners as follows: protected override IEnumerable
Jesse Carter
  • 20,062
  • 7
  • 64
  • 101
3
votes
1 answer

Database design for microservices

I am building a back end for a web application which will be based on microservices architecture. Each microservice will be responsible for managing tasks related to a specific module only and will have its own local database.There can be more than…
3
votes
2 answers

Deploy Service Fabric Application through VSTS release pipeline using Hosted Agent

I have set up continuous integration using Hosted Agent for service fabric by following this document https://azure.microsoft.com/en-us/documentation/articles/service-fabric-set-up-continuous-integration/ In Release pipeline after importing…
3
votes
1 answer

How to implement security for my Microservices with Spring?

We have one monolithic application having more than 10 services like user management, fleet booking, feedback and etc developed on spring rest. We want to migrate to Microservices(Spring Boot + Cloud + Netflix OSS). Below are my questions : How can…
3
votes
2 answers

How to create a Transaction 'Wrapper' for multiple Services?

Currently, I'm working on a project that using MicroServices as the main concept. For a clearer picture, I'll give you the example: I got Service A that has its own model and controller. Basically, Service A only contains basic CRUD operations for…
Webster
  • 1,113
  • 2
  • 19
  • 39
3
votes
4 answers

Connect "MicroService Gateway" with "UAA Server" Jhipster 3.5.0

I created a UAA Server: ? (1/16) Which *type* of application would you like to create? [BETA] JHipster UAA server (for microservice OAuth2 authentication) And I created a Microservicio Gateway: ? (1/16) Which *type* of application would you like to…
Jose
  • 1,779
  • 4
  • 26
  • 50
3
votes
1 answer

Adding dependencies to microservices

I have built few microservices that consume a number of external services. Few of these external services are consumed by more than 1 microservice that I have built. I have built the connectors to these microservices as a library project and have…
Punter Vicky
  • 15,954
  • 56
  • 188
  • 315
3
votes
3 answers

Migrate from monolith to Micro service architecture

We are on the initial stages of designing a micro service for my client from their standard monolith app that is sitting on 4 JBOSS servers in their own data center. Is micro service architecture target at only cloud based deployment? Can i deploy a…
Amit
  • 47
  • 3
3
votes
1 answer

How to maintain repositories into a single repository

I have a repository for each micro-services ('A', 'B', ..). The structure of a repository looks like : A |-dockerfile |-src |-Java |-Groovy Since all of these repositories belongs to a project called 'WholeProject', I want to maintain a…
DouglasAdams
  • 490
  • 7
  • 19
3
votes
2 answers

Multiple microservices and database associations

I have a question concerning microservices and databases. I am developing an application: a user sees a list of countries and can click through it so he can see a list of attractions of that country. I created a country-service, auth-service…
Jdruwe
  • 3,450
  • 6
  • 36
  • 57
3
votes
2 answers

How To Delay Observable emission in RxJava

We have Micro services architecture, where we make inter-service calls over a network. We are using RxJava in top level service, which is resulting in creation of large no of parallel requests to bottom service. Because of this i am getting "No…
3
votes
1 answer

Run Google App Engine application with microservice

I have a one big monolith application, and now its time to separate some modules to micro services! I read a lot about pub/sub and microservices in Google docs, but can't find answers to my questions: How app.yaml file looks like for my…