Ask HN: Building a microserivce at home, what tech stack?

2 points by rory_isAdonk ↗ HN
What essential technologies should i bake in?

Data migration? Log aggregation?

I've worked in the industry for years but have never worked on every piece of a "production" microservice, i thought making one at home would be a good way.

Thanks.

2 comments

[ 2.8 ms ] story [ 15.9 ms ] thread
It really depends on your specific requirements. For my home automation stack all I use is mosquitto MQTT and some RESTful services. The rest is various programs and scripts that all work with either MQTT or REST or both. I simply use JSON for payloads that way things remain simple.

As for logging, syslog meets all my needs. BTW, I log some MQTT events to syslog using a script with several wildcard subscribes.

Data migrations, only ad-hoc, mostly one-shot, so its just basic scripts that get the job done.

Thanks for replying GlanFabien.

Trying to mirror what you'd see in a production system but on a home/non-cloud rig.