0

I have a lot of microservices in my app. All of them are nodejs (typescript).
Recently I had to add a new library that is written in Python.
7 nodejs microservices of my app will need to use it.

How can I run this Python library inside my app? I can expose a REST API in Python and speak with it from nodejs. But this will break the microservice most common principle: every service needs to be totally independent and not be depends on other services.

How can such situation be solved?

2
  • My intuition tells me you misunderstood that principle...And i would like to hear the explanation as well.. Commented Jan 4, 2021 at 8:10
  • Ain't it quite similar to stackoverflow.com/q/15055630/4636715 or am I missing something? Commented Jan 4, 2021 at 8:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.