a Golang app(microservice)? Configuration should be able to change on the fly and with no restart/reload. Also, should be centralized because multiple services read from it.
Thanks
Database?
not scalable, not performant enough in my case. Also, we may have multiple config sources, not one
Redis, used as config centralizer. And a func that checks every 10 sec or more that config and update it if necessary. Store objects, get object
I was thinking of redis but we also need some panel to manage keys and values
Oh! New thing to check Thanks
Use consul
etcd
We use Apollo in a production environment
Better choice if you need versioning We use tables in Postgres with triggers
btcusd
Обсуждают сегодня