Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How could these services be decoupled? #14

Open
luisliz opened this issue Oct 25, 2020 · 0 comments
Open

How could these services be decoupled? #14

luisliz opened this issue Oct 25, 2020 · 0 comments

Comments

@luisliz
Copy link

luisliz commented Oct 25, 2020

I'm reading the code and it seems like the init.py file is the one that initializes all the microservices and that makes sense except that it doesn't seem like all the services are independent. I'm guessing that in production an init file would be created for each service and then kafka would be the one that takes care of the communication between them?

The other part of this that confuses me is if each one is started individually then how would a request be routed assuming they're all going to the same port? or would a different port be assigned to each service and requested accordingly in the client?

Or is there some magic happening that only the init file is used and then it scales them accordingly (really doubt this part)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant