Skip to content

architectural guidance #88

Answered by jeswr
giacomociti asked this question in Q&A
Jun 5, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

PVM as suggested #2 (I tried and got excellent performance with the native Eye but I'm not sure if this is possible with eye-js)

eye-js is already using a pvm to start-up. All you would need to do is use functions like https://github.com/eyereasoner/eye-js/blob/b135f42f61f47673529f875bacd57ea48d8d23dc/lib/transformers.ts#L24-L38 and switch out the EYE_PVM const for the contents of the pvm that you generate. Happy to talk you through this in more detail if you go down that road.

Another aspect is scalability: I haven't tried it yet but I'm afraid instantiating a new module for each request is not scalable (especially if each module includes a considerable amount of data).

Rest assured …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@josd
Comment options

josd Jun 5, 2023
Maintainer

Answer selected by josd
Comment options

You must be logged in to vote
1 reply
@jeswr
Comment options

jeswr Jun 8, 2023
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants