Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Replace shell API with NodeJS api? #6

@taylordowns2000

Description

@taylordowns2000

@stuartc , i'm interested in your thoughts on this (https://github.com/revelrylabs/elixir-nodejs) for use in dispatcher: NodeJS.call(module, args \\ [], opts \\ [])

Options
:name - (optional) The name used for supervisor registration. Defaults to Elixir.NodeJS.Supervisor.
:path - (required) The path to your Node.js code's root directory.
:pool_size - (optional) The number of workers. Defaults to 4.

I wonder if we could save on the CPU and memory usage by having each microservice manage its own pool of NodeJS workers. If core will be available both with and without the CLI, does this make more sense going forward?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions