Comments (3)
Hello @peterfebin
Yes, as far as this repository is concerned, the two services behave as independent services which communicate with each other through the APIs.
Now regarding your question how to make the services accessible from a single port, what you can implement is an API Gateway, which listens to the requests on a single port and forward the incoming requests to the individual services(running on their respective ports)
For this API Gateway to work, it should know, where your individual services are running and which protocol they talk.
There was an recent effort I put together https://github.com/microreg which aims to build an API Gateway and a service registry through which a user can communicate with all the Microservices through a single point of reference.
Some of the articles which you may find useful for your use case:
http://microservices.io/patterns/apigateway.html
https://smartbear.com/learn/api-design/api-gateways-in-microservices/
from todo.
Great! Thanks @h4xr .
from todo.
Thank you so much @h4xr . I was looking for a simple explanation on Microservices using Python and your code has helped me understand that.
from todo.
Related Issues (2)
- Issue running the run.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from todo.