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?

tripleee
  • 175,061
  • 34
  • 275
  • 318
SexyMF
  • 10,657
  • 33
  • 102
  • 206

0 Answers0