Giter VIP home page Giter VIP logo

Comments (3)

h4xr avatar h4xr commented on August 16, 2024

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.

peterfebin avatar peterfebin commented on August 16, 2024

Great! Thanks @h4xr .

from todo.

peterfebin avatar peterfebin commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.