flightstats / hub

fault tolerant, highly available service for data storage and distribution
http://www.flightstats.com
MIT License
103 stars 35 forks source link

Stop hub configuring dynamo in lifecycle init #1181

Closed dkleckler closed 5 years ago

dkleckler commented 5 years ago

TBH, I don't really like that we have "services" that run once on startup and never do anything else.

lkemmerer commented 5 years ago

TBH, I don't really like that we have "services" that run once on startup and never do anything else.

It'd be nice to have a place to put validations (like this and that we have valid config files, and that we can talk to ZK, etc) that we run before we try to start up services. If you have a pattern in mind for that, feel free to create a ticket outlining what you think. Otherwise maybe I'll add a ticket that may someday be worked on.