Fork me on GitHub
#clojure-uk
<
2016-04-23
>
otfrom08:04:16

@mccraigmccraig One of the reasons I want to move to microservices is to allow for language experimentation

mccraigmccraig08:04:26

hmm... that's actually a good reason for microservices

martintrojer08:04:55

@otfrom: how do you answer the question of connecting / discovering all these microservices?

martintrojer08:04:22

eventbus or console/elb/dns

mccraigmccraig09:04:23

atm i connect services with known service-ports and haproxy everywhere configured from the marathon api (which knows where actual service containers are listening)... a more primitive version of https://github.com/mesosphere/marathon-lb/blob/master/README.md ... works pretty well

glenjamin09:04:28

i’ve had decent success with just using config files to say where other services live, and letting chef use searches to “discover” services / load balancer endpoints

otfrom09:04:47

Mesos DNS atm. Though for some things we are using Kafka as an event bus

martintrojer10:04:54

Eventbus on kineses looks good for me.

thomas13:04:55

I suspect that using a event broker (whether it is Kafka or MQTT depends on requirements) is much nicer then using HTTP.

thomas13:04:08

what is a good kafka client to use with Clojure?

otfrom13:04:35

The one from pingles

otfrom13:04:59

Though there is another one now too

otfrom13:04:11

Onyx folks looking at it

thomas13:04:27

ok, just noticed that as well.