nuxeo/nuxeo-js-client

Parallel requests

Opened this issue · 0 comments

Hi,

I am trying to connect with my nodeJS application to Nuxeo with the help of this library.
I am receiving several requests from an external system and I am trying to access Nuxeo. As I am receiving multiple requests simultaneously, I am sending multiple requests with the same connection to Nuxeo at the same time.

It seems, that this is not possible as I am receiving strange results.
I've now created a new connection for each request. This is approach is working, but is much slower.
It seems that the lib is not stateless. Is there a better way to achieve my goal?