ldnclj

Find us on #clojure-uk
mccraigmccraig 2015-07-31T08:23:48.000194Z

månyng

agile_geek 2015-07-31T08:56:11.000195Z

Bore da

pupeno 2015-07-31T09:55:52.000196Z

Good morning.

mccraigmccraig 2015-07-31T12:26:12.000198Z

awesome : elasticsearch, cassandra and kafka all have actively maintained mesos frameworks now :simple_smile:

tcrayford 2015-07-31T12:27:33.000199Z

#rip sweet riak

tcrayford 2015-07-31T12:27:50.000200Z

@mccraigmccraig: guessing that means zookeeper does as well right? kafka needs an zk…

mccraigmccraig 2015-07-31T12:28:41.000201Z

@tcrayford: if you are running mesos, you already have a zk... i've used the same zk for kafka as for mesos

tcrayford 2015-07-31T12:29:15.000202Z

seems real weird to me 😉

tcrayford 2015-07-31T12:29:29.000203Z

(I don't use mesos, just sorta keep an eye on it from time to time)

mccraigmccraig 2015-07-31T12:29:36.000204Z

weird how ?

tcrayford 2015-07-31T12:29:58.000205Z

like "we're running everything on mesos" "except for one dependency of a thing we run on mesos"

tcrayford 2015-07-31T12:30:13.000206Z

I mean, kafka doesn't do a lot of zk traffic, so it's maybe ok 😉

tcrayford 2015-07-31T12:30:41.000207Z

just seems like an odd thing, esp if you model it as the ideal future: "AWS provides me mesos"

mccraigmccraig 2015-07-31T12:34:31.000208Z

zk is a mesos dependency, so unless that changes there is always going to be one around... but if the mesos-zk was hidden from the deployed containers (by AWS or whatever) then you could run another zk inside mesos... i haven't tried this, but given zk's requirement for persistence, a framework might well be needed

tcrayford 2015-07-31T12:35:00.000209Z

yeah, makes sense :simple_smile:

jamiei 2015-07-31T16:32:27.000210Z

mccraigmccraig: What sort of scale is your mesos usage (if you don't mind me asking)

jamiei 2015-07-31T16:32:47.000211Z

Been keeping an eye on, but have refrained from any prod use thus far

mccraigmccraig 2015-07-31T16:43:52.000212Z

jamiei: we've got an AWS cluster with 3 t2.small masters and 3 m3.large slaves. we're using marathon and chronos for running most of the application instances, while storage is elasticsearch, which is running on the cluster but not managed by mesos, and postgresql via RDS

mccraigmccraig 2015-07-31T16:45:48.000213Z

so a small cluster, but with enough components and services that it was worth using mesos+marathon

mccraigmccraig 2015-07-31T16:47:01.000214Z

a while back we only had 2 slaves... adding a 3rd was as trivial as you might hope (just run the pallet converge to create the new instance, then let marathon do the rest)

mccraigmccraig 2015-07-31T16:47:41.000215Z

shrinking a cluster is perhaps not so simple... not tried it yet

mccraigmccraig 2015-07-31T16:51:11.000216Z

jamiei: if you want to play, i use this to deploy a cluster : https://github.com/trampoline/clustermap-mesos/

mccraigmccraig 2015-07-31T16:52:37.000218Z

to upgrade i just migrate to a new cluster, which is much less scary than trying to do it in-place

mccraigmccraig 2015-07-31T21:23:32.000219Z

@malcolmsparks: i'm using buddy JWS token auth with a yada app... finding that i need to set custom headers {"Access-Control-Allow-Headers" "Authorization"} on resources for CORS requests... is that expected ?