edhenry / chexnet

Implementation and fullstack pipeline for CheXNet classifier
MIT License
13 stars 12 forks source link

Extend Flask Webapp to support list of Kafka brokers instead of a single Kafka broker #5

Closed edhenry closed 5 years ago

edhenry commented 5 years ago

Currently the simple flask webapp only supports a 1:1 mapping of Kafka brokers to publish images that are uploaded. Given Kafka's distributed architecture it would make sense to allow a checking multiple possible Kafka brokers to publish messages to.

Currently webapp settings are defined in a simple .ini file found here : https://github.com/edhenry/chexnet/blob/develop/webapp/webapp_settings.ini

And the webapp imports those configurations here : https://github.com/edhenry/chexnet/blob/065d77f2d66479d17bd7f7b63dccb908ff0f7fc2/webapp/app.py#L23

Extending this logic would allow for fault tolerance for a given instance of the webapp.

edhenry commented 5 years ago

Flask has been removed as a dependency and UI for this project. Closing issue accordingly.