Answer the question
In order to leave comments, you need to log in
How to implement multi-agent architecture in node.js?
Hello!
There is a small question of how it is possible to implement such an architecture for an example:
1. Core
2. Ads
3. Personal account
All three points are different node.js processes and hang on different ports, Our core hangs at 80 and acts as a router and implements a small functionality like authorization, registration, page.
So if we follow the url www.site.ru/adverts/ then our request must go through the core and get into the Ads service.
All user data is stored in the database as a session.
How can req be redirected?
What got me interested in such an architecture, complete independence of layers + more convenient support, etc.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question