Questions tagged [service-discovery]

Network protocols which allow automatic detection of devices and services offered by these devices on a computer network.

Service discovery protocols are network protocols which allow automatic detection of devices and services offered by these devices on a computer network. Service discovery requires a common language to allow software agents to make use of one another's services without the need for continuous user intervention.

Source: http://en.wikipedia.org/wiki/Service_discovery

618 questions
2
votes
2 answers

Docker DNS for Service Discovery to resolve Windows Container´s address by name does not work consistently

Working with Docker Windows Containers I want to go beyond only one Docker container running a App. As described in the Microsoft docs under the headline "Docker Compose and Service Discovery": Built in to Docker is Service Discovery, which handles…
jonashackt
  • 12,022
  • 5
  • 67
  • 124
2
votes
4 answers

Does Service Discovery microservice break idea of loose coupling?

As a mechanism to connect microservices together and make them work it is usually suggested to use APIs and Service Discovery. But they usually work as their own microservices, but these ones should apparently be "hard-coded" into others, as every…
RomaValcer
  • 2,786
  • 4
  • 19
  • 29
2
votes
1 answer

Eureka Ribbon LoadBalancer Cache update delay

I am setting up a micro service based application, where Aggregation layer / API gateway makes calls to micro services. Eureka is used for service discovery and Ribbon for providing a load balancing RestTemplate. Postman calls Aggregation-->…
2
votes
0 answers

Overriding a service found through Java discovery mechanism

Situation: we use a library that provides implementation of some Java interface and makes it available through standard Java service discovery mechanism. I.e. in its JAR there is a file META-INF/services/foo.bar.InterfaceFoo with text…
user319799
2
votes
1 answer

How does client side load balancer like ribbon works?

I am trying to understand out how client side load balancing works. So far I have been able to understand following. There is no centralized load balancer. Load balancer now resides with the service itself. These load balancers know about all of…
naveen
  • 1,016
  • 1
  • 9
  • 22
2
votes
2 answers

Akka Siblings Recursive ActorRef requirement

Allow me to abstract the problem I quite often face with actors, and what the common design pattern to solve it. Suppose I have the following actor hierarchy: ── user └── ServiceActor ├── TicketManager │   ├── WorkerA │  …
Ra41P
  • 744
  • 1
  • 9
  • 18
2
votes
3 answers

How to connect local java service to remote kubernetes services

I am working as DevOps engineer on Kubernetes and spring cloud micro-services. The problem I am asking about is if I have a development environment that runs some micro-services on kubernetes cluster (micro-services can interconnect each other using…
mootez
  • 334
  • 1
  • 7
  • 23
2
votes
1 answer

Pair autoscaled app & db servers together with consul

Currently, I have two GCE auto-scaled groups of servers, bootstrapped by the chef. 1st - redis servers (db), 2nd - java servers (app). Any app server can talk to any db server. Every db need to be served by app server, and there should be no…
d.ansimov
  • 2,131
  • 2
  • 31
  • 54
2
votes
1 answer

How can pods within a kubernetes replica set discover and talk to each other without the kubernetes API?

I have an application that uses raft to elect a leader out of multiple instances. These instances use the gossip protocol, so it just needs to know another instance to discover the rest. I plan to run each instance as a kubernetes pod, with…
F21
  • 32,163
  • 26
  • 99
  • 170
2
votes
1 answer

Skipping BLE service discovery

I am trying to minimize the total connection + write time to a BLE device. The BLE module is develop by a company I work for, so I already know all the services and characteristics of the device. So far, the connection time + service discovery time…
2
votes
0 answers

Service discovery cache update in the case of node failure

I am trying to adopt a service discovery mechanism for my system. I have a bunch of nodes and they will communicate with each other via gRpc. Because in some frameworks like Mesos, a new node is brought up after it fails would possibly has a…
yuefengz
  • 3,338
  • 1
  • 17
  • 24
2
votes
1 answer

Connecting to Kubernetes service from Cloud Compute instance

We are in the process of move all our services over to Docker hosted on Google Container Engine. In the mean time we have have some services in docker and some not. Within Kubernetes services discovery is easy via DNS, but how do I resolve services…
Leon
  • 12,013
  • 5
  • 36
  • 59
2
votes
2 answers

How to enable WCF Service Discovery when using file-less activation?

G'day guys, How do I go about enabling service discovering when using WCF's file-less service activation? With this approach it doesn't seem possible to specify explicit endpoint types or a behaviorConfiguration? My current attempt is as follows but…
Dan Turner
  • 2,233
  • 18
  • 19
2
votes
2 answers

Get All Active Service Instances on Service Start

I'm creating a stateless service inside Azure Service Fabric. However, once service starts (or on start of custom communication listener) I need to get addresses of all other instances/partitions of that service. I'm doing so by creating new…
Bartosz Sypytkowski
  • 7,463
  • 19
  • 36
2
votes
1 answer

Is there a curl command to do an inline hosts file replacement for that command?

I'm testing a service-discovery tool, and I'd like to test dns entries that will point to it before I set them up. Ordinarily I'd do that by: adding them to the hosts file, running the curl command, and then removing them from the hosts file.…
hawkeye
  • 34,745
  • 30
  • 150
  • 304