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
  • 158,107
  • 27
  • 234
  • 292
SexyMF
  • 9,829
  • 31
  • 94
  • 187

0 Answers0