Questions tagged [microservices]

If a question is related to microservices, then this tag could be used.

58 questions
10
votes
3 answers

How can I ensure consistency between new microservices?

My organisation is experiencing an explosion of microservices. We currently have no formalised way of bootstrapping new projects. I'm finding that a team will come to me with a bug in their deployment or build process, and I will spend time on it…
user2640621
  • 1,405
  • 9
  • 20
9
votes
3 answers

How to deploy multiple dependent micro services

We want to deploy multiple microservices on AWS ECS. The issue that we need to solve is how to deploy them in an atomic way: Let says we have the front-end services which requires the user service version 2.0. How to make sure the user service is…
Kaymaz
  • 355
  • 2
  • 8
8
votes
3 answers

How to test a cluster of microservices?

I took a look into Server Spec and it says it clearly: Remark: serverspec test suites are meant to be run against a single machine (or docker container). In other words, you should not try to issue a single rspec command that would harvest and…
nicocesar
  • 197
  • 5
8
votes
1 answer

Ansible playbook for configuring runit to supervise an uberjar?

We are using Ansible 1.9 for deploying Spring Boot microservices. We are using CentOS 6 and the services are packaged as rpms. We intend to configure the executable jar files to be supervised by runit, instead of SysVinit or Upstart. Is it…
ᴳᵁᴵᴰᴼ
  • 1,173
  • 10
  • 22
7
votes
2 answers

Is this an appropriate architecture, or can improvements be made?

Due to a combination of business/enterprise requirements and our architect's preferences we have arrived at a particular architecture that seems a bit off to me, but I have very limited architectural knowledge and even less cloud knowledge, so I…
7
votes
3 answers

When your micro service in production needs a secret, where is the secret stored and retrieved from?

The context of the question is Secrets management. How do you manage storing and retrieving secrets for your micro service which is in production?
7
votes
1 answer

CI/CD for microservices in monorepo on Gitlab

I'm working on a project that consists of several different services in different languages (a React webapp, a Scala backend, some Python stuff etc). I currently have each of these services in separate repositories on Github, and build them…
7
votes
2 answers

How do you monitor Node Micro services running inside of Docker Containers?

This article about "How healthy is your Dockerized application?" explains the trouble with monitoring, but it doesn't provide any good examples of how to actually monitor a microservice inside of the docker container. We are currently using PM2…
avi
  • 1,279
  • 1
  • 13
  • 32
6
votes
4 answers

Is there an equivilent of a Kubernetes ingress for Docker Compose?

I'm more of a software developer than a networking/ops person to give you some context. I'm currently creating an application that is a standard containerised microservices architecture, where my frontend is some static assets in an nginx…
dwjohnston
  • 231
  • 3
  • 11
6
votes
2 answers

What is a "mesh"?

In this context and cloud computing, I read about "service mesh" and/or "serverless mesh" but I don't fully understand what it is. Can you explain?
6
votes
2 answers

How to visualize dynamic microservice architecture running with Consul?

Using Consul, you could allow your teams decentrally deploy and run microservices with dynamic dependencies. It is also possible to list the services: /catalog/service/:service Now, how to assess these dependencies automatically if the architecture…
Ta Mu
  • 6,792
  • 5
  • 43
  • 83
5
votes
2 answers

How to add rules to Kubernetes NGINX Ingress controller from different yml definitions?

I'm trying to implement a Kubernetes cluster with a fanout pattern using an NGINX Ingress which routes traffic on multiple different hosts and paths to different microservices. The code for each microservice is hosted in their own Git repo,…
hofnarwillie
  • 151
  • 1
  • 2
4
votes
1 answer

Microservices terminology i.e. distinguishing between "core " and "other service instances"

In a standard cloud based microservice application, there could be two main categories of microservices: core services such as service registry & discovery, api-gateway, load-balancer etc. service instances e.g customers, billing and postage…
SyCode
  • 270
  • 1
  • 9
4
votes
1 answer

Teaching an old dog new tricks: Finally adopting the micro-service architecture

Is it too late to teach an old dog a new trick? I've always been the guy with a monolithic application/codebase. For more than 10 years now, I've gotten good at caching, writing good SQL queries, using Redis to store frequently called read data,…
3
votes
1 answer

How to have Ansible move a microservice?

I am working with a microservices application that is using Ansible to deploy to a fleet of VMs. We have different numbers of replicas of each microservice type running across the VM fleet. Deployments are working fine using a single deploy…
simbo1905
  • 1,172
  • 5
  • 14
1
2 3 4