dockersamples/example-voting-app

Clarify benefit of current architecture vs simpler architecture

schollii opened this issue · 5 comments

Description

It is not apparent why the redis and Worker container are needed. Seems like having the Python app directly put votes in the DB would be sufficient. Is it just to make the example a little more complex / interesting or am I missing something? The README should explain.

It's just to make the example more useful. Queues, persistent data, etc. This isn't an example of a properly architected perfectly designed distributed app... it's just a simple example of the various types of pieces and languages you might see, and how to deal with them in Docker at a basic level.

Can I submit a PR that puts that in the readme?

sure

Submitted #191. I hope you'll excuse my use of some of your explanation.

Closed due to merging of #191