moleculerjs / moleculer-agent

:vertical_traffic_light: [PoC] Agent to control your Moleculer nodes remotely
MIT License
4 stars 3 forks source link

Brainstorming #2

Open icebob opened 6 years ago

icebob commented 6 years ago

What do you think about this Agent & Agent Manager modules?

kevyworks commented 5 years ago

Hi @icebob,

I am exactly in a situation that needs a monorepo, I am very concern on the multiple node_modules installation per service repo. If I understand this package correctly, using this we can somehow arrange our nodes then a simple node_modules?

like this?

    node_modules/
    nodes/
        pos/services/
        hr/services/
    index.js
    .env

Seems a very good module for moleculerjs and should be I think in core? nevertheless it's been a long time that this module hasn't updated, does this mean that you made another and a better approach for monorepo style? I am not a fan of using Docker, and basically this can be use already, but have you tried this in live or beta test somehow? Did this fail that is why it's like not updated for a while?

My test project is like a server for a Point Of Sale, where it serves its services through "moleculer-web", e.g. products.service.js (which uses: moleculer-db and *-sequelize-adapter), another rest like is customers.service.js (which is similar to products dependencies), etc. and with another maybe similar dependencies but totally separated set of services in 1 server, like e.g. HumanResource, which again has employees.service.js, leaves.services.js, etc.. I would really wish you to revisited on this module incase.

kevyworks commented 5 years ago

I tested it and, I really hope that does function maybe added to $node. Nice stuff!

icebob commented 5 years ago

Hi @kevmt it was just a proof-of-concept project. Currently, I don't use it but I think, it can be a useful solution, so maybe I will make it production-ready in the future.