Micro Services# Jul 18, 2021 by Tony "Sgt. Flame" Richards
I’m making pretty good progress with my services implementation, and I’ve learned a lot of nifty things looking at the
micro code, but I’m starting to think it might not be all that I thought it could be at first.
Don’t get me wrong, it’s a nice piece of work… but mostly I think it’s just a great example, not something to use directly.
mDNS Service Registry
I’ve completed my mDNS based service registry, which I think is awesome. I always hated having to configure services, and most of the time I could get away with not configuring anything, but there was always that one nagging configuration item: you always needed to know where the service registry was located (ip/port). With mDNS, that goes away.
While looking through the
micro code base, I discovered an interesting service bus called
NATS. It’s actually more than a service bus. It’s a complete software defined messaging topology, including messages, store and forward, pub/sub, and req/reply with a significant number of configuration options… configurable on a channel or
topic basis, which I think is awesome.
Go library that
micro introduced to me is
BBolt, which is the key/value store behind
etcd. I really like it a lot, and I am considering using it as my local no-sql data store.
– Sgt. Flame